设为首页收藏本站language 语言切换
查看: 8358|回复: 31
收起左侧

公司路由器早上回来必须重启才能正常上网,求解决

[复制链接]
发表于 2014-7-3 08:48:19 | 显示全部楼层 |阅读模式
各位老大,公司的路由器隔天回来必须重启才能正常上网,为什么呢,公司用的是ADSL接入方式上网,但是重启一次后那一天就一直正常,早上回来又要重启,求解决,以下是思科路由器2801的配置信息



Current configuration : 1344 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
enable password cisco
!
no aaa new-model
!
resource policy
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip subnet-zero
ip cef
!
!
no ip dhcp use vrf connected
!
!
vpdn enable
vpdn ip udp ignore checksum
!
vpdn-group 1
request-dialin
  protocol pppoe
!
!
!
!
!
interface FastEthernet0/0
no ip address
ip nat outside
duplex auto
speed auto
pppoe enable
pppoe-client dial-pool-number 1
!
interface FastEthernet0/1
ip address 172.16.28.181 255.255.255.0
ip nat inside
duplex auto
speed auto
!
interface Dialer1
ip address negotiated
ip mtu 1492
ip nat outside
encapsulation ppp
ip tcp adjust-mss 1452
no ip mroute-cache
dialer pool 1
dialer-group 1
ppp authentication pap callin
ppp pap sent-username 0200754944@163.gd password 0 sadfjfjsafsdfe
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
ip route 172.16.28.0 255.255.255.0 172.16.28.1
ip route 172.16.29.0 255.255.255.0 172.16.28.1
ip route 199.3.0.0 255.255.0.0 172.16.28.1
!
no ip http server
ip nat inside source list 1 interface Dialer1 overload
!
access-list 1 permit any
!
control-plane
!
!
line con 0
line aux 0
line vty 0 4
password ccssoft
login
!
发表于 2014-7-3 10:04:25 | 显示全部楼层
你试试这个dialer persistent,在dialer虚拟接口下配置的,作用是,在没有流量交互的时候接口也永远保持up状态,也许是这个原因。
沙发 2014-7-3 10:04:25 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2014-7-3 11:54:58 | 显示全部楼层
xvlijian 发表于 2014-7-3 10:04
你试试这个dialer persistent,在dialer虚拟接口下配置的,作用是,在没有流量交互的时候接口也永远保持up ...

谢谢你提出了,我也觉得是这个问题,但是就是找不到这个指令,我试下,明天看看效果
板凳 2014-7-3 11:54:58 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2014-7-3 12:00:59 | 显示全部楼层
嗯,常联系,不成在想其他办法
地板 2014-7-3 12:00:59 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2014-7-4 08:05:44 | 显示全部楼层
xvlijian 发表于 2014-7-3 12:00
嗯,常联系,不成在想其他办法

今天早上回来发现QQ在线,以为可行了,但是网页还是打不开,或者能打开要等好久好久,必须重启才正常
5# 2014-7-4 08:05:44 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2014-7-7 09:08:39 | 显示全部楼层
你当时查看边界路由器的接口状态了么,PPPOE状态正常不???
6# 2014-7-7 09:08:39 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2014-7-7 11:18:15 | 显示全部楼层
在Dialer1里面输入以下命令

  1. dialer idle-timeout 0
  2. dialer persistent
复制代码
至于打开很慢问题,楼主先确认DNS是否能够正常解析。如果DNS能够正常解析,就ping一下路由器,看看响应时间是多少,超过5ms一般都是路由器进程有问题了。
7# 2014-7-7 11:18:15 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2014-7-7 15:28:17 | 显示全部楼层
本帖最后由 天然の矿泉水 于 2014-7-7 15:34 编辑
xvlijian 发表于 2014-7-7 09:08
你当时查看边界路由器的接口状态了么,PPPOE状态正常不???

知道怎么看了,但是没看出端倪
8# 2014-7-7 15:28:17 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2014-7-7 15:30:31 | 显示全部楼层
hfhfg 发表于 2014-7-7 11:18
在Dialer1里面输入以下命令至于打开很慢问题,楼主先确认DNS是否能够正常解析。如果DNS能够正常解析,就pin ...

这两个命令我都加了,但是很奇怪,QQ能上,但是没法上网页,而且连路由器很卡,重启就又正常,我这边的DNS服务器用了一年多了,一直没什么问题,就是换了这个ADSL光纤就一直出现这个问题,难道必须在路由器上做DNS吗?
9# 2014-7-7 15:30:31 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2014-7-7 15:33:16 | 显示全部楼层
这是我正常上网时候的PPPOE端口状态
Dialer1 is up, line protocol is up (spoofing)
  Hardware is Unknown
  Internet address is 14.119.113.163/32
  MTU 1500 bytes, BW 56 Kbit, DLY 20000 usec,
     reliability 255/255, txload 67/255, rxload 210/255
  Encapsulation PPP, loopback not set
  Keepalive set (10 sec)
  DTR is pulsed for 1 seconds on reset
  Interface is bound to Vi1
  Last input never, output never, output hang never
  Last clearing of "show interface" counters 02:17:12
  Input queue: 0/75/2/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: weighted fair
  Output queue: 0/1000/64/0 (size/max total/threshold/drops)
     Conversations  0/0/16 (active/max active/max total)
     Reserved Conversations 0/0 (allocated/max allocated)
     Available Bandwidth 42 kilobits/sec
  5 minute input rate 10222000 bits/sec, 1397 packets/sec
  5 minute output rate 3388000 bits/sec, 1203 packets/sec
     10360242 packets input, 365110122 bytes
     10093028 packets output, 4107452682 bytes
Bound to:
Virtual-Access1 is up, line protocol is up
  Hardware is Virtual Access interface
  MTU 1500 bytes, BW 56 Kbit, DLY 20000 usec,
     reliability 255/255, txload 225/255, rxload 3/255
  Encapsulation PPP, LCP Open
  Listen: CDPCP
  Open: IPCP
  PPPoE vaccess, cloned from Dialer1
  Vaccess status 0x44, loopback not set
  Keepalive set (10 sec)
  DTR is pulsed for 5 seconds on reset
  Interface is bound to Di1 (Encapsulation PPP)
  Last input 00:00:00, output never, output hang never
  Last clearing of "show interface" counters 02:17:23
  Input queue: 0/75/114/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 10559000 bits/sec, 1465 packets/sec
  5 minute output rate 3569000 bits/sec, 1252 packets/sec
     10402200 packets input, 403178039 bytes, 114 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     10130535 packets output, 4121789444 bytes, 0 underruns
     0 output errors, 0 collisions, 0 interface resets
     0 output buffer failures, 0 output buffers swapped out
     0 carrier transitions
10# 2014-7-7 15:33:16 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2014-7-7 18:15:20 | 显示全部楼层
天然の矿泉水 发表于 2014-7-7 15:30
这两个命令我都加了,但是很奇怪,QQ能上,但是没法上网页,而且连路由器很卡,重启就又正常,我这边的DN ...

你说的连路由器卡,是telnet进去之后操作卡,还是ping延迟大?
11# 2014-7-7 18:15:20 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2014-7-8 10:25:05 | 显示全部楼层
hfhfg 发表于 2014-7-7 18:15
你说的连路由器卡,是telnet进去之后操作卡,还是ping延迟大?

现在是隔一段时间就断网,QQ又能上,又必须重启路由,烦呐,都不知道什么问题,也没所谓的ARP病毒啊,线了检查过了,没环路什么的
12# 2014-7-8 10:25:05 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2014-7-8 16:51:53 | 显示全部楼层
天然の矿泉水 发表于 2014-7-7 15:33
这是我正常上网时候的PPPOE端口状态
Dialer1 is up, line protocol is up (spoofing)
  Hardware is Unkn ...

Input queue: 0/75/114/0 (size/max/drops/flushes);

你的路由器出现丢包了,明显有问题。路由器出现卡顿的时候,你试一下show process cpu看看是不是CPU使用率过高。
13# 2014-7-8 16:51:53 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2014-7-9 08:39:15 | 显示全部楼层
hfhfg 发表于 2014-7-8 16:51
Input queue: 0/75/114/0 (size/max/drops/flushes);

你的路由器出现丢包了,明显有问题。路由器出现 ...

刚刚又卡顿,我看了下,CPU非常正常,才不到5%的使用率,我又得老老实实跑去重启了,只不过出现这种情况的时候telnet过去路由器会卡差不多5秒钟左右,一般情况下都是秒连的
14# 2014-7-9 08:39:15 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2014-7-9 08:54:05 | 显示全部楼层
我不是很懂,所以说的可能不对,勿怪。考虑过温度问题吗?还有有没有查查内网里的PC是不是被挂马
15# 2014-7-9 08:54:05 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-5-17 06:35 , Processed in 0.367335 second(s), 21 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表