小编Joh*_*ohn的帖子

如何使用 CentOS 6 永久删除/删除路线中的线路

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
Run Code Online (Sandbox Code Playgroud)

我可以删除 176.0.0.0 条目

route delete -net 176.0.0.0/5
Run Code Online (Sandbox Code Playgroud)

这有效,但重启后这条线又回来了。知道如何永久删除它吗?

route centos linux-networking deleting

5
推荐指数
1
解决办法
6万
查看次数

标签 统计

centos ×1

deleting ×1

linux-networking ×1

route ×1