设置默认网关 第一生效文件 [root@oldboy ~]# grep -i gate /etc/sysconfig/network-scripts/ifcfg-eth0 GATEWAY=192.168.1.1 第二生效文件