1. 程式人生 > >Linux 網絡管理

Linux 網絡管理

ifconfig onf rest etc rip fault baidu efault del

ifconfig eth0 up | down
將IP配置信息寫入配置文件/etc/sysconfig/network-scripts/ifcfg-eth0
service network restart
route add | del default gw 192.168.1.1
route -n
/etc/resolv.conf
ping
host www.baidu.com
traceroute
網卡物理故障 網卡驅動故障 網線故障 水晶頭故障 交換機端口故障
ping 127.0.0.1
ping 同網段其他主機地址
ping 網關IP
ping 公網IP
ping 公網域名

Linux 網絡管理