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

[已解决] PT 里面CHAP认证的问题

[复制链接]
发表于 2012-7-13 17:48:28 | 显示全部楼层 |阅读模式
未命名.jpg
isp配置:

Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname isp
isp(config)#use
isp(config)#HOSTNAME ISP
ISP(config)#username home password 1234
ISP(config)#int s2/0
ISP(config-if)#ip add 192.168.2.1 255.255.255.0
ISP(config-if)#no shut

%LINK-5-CHANGED: Interface Serial2/0, changed state to down
ISP(config-if)#encapsulation ppp
ISP(config-if)#ppp authentication chap
ISP(config-if)#clock rate 64000

home配置:

Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname HOME
HOME(config)#username isp password 1234
HOME(config)#int s2/0
HOME(config-if)#ip add 192.168.2.2 255.255.255.0
HOME(config-if)#no shut

%LINK-5-CHANGED: Interface Serial2/0, changed state to up

HOME(config-if)#encapsulation ppp
HOME(config-if)#ppp authentication chap

ISP显示:

ISP(config-if)#do sh int s2/0
Serial2/0 is up, line protocol is down (disabled)
  Hardware is HD64570
  Internet address is 192.168.2.1/24
  MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation PPP, loopback not set, keepalive set (10 sec)
  LCP Closed
  Closed: LEXCP, BRIDGECP, IPCP, CCP, CDPCP, LLC2, BACP
  Last input never, output never, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0 (size/max/drops); Total output drops: 0
  Queueing strategy: weighted fair
  Output queue: 0/1000/64/0 (size/max total/threshold/drops)
     Conversations  0/0/256 (active/max active/max total)
     Reserved Conversations 0/0 (allocated/max allocated)
     Available Bandwidth 96 kilobits/sec
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     0 packets input, 0 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     0 packets output, 0 bytes, 0 underruns
     0 output errors, 0 collisions, 1 interface resets
     0 output buffer failures, 0 output buffers swapped out
     0 carrier transitions
     DCD=up  DSR=up  DTR=up  RTS=up  CTS=up
ISP(config-if)#

home显示:

HOME(config-if)#do sh int s2/0
Serial2/0 is up, line protocol is down (disabled)
  Hardware is HD64570
  Internet address is 192.168.2.2/24
  MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation PPP, loopback not set, keepalive set (10 sec)
  LCP Closed
  Closed: LEXCP, BRIDGECP, IPCP, CCP, CDPCP, LLC2, BACP
  Last input never, output never, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0 (size/max/drops); Total output drops: 0
  Queueing strategy: weighted fair
  Output queue: 0/1000/64/0 (size/max total/threshold/drops)
     Conversations  0/0/256 (active/max active/max total)
     Reserved Conversations 0/0 (allocated/max allocated)
     Available Bandwidth 96 kilobits/sec
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     0 packets input, 0 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     0 packets output, 0 bytes, 0 underruns
     0 output errors, 0 collisions, 1 interface resets
     0 output buffer failures, 0 output buffers swapped out
     0 carrier transitions
     DCD=up  DSR=up  DTR=up  RTS=up  CTS=up
HOME(config-if)#

ISP ping HOME 不通:

ISP#ping 192.168.2.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
我百思不得其解







发表于 2012-7-13 17:52:23 | 显示全部楼层
用户名大小写
沙发 2012-7-13 17:52:23 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2012-7-13 17:56:22 | 显示全部楼层
滚滚滚滚滚滚滚滚
板凳 2012-7-13 17:56:22 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2012-7-13 17:57:15 | 显示全部楼层
古古怪怪
地板 2012-7-13 17:57:15 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2012-7-13 20:03:28 | 显示全部楼层
HOME home~~~
楼主粗心了
5# 2012-7-13 20:03:28 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2012-7-13 20:19:13 | 显示全部楼层
6# 2012-7-13 20:19:13 回复 收起回复
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-4-28 16:02 , Processed in 0.183319 second(s), 26 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

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