[resolved]rp-pppoe通过无线拔号

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
头像
maplebeats
帖子: 378
注册时间: 2011-02-16 1:17

[resolved]rp-pppoe通过无线拔号

#1

帖子 maplebeats » 2012-10-11 23:33

我是用networkmannger+rp-pppoe配合拔号

拔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>
上次由 maplebeats 在 2012-10-12 2:52,总共编辑 1 次。
My blog : OOXX
头像
maplebeats
帖子: 378
注册时间: 2011-02-16 1:17

Re: rp-pppoe通过无线拔号

#2

帖子 maplebeats » 2012-10-12 2:16

Oct 12 02:10:43 otaku dhcpcd[904]: eth0: failed to renew, attempting to rebind
Oct 12 02:11:13 otaku dhcpcd[904]: eth0: lease expired
Oct 12 02:11:13 otaku dhcpcd[904]: eth0: sending IPv6 Router Solicitation
Oct 12 02:11:13 otaku dhcpcd[904]: eth0: broadcasting for a lease
Oct 12 02:11:13 otaku NetworkManager[279]: <info> (eth0): DHCPv4 state changed bound -> expire
Oct 12 02:11:17 otaku dhcpcd[904]: eth0: sending IPv6 Router Solicitation
Oct 12 02:11:17 otaku dhcpcd[904]: eth0: offered 125.81.59.22 from 125.81.58.1
Oct 12 02:11:17 otaku dhcpcd[904]: eth0: acknowledged 125.81.59.22 from 125.81.58.1
Oct 12 02:11:17 otaku dhcpcd[904]: eth0: checking for 125.81.59.22
Oct 12 02:11:21 otaku dhcpcd[904]: eth0: sending IPv6 Router Solicitation
Oct 12 02:11:22 otaku dhcpcd[904]: eth0: leased 125.81.59.22 for 240 seconds
问题找到了,但是这个怎么解决呢。。。
My blog : OOXX
回复