代码: 全选
[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