Connect: ppp0 eth0路由器晚上10点到12点会断线路由器自动断线怎么办?
掉线问题现在80%源自内网的问题,内网的arp攻击、暴发式的攻击和连接数过大都会引起掉线,这是可能重启路由器就会好,因为重启后连接数就会断开,路由器也会向网络中重新发送自己的信息,这是网络就会好了,但是当内网再次发起攻击时,网络就又会出现问题,这只是治标不治本的,要想彻底解决就要对内网进行管理,从网卡上直接获取信息,对比发出数据中的信息,然后只允许含有自己信息的数据发出,禁止非本机信息的发出,而且只允许在合理的范围内建立连接,超出的禁止发出,这样就能很好的解决了
当然也有运营商的问题导致的,比如下面就是因为电信用户太多,服务器不扩容,就会在晚上踢用户下线。
最近发现晚上10点到12点会断线,早上不知道会不会,下面是断线的日志,有没有大神帮忙看看是什么原因?
Jul 26 22:56:49 kernel: nvram: consolidating space!
Jul 26 22:56:52 pppd[935]: Serial link appears to be disconnected.
Jul 26 22:56:52 pppd[935]: Connect time 1013.8 minutes.
Jul 26 22:56:52 pppd[935]: Sent 997265196 bytes, received 3315885363 bytes.
Jul 26 22:56:53 rc_service: ip-down 13818:notify_rc start_dnsmasq
Jul 26 22:56:53 dnsmasq[1209]: read /etc/hosts - 5 addresses
Jul 26 22:56:53 dnsmasq[1209]: ignoring nameserver 192.168.1.1 - local interface
Jul 26 22:56:53 dnsmasq[1209]: ignoring nameserver 192.168.1.1 - local interface
Jul 26 22:56:53 dnsmasq[1209]: exiting on receipt of SIGTERM
Jul 26 22:56:53 dnsmasq[13821]: started, version 2.80 cachesize 1500
Jul 26 22:56:53 dnsmasq[13821]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset no-auth DNSSEC no-ID loop-detect
no-inotify
Jul 26 22:56:53 dnsmasq[13821]: warning: interface pptp* does not currently exist
Jul 26 22:56:53 dnsmasq[13821]: asynchronous logging enabled, queue limit is 5 messages
Jul 26 22:56:53 dnsmasq-dhcp[13821]: DHCP, IP range 192.168.1.2 -- 192.168.1.254, lease time 1d
Jul 26 22:56:53 dnsmasq[13821]: read /etc/hosts - 5 addresses
Jul 26 22:56:53 dnsmasq[13821]: ignoring nameserver 192.168.1.1 - local interface
Jul 26 22:56:53 dnsmasq[13821]: ignoring nameserver 192.168.1.1 - local interface
Jul 26 22:56:56 WAN_Connection: Fail to connect with some issues.
Jul 26 22:56:59 pppd[935]: Connection terminated.
Jul 26 22:56:59 pppd[935]: Sent PADT
Jul 26 22:56:59 pppd[935]: Modem hangup
Jul 26 22:57:09 pppd[935]: PPP session is 23466 (0x5baa)
Jul 26 22:57:09 pppd[935]: Connected to b6:38:04:0f:00:13 via interface eth0
Jul 26 22:57:09 pppd[935]: Using interface ppp0
Jul 26 22:57:09 pppd[935]: Connect: ppp0 <--> eth0
Jul 26 22:57:09 pppd[935]: Remote message: Authentication Successful,Welcome!
Jul 26 22:57:09 pppd[935]: PAP authentication succeeded
Jul 26 22:57:09 pppd[935]: peer from calling number B6:38:04:0F:00:13 authorized
Jul 26 22:57:09 pppd[935]: local IP address 113.68.138.17
Jul 26 22:57:09 pppd[935]: remote IP address 113.68.136.1
Jul 26 22:57:09 pppd[935]: primary DNS address 202.96.134.33
Jul 26 22:57:09 pppd[935]: secondary DNS address 202.96.128.86
Jul 26 22:57:09 rc_service: ip-up 13837:notify_rc start_firewall
Jul 26 22:57:09 dnsmasq[13821]: read /etc/hosts - 5 addresses
Jul 26 22:57:09 rc_service: ip-up 13837:notify_rc start_dnsmasq
Jul 26 22:57:09 dnsmasq[13821]: ignoring nameserver 192.168.1.1 - local interface
Jul 26 22:57:09 rc_service: waitting "start_firewall" via ip-up ...
Jul 26 22:57:09 dnsmasq[13821]: using nameserver 202.96.134.33#53
Jul 26 22:57:09 dnsmasq[13821]: using nameserver 202.96.128.86#53
Jul 26 22:57:10 start_nat_rules: apply the nat_rules(/tmp/nat_rules_ppp0_eth0)!
Jul 26 22:57:10 dnsmasq-dhcp[13821]: DHCPINFORM(br0) 192.168.1.207 bc:5f:f4:55:18:e6
Jul 26 22:57:10 dnsmasq-dhcp[13821]: DHCPACK(br0) 192.168.1.207 bc:5f:f4:55:18:e6 KENEVA-PC
Jul 26 22:57:11 dnsmasq[13821]: exiting on receipt of SIGTERM
Jul 26 22:57:12 dnsmasq[13883]: started, version 2.80 cachesize 1500
Jul 26 22:57:12 dnsmasq[13883]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset no-auth DNSSEC no-ID loop-detect no-inotify
Jul 26 22:57:12 dnsmasq[13883]: warning: interface pptp* does not currently exist
Jul 26 22:57:12 dnsmasq[13883]: asynchronous logging enabled, queue limit is 5 messages
Jul 26 22:57:12 dnsmasq-dhcp[13883]: DHCP, IP range 192.168.1.2 -- 192.168.1.254, lease time 1d
Jul 26 22:57:12 dnsmasq[13883]: read /etc/hosts - 5 addresses
Jul 26 22:57:12 dnsmasq[13883]: ignoring nameserver 192.168.1.1 - local interface
Jul 26 22:57:12 dnsmasq[13883]: using nameserver 202.96.134.33#53
Jul 26 22:57:12 dnsmasq[13883]: using nameserver 202.96.128.86#53
Jul 26 22:57:13 rc_service: ip-up 13837:notify_rc stop_upnp
Jul 26 22:57:13 rc_service: ip-up 13837:notify_rc start_upnp
Jul 26 22:57:13 ntp: start NTP update
Jul 26 22:57:16 WAN_Connection: WAN was restored.
Jul 26 22:57:16 rc_service: wanduck 760:notify_rc start_firewall
Jul 26 22:57:17 start_nat_rules: apply the nat_rules(/tmp/nat_rules_ppp0_eth0)!
根据日志查看 这个是重新拨号了,有可能是WAN IP轮换导致的
日志: Connect: ppp0 <--> eth0 有重新连线
最近晚上10点到12点都会断线有大神帮忙看是什么原因吗?
引起这个的原因
解决了,原因是电信用户太多,服务器又不扩容,导致踢用户下线,解决方法只有让电信师傅把你的光猫改成路由模式,这样即使服务器提用户下线,也能在几秒内重连,这样就不影响到正常使用
点击链接加入群聊三群:751529538
点击链接加入群聊二群:376877156
点击链接加入群聊【路由器交流群:622891808已满】
本站附件分享,如果附件失效,可以去找找看
饿了么红包