cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
417
Views
0
Helpful
2
Replies

PPP authentication

Jonn cos
Level 4
Level 4

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 2

acampbell
VIP Alumni
VIP Alumni

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.

daniel.dib
Level 7
Level 7

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
CCDE #20160011

Please rate helpful posts.