分页: 1 / 1

不能删除默认路由是啥情况

发表于 : 2016-09-06 6:41
birbird
路由表很简单

代码: 全选

[root@localhost ~]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         10.10.1.254     0.0.0.0         UG    100    0        0 eth0
10.10.1.0       0.0.0.0         255.255.255.0   U     100    0        0 eth0
100.64.0.1      0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
180.97.33.107   0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
默认路由怎么都删不掉,执行这些命令都没有报错,但路由表没变

代码: 全选

route del default
route del default gw 10.10.1.254
同时,其他路由是可以删的,这个就能正常执行

代码: 全选

route del 180.97.33.107
请问这是啥情况,该怎么破?