ADSL/DSL等通过 PPPoE 拨号上网,拨号正常,但是会经常掉线,拨号日志中反复出现类似如下的信息:
No response to 2 echo-requests Serial link appears to be disconnected. Connect time 41.7 minutes. Sent 14177961 bytes, received 77955586 bytes. Connection terminated. Modem hangup Connected to 00:0e:1a:40:94:f3 via interface eth1 Using interface ppp0 Connect: ppp0 <--> eth1 PAP authentication succeeded peer from calling number 00:0e:1A:40:94:F3 authorized local IP address 1.1.1.1 remote IP address 2.2.2.2 primary DNS address 3.3.3.3
故障分析:ADSL 拨号成功后,会和对方随时保持联系,即每隔一段时间,本地会发送数据包给对方,并请求回应,以此来探测对方是否可达;如果在发送指定次数后均未收到对方的应答,则认为断线,并断开连接,尝试重新拨号。
默认路由器的发送探测数据包的间隔为 10 秒,2次未收到对方的回应则认为断线。这样如果ADSL掉线,20秒钟内会被检测到。如果您的路由器出现上面的情况,可以适当修改这些参数,比如:
