11-29-2011 01:50 AM - edited 03-04-2019 02:26 PM
Hi.I've configured ppp on two routers In a home lab.I've enabled chap authentication with the ppp authentication chap command.The connections are up and working.The problem Is It doesnt matter what username and password combination I use on the routers.It still works.From what I've read I have to use the hostname of the peer as a username and Identical passwords.What might I be doing wrong here ?
Solved! Go to Solution.
11-29-2011 04:44 AM
Hi,
just do a shut/no shut of your serial interface and you will see it is not working.
you can do debug ppp authentication to see what is the problem.
Regards.
Alain
11-29-2011 02:38 AM
Hi,
take a look here:http://www.cisco.com/en/US/tech/tk713/tk507/technologies_tech_note09186a00800b4131.shtml
Regards.
Alain
11-29-2011 03:08 AM
hi,
i recently read CCNA CNAP's chapter 2 - PPP and here's what i got from my notes and sample below. the hostname on one router must match the username the other router has configured. the passwords must also match. this occurs on initial link establishment and can be repeated any time after the link has been established
hostname R1
!
username R3 password 0 someone
!
interface Serial0/1/0
ip address 172.16.0.1 255.255.255.252
encapsulation ppp
ppp authentication chap
clock rate 64000
Serial0/1/0 IPCP: I CONFREQ [Closed] id 1 len 10
Serial0/1/0 IPCP: O CONFACK [Closed] id 1 len 10
Serial0/1/0 IPCP: I CONFREQ [REQsent] id 1 len 10
Serial0/1/0 IPCP: O CONFACK [REQsent] id 1 len 10
Serial0/1/0 IPCP: O CONFREQ [Closed] id 1 len 10
Serial0/1/0 IPCP: I CONFACK [Closed] id 1 len 10
Serial0/1/0 IPCP: O CONFREQ [Closed] id 1 len 10
Serial0/1/0 IPCP: I CONFACK [REQsent] id 1 len 10
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/0, changed state to up
----
hostname R3
!
username R1 password 0 someone
!
interface Serial0/0/0
ip address 172.16.0.2 255.255.255.0
encapsulation ppp
ppp authentication chap
11-29-2011 03:55 AM
Thats what I've read too.But It's still working whatever password , username config I use.I'm doing something wrong.
11-29-2011 03:39 AM
Hello,
In addition to the recommendations of John and Alain, would you mind posting your configurations of both routers?
Best regards,
Peter
11-29-2011 04:26 AM
11-29-2011 04:44 AM
Hi,
just do a shut/no shut of your serial interface and you will see it is not working.
you can do debug ppp authentication to see what is the problem.
Regards.
Alain
11-29-2011 04:52 AM
Thanks.I'm happy to report things have stopped working!
11-29-2011 05:12 AM
hi,
i tried to simulate your config and it's not working. when re-configured the username to match the remote router and using same passwords, the serial links went up. could you try it on your lab and confirm?
hostname R1.12
!
username R1.12 password 0 reprovo
!
interface Serial0/0
ip address 192.168.6.3 255.255.255.0
encapsulation ppp
ppp authentication chap
clock rate 128000
----
hostname R2.10
!
username R2.10 password 0 rep
!
interface Serial0/0
ip address 192.168.6.1 255.255.255.0
encapsulation ppp
ppp authentication chap
-------
R1.12#sh ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset administratively down down
Serial0/0 192.168.6.3 YES manual up down
R2.10#sh ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset administratively down down
Serial0/0 192.168.6.1 YES manual up down
------
R1.12(config)#username R2.10 password reprovo
R1.12(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
R2.10(config)#username R1.12 password reprovo
R2.10(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
11-29-2011 05:19 AM
Yeah as cadet Alain pointed out I had to shutdown no shutdown on the serial Interfaces.The connection then stopped working
11-29-2011 05:25 AM
ok great!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide