Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

PPP authentication

Hi all,

I want to perform bi directional chap authentication but couldnt do it, pls tell me where i am wrong

R1#

username r1chap password 0 r1chap

int se 1/0

ip add 10.1.12.1 255.255.255.0

encap ppp

ppp authentication chap

ppp chap hostname r2chap

ppp chap password r2chap

R2#

username r2chap password 0 r2chap

int se 1/0

  ip add 10.1.12.2 255.255.255.0

  encap ppp

  ppp authentication chap

  ppp chap hostname r1chap

  ppp chap password r1chap

But its not working, what i am doing wrong here ?? please guide

2 REPLIES
Green

PPP authentication

Jonn,

Chap uses an MD5 Hash password.

Try changing the username lines as you have set to clear text format level "0"

R1#

!

no username r2chap password 0 r2chap

username r2chap password  r2chap

!

end

R2#

!

no username r1chap password 0 r1chap

username r1chap password  r1chap

!

end

Regards,
Alex.
Please rate useful posts.

Regards, Alex. Please rate useful posts.

PPP authentication

Jonn,

You need to have a common secret between both routers. Also you have misconfigured the usernames so on R1 you should have something like:

username r2chap pass cisco

int s1/0

ppp chap pass cisco

And on R2:

username r1chap pass cisco

int s1/0

ppp chap pass cisco

Daniel Dib
CCIE #37149

Please rate helpful posts.

Daniel Dib CCIE #37149 Please rate helpful posts.
117
Views
0
Helpful
2
Replies
CreatePlease to create content