由于某些我不知道的原因,我的路由器每天几乎在同一时间断开我的连接。
有人知道发生了什么事吗?
路由器日志:
Jul 10 09:58:16 pppd[57]: LCP terminated by peer (Connect time expired)
Jul 10 09:58:16 PPPoE: Disconnected
Jul 10 09:58:19 pppd[57]: Connection terminated.
Jul 10 09:58:19 pppd[57]: Connect time 8163958.2 minutes.
Jul 10 09:58:19 pppd[57]: Sent 511397338 bytes, received 878379040 bytes.
Jul 10 09:58:49 pppd[57]: Starting link
Jul 10 09:58:49 pppd[57]: PPP session is 980
Jul 10 09:58:49 pppd[57]: Connect: ppp0 <--> eth0
Jul 10 09:58:52 pppd[57]: CHAP authentication succeeded
Jul 10 09:58:52 pppd[57]: peer from calling number XX:XX:XX:4B:74:13 authorized
Jul 10 09:58:52 pppd[57]: Local IP address changed to XX.XX.148.218
Jul 10 09:58:53 PPPoE: connect to ISP
------------------------------------------------------------------------
Jul 11 09:58:53 pppd[57]: LCP terminated by peer (Connect time expired)
Jul 11 09:58:53 PPPoE: Disconnected
Jul 11 09:58:56 pppd[57]: Connection terminated.
Jul 11 09:58:56 pppd[57]: Connect time 1440.1 minutes.
Jul 11 09:58:56 pppd[57]: Sent 1813438109 bytes, received 3422917328 bytes.
Jul 11 09:59:16 ntp client: time is synchronized to time.nist.gov pool.ntp.org
Jul 11 09:59:26 pppd[57]: Starting link
Jul 11 09:59:26 pppd[57]: PPP session is 886
Jul 11 09:59:26 pppd[57]: Connect: ppp0 <--> eth0
Jul 11 09:59:29 pppd[57]: CHAP authentication succeeded
Jul 11 09:59:29 pppd[57]: peer from calling number XX:XX:XX:A1:1C:4A authorized
Jul 11 09:59:29 pppd[57]: Local IP address changed to XX.XX.207.124
Jul 11 09:59:29 pppd[57]: Remote IP address changed to XX.XX.246.30
Jul 11 09:59:29 PPPoE: connect to ISP
------------------------------------------------------------------------
Jul 12 09:59:29 pppd[57]: LCP terminated by peer (Connect time expired)
Jul 12 09:59:29 PPPoE: Disconnected
Jul 12 09:59:32 pppd[57]: Connection terminated.
Jul 12 09:59:32 pppd[57]: Connect time 1440.1 minutes.
Jul 12 09:59:32 pppd[57]: Sent 2362105148 bytes, received 2089980462 bytes.
Jul 12 09:59:36 ntp client: time is synchronized to time.nist.gov pool.ntp.org
Jul 12 10:00:02 pppd[57]: Starting link
Jul 12 10:00:02 pppd[57]: PPP session is 495
Jul 12 10:00:02 pppd[57]: Connect: ppp0 <--> eth0
Jul 12 10:00:05 pppd[57]: CHAP authentication succeeded
Jul 12 10:00:05 pppd[57]: peer from calling number XX:XX:XX:4B:74:13 authorized
Jul 12 10:00:05 pppd[57]: Local IP address changed to XX.XX.203.241
Jul 12 10:00:05 pppd[57]: Remote IP address changed to XX.XX.246.18
Jul 12 10:00:06 PPPoE: connect to ISP
------------------------------------------------------------------------
Jul 13 10:00:07 pppd[57]: LCP terminated by peer (Connect time expired)
Jul 13 10:00:07 PPPoE: Disconnected
Jul 13 10:00:10 pppd[57]: Connection terminated.
Jul 13 10:00:10 pppd[57]: Connect time 1440.1 minutes.
Jul 13 10:00:10 pppd[57]: Sent 2863355305 bytes, received 853862700 bytes.
Jul 13 10:00:40 pppd[57]: Starting link
Jul 13 10:00:40 pppd[57]: PPP session is 642
Jul 13 10:00:40 pppd[57]: Connect: ppp0 <--> eth0
Jul 13 10:00:43 pppd[57]: CHAP authentication succeeded
Jul 13 10:00:43 pppd[57]: peer from calling number XX:XX:XX:C2:D9:B0 authorized
Jul 13 10:00:43 pppd[57]: Local IP address changed to XX.XX.204.134
Jul 13 10:00:43 pppd[57]: Remote IP address changed to XX.XX.246.21
Jul 13 10:00:43 PPPoE: connect to ISP
------------------------------------------------------------------------
Jul 14 10:00:32 pppd[57]: LCP terminated by peer (Connect time expired)
Jul 14 10:00:32 PPPoE: Disconnected
Jul 14 10:00:35 pppd[57]: Connection terminated.
Jul 14 10:00:35 pppd[57]: Connect time 1439.9 minutes.
Jul 14 10:00:35 pppd[57]: Sent 3331721595 bytes, received 4171819205 bytes.
Jul 14 10:01:05 pppd[57]: Starting link
Jul 14 10:01:05 pppd[57]: PPP session is 1684
Jul 14 10:01:05 pppd[57]: Connect: ppp0 <--> eth0
Jul 14 10:01:08 pppd[57]: CHAP authentication succeeded
Jul 14 10:01:08 pppd[57]: peer from calling number XX:XX:XX:4B:74:13 authorized
Jul 14 10:01:08 pppd[57]: Local IP address changed to XX.XX.193.34
Jul 14 10:01:08 pppd[57]: Remote IP address changed to XX.XX.246.18
Jul 14 10:01:09 PPPoE: connect to ISP
答案1
我看到连接被对方终止,正如您的问题评论中所指出的那样,这意味着是 ISP 终止了连接。此外,这种情况恰好发生在连接建立 24 小时后,这意味着您的 ISP 强制断开连接(一种确保您的 IP 地址每 24 小时更改一次的措施,这会使在您的家庭网络上运行服务器变得更加痛苦)。
尝试在不同时间断开或重新启动路由器,并观察断开连接的时间。如果现在断开连接的时间恰好是操作后 24 小时(而不是您之前观察到的时间),则表明您的 ISP 每 24 小时断开一次连接。