求解:ER-10X断网后拨号无法成功以及bond问题

最近总会断互联网以及bond报错,以下是设备的日志
固件版本:EdgeRouter 10X v2.0.8-hotfix.1
HWNAT offload module: loaded
1. 断网问题,出现

Jun 29 09:07:49 ubnt pppd[3593]: Modem hangup
Jun 29 09:07:49 ubnt pppd[3593]: Connection terminated: no multilink.
Jun 29 09:08:24 ubnt upnpd[3909]: Failure obtaining ip address of interface pppoe0
Jun 29 09:08:54 ubnt pppd[3593]: Timeout waiting for PADO packets

通过重启光猫或重启路由后问题解决,但特别麻烦,不知什么原因产生的。
简要网络拓扑为:光猫桥接模式(4口)→ER-10X(eth0口)拨号,ER下eth2口挂华硕无线路由器AX88U(路由模式)
在ER-10X购买之前是用AX88U作为路由进行拨号,没有出现断网情况。

2. 出现

ubnt kernel: bond0: failed to get link speed/duplex for eth7

eth7、eth8做了bond,与NAS1互联,但在NAS1中速率以及bond显示正常。eth5、eth6也做了bond,与NAS2胡亮,但未报错。

感谢~~

详细日志:

Jun 29 09:07:49 ubnt pppd[3593]: Modem hangup
Jun 29 09:07:49 ubnt pppd[3593]: Connection terminated: no multilink.
Jun 29 09:07:50 ubnt kernel: bond0: failed to get link speed/duplex for eth7
Jun 29 09:07:53 ubnt kernel: net_ratelimit: 10 callbacks suppressed
Jun 29 09:07:54 ubnt ntpd[23806]: ntpd exiting on signal 15 (Terminated)
Jun 29 09:07:54 ubnt kernel: bond0: failed to get link speed/duplex for eth7
Jun 29 09:07:54 ubnt ntpd[27029]: ntpd 4.2.8p10@1.3728-o Sun Feb 25 21:43:38 UTC 2018 (1): Starting
Jun 29 09:08:24 ubnt upnpd[3909]: Failure obtaining ip address of interface pppoe0
Jun 29 09:08:54 ubnt pppd[3593]: Timeout waiting for PADO packets
Jun 29 09:09:08 ubnt upnpd[3909]: Failure obtaining ip address of interface pppoe0
Jun 29 09:09:16 ubnt upnpd[3909]: Failure obtaining ip address of interface pppoe0
Jun 29 09:10:08 ubnt upnpd[3909]: Failure obtaining ip address of interface pppoe0
Jun 29 09:10:09 ubnt pppd[3593]: Timeout waiting for PADO packets
Jun 29 09:10:59 ubnt upnpd[3909]: Failure obtaining ip address of interface pppoe0
Jun 29 09:11:10 ubnt upnpd[3909]: Failure obtaining ip address of interface pppoe0
Jun 29 09:11:24 ubnt pppd[3593]: Timeout waiting for PADO packets
Jun 29 09:11:51 ubnt upnpd[3909]: Failure obtaining ip address of interface pppoe0
Jun 29 09:12:39 ubnt pppd[3593]: Timeout waiting for PADO packets
Jun 29 09:12:43 ubnt upnpd[3909]: Failure obtaining ip address of interface pppoe0
Jun 29 09:13:19 ubnt upnpd[3909]: message repeated 2 times: [ Failure obtaining ip address of interface pppoe0]
Jun 29 09:13:45 ubnt upnpd[3909]: Failure obtaining ip address of interface pppoe0
Jun 29 09:13:54 ubnt pppd[3593]: Timeout waiting for PADO packets
Jun 29 09:14:46 ubnt upnpd[3909]: Failure obtaining ip address of interface pppoe0



Jun 29 09:41:30 ubnt pppd[3593]: Connected to 70:7b:e8:c2:c6:6c via interface eth0
Jun 29 09:41:30 ubnt pppd[3593]: Connect: pppoe0 <–> eth0
Jun 29 09:41:30 ubnt systemd-udevd[28673]: link_config: could not get ethtool features for ppp0
Jun 29 09:41:30 ubnt systemd-udevd[28673]: Could not set offload features of ppp0: No such device
Jun 29 09:41:33 ubnt upnpd[3909]: Failure obtaining ip address of interface pppoe0
Jun 29 09:41:34 ubnt upnpd[3909]: Failure obtaining ip address of interface pppoe0
Jun 29 09:41:35 ubnt pppd[3593]: PAP authentication succeeded
Jun 29 09:41:35 ubnt pppd[3593]: peer from calling number 70:7B:E8:C2:C6:6C authorized
Jun 29 09:41:35 ubnt pppd[3593]: Unsupported protocol ‘IPv6 Control Protocol’ (0x8057) received
Jun 29 09:41:35 ubnt pppd[3593]: local IP address 123.123.72.17
Jun 29 09:41:35 ubnt pppd[3593]: remote IP address 123.123.72.1
Jun 29 09:41:35 ubnt pppd[3593]: primary DNS address 202.106.195.68
Jun 29 09:41:35 ubnt pppd[3593]: secondary DNS address 202.106.46.151
Jun 29 09:41:42 ubnt ntpd[27036]: ntpd exiting on signal 15 (Terminated)
Jun 29 09:41:42 ubnt ntpd[28893]: ntpd 4.2.8p10@1.3728-o Sun Feb 25 21:43:38 UTC 2018 (1): Starting

no multilink 代表不准重复播号「被运营商拒了,跟设备无关」,也就是说已经有同样的账号密码登陆在线了……这个请自查了 :sweat_smile:

注: 短时间多次重播会被运营商封禁一段时间,所以后续的拨号都会失败,需要停止到封禁结束才会好。如果上次拨号突然中断,比如断电什么的引起的,也会判断上次的拨号有效中,拒绝后续的,一般等5~15分钟再拨号就行了。

端口捆绑的问题建议你在坛子里自己查一下帖子,NAS支持的模式和ER的模式是有交集的,请选用大家同时支持的模式。这个是根据你NAS的情况而定的,去翻翻说明书吧……

至于说到同一个设备的两个不同端口捆绑,请注意网络规划,别自己打环把自己打死就好 :stuck_out_tongue:

1.重复拨号的状况应该不会有,就这么一个光猫,只用ER拨号。
2.端口绑定,都是动态的,使用也没问题,但就是报这个。另一台与此台是同品牌不同型号,配置是相同的。

1.重复拨号的状况应该不会有,就这么一个光猫,只用ER拨号。

答:运营商的设备答复就是这个,原因就只有你自己分析了,密码泄露了?异常断开后设备重播太快?自己设定了多播?这个只有请你自查自纠了 :crazy_face:

2.端口绑定,都是动态的,使用也没问题,但就是报这个。另一台与此台是同品牌不同型号,配置是相同的。

答:说了一堆全是废话,也没表达出来你NAS配置的端口绑定是啥模式……不影响使用就慢慢放着呗…… :zipper_mouth_face:

现已解决 但不知具体原因 需要继续跟进查明:
1.在取消AX88U的DHCP指定固定IP、以及ER-10X的指向AX88U的静态路由后断网情况消失;
2.问题没有解决,之前没问题的两个口也会报failed信息,但不影响使用。

使用ax88u进行拨号用到现在没有出现以上问题