当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 2 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [resolved]rp-pppoe通过无线拔号
帖子发表于 : 2012-10-11 23:33 
头像

注册: 2011-02-16 1:17
帖子: 357
送出感谢: 0 次
接收感谢: 6
我是用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>


_________________
My blog : OOXX


最后由 maplebeats 编辑于 2012-10-12 2:52,总共编辑了 1 次

页首
 用户资料  
 
2 楼 
 文章标题 : Re: rp-pppoe通过无线拔号
帖子发表于 : 2012-10-12 2:16 
头像

注册: 2011-02-16 1:17
帖子: 357
送出感谢: 0 次
接收感谢: 6
引用:
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


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 2 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译