Network Management
常用网络工具包
net-tools
iproute2
ifconfig
ip
route
ss
netstat
常用网卡命令
查看网卡的物理连接状态
mii-tool eth0
# 查看eth0网卡的网线连接情况
# NAME: view, manipulate media-independent interface status插拔网卡
ifconfig eth0 up
ifconfig eth0 down启动&关闭网卡
查看网卡信息(ip netmask route)
设置ip与子网掩码
常用路由命令
查看网关/路由信息
添加默认网关
删除默认网关
添加明细路由
删除明细路由
Last updated