12-26-2013 08:56 AM - edited 03-07-2019 05:15 PM
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
12-26-2013 12:07 PM
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.
12-26-2013 12:51 PM
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.
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