- root@new [~]# route -n
- Kernel IP routing table
- Destination Gateway Genmask Flags Metric Ref Use Iface
- 178.18.23.200 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
- 178.18.23.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
- 169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
- 176.0.0.0 0.0.0.0 248.0.0.0 U 0 0 0 eth0
- 0.0.0.0 178.18.23.253 0.0.0.0 UG 0 0 0 eth0
我可以删除176.0.0.0条目
- route delete -net 176.0.0.0/5
这有效,但重新启动后这一行回来了.知道如何永久删除它吗?
检查/ etc / sysconfig / network-scripts / route-eth0,
对于包含该路由的文件,grep在/ etc中递归176.0.0.0
#grep -r“176.0.0.0”/等