[resolved]rp-pppoe通过无线拔号
发表于 : 2012-10-11 23:33
我是用networkmannger+rp-pppoe配合拔号
拔chinanet连接上去之后。。。
路由表是这样子的
然后我用把路由表添加进去之后,能够正常上网了。
但是。。。问题在于。过了段时间之后,路由表就会自动更新并把我手动添加的路由表删除掉。于是就“断网”了,然后又得重新添加路由表。。。
偶尔抓到个route出现的情况
拔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>