拔chinanet连接上去之后。。。
路由表是这样子的
代码: 全选
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 125.87.116.1 0.0.0.0 UG 0 0 0 eth1
125.81.80.1 * 255.255.255.255 UH 0 0 0 ppp1
125.87.116.0 * 255.255.252.0 U 0 0 0 eth1
代码: 全选
route add default ppp1
代码: 全选
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default * 0.0.0.0 U 0 0 0 ppp1
default 125.87.116.1 0.0.0.0 UG 0 0 0 eth1
125.81.80.1 * 255.255.255.255 UH 0 0 0 ppp1
125.87.116.0 * 255.255.252.0 U 0 0 0 eth1
偶尔抓到个route出现的情况
代码: 全选
ef>route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default * 0.0.0.0 U 0 0 0 ppp1
125.81.80.1 * 255.255.255.255 UH 0 0 0 ppp1
ef>route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default * 0.0.0.0 U 0 0 0 ppp1
125.81.80.0 * 255.255.252.0 U 0 0 0 eth1
125.81.80.1 * 255.255.255.255 UH 0 0 0 ppp1
ef>route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default * 0.0.0.0 U 0 0 0 ppp1
default 125.81.80.1 0.0.0.0 UG 0 0 0 eth1
125.81.80.0 * 255.255.252.0 U 0 0 0 eth1
125.81.80.1 * 255.255.255.255 UH 0 0 0 ppp1
ef>