From: William (wdoyle123@comcast.net)
Date: Sat Feb 08 2003 - 12:04:05 GMT-3
Can anyone explain under what circumstances you would use this command?
"PPP CHAP PASSWORD"
I have tried many variations and cannot seem to get this to be applied. I
read that this was used as the default in the event no username was found in
the database but when I do this I get an authentication failure.
Here is my config for what I described.
Her is my config: R2 is calling R1
R2
username R1 password 0 cisco
interface BRI1/0
ip address 12.12.12.2 255.255.255.0
encapsulation ppp
dialer map ip 12.12.12.1 name R1 broadcast 2018662911
dialer map ip 12.12.12.1 name R1 broadcast 2018662913
dialer load-threshold 1 outbound
dialer-group 1
isdn switch-type basic-ni
isdn spid1 20133015680101 3301568
isdn spid2 20133015790101 3301579
ppp authentication chap
ppp multilink
R1
!
interface BRI2/0
ip address 12.12.12.1 255.255.255.0
encapsulation ppp
dialer map ip 12.12.12.2 name R2 broadcast 2013301568
dialer map ip 12.12.12.2 name R2 broadcast 2013301579
dialer load-threshold 1 outbound
dialer-group 1
isdn switch-type basic-ni
isdn spid1 20186629110101 8662911
isdn spid2 20186629130101 8662913
ppp authentication chap
ppp chap password 7 030752180500 (password cisco)
ppp multilink
Here is output:
--More--
13:27:04: %LINK-3-UPDOWN: Interface BRI2/0:1, changed state to up
--More--
13:27:04: BR2/0:1 PPP: Treating connection as a callin
13:27:05: BR2/0:1 CHAP: O CHALLENGE id 38 len 23 from "R1"
13:27:05: BR2/0:1 CHAP: I CHALLENGE id 38 len 23 from "R2"
13:27:05: BR2/0:1 CHAP: Waiting for peer to authenticate first
13:27:05: BR2/0:1 CHAP: I RESPONSE id 38 len 23 from "R2"
13:27:05: BR2/0:1 CHAP: Unable to validate Response. Username R2 not found
13:27:05: BR2/0:1 CHAP: O FAILURE id 38 len 26 msg is "Authentication
failure"
--More--
13:27:05: %LINK-3-UPDOWN: Interface BRI2/0:1, changed state to down
13:27:06: %LINK-3-UPDOWN: Interface BRI2/0:1, changed state to up
13:27:06: BR2/0:1 PPP: Treating connection as a callin
13:27:07: BR2/0:1 CHAP: O CHALLENGE id 39 len 23 from "R1"
13:27:07: BR2/0:1 CHAP: I CHALLENGE id 39 len 23 from "R2"
13:27:07: BR2/0:1 CHAP: Waiting for peer to authenticate first
13:27:07: BR2/0:1 CHAP: I RESPONSE id 39 len 23 from "R2"
13:27:07: BR2/0:1 CHAP: Unable to validate Response. Username R2 not found
13:27:07: BR2/0:1 CHAP: O FAILURE id 39 len 26 msg is "Authentication
failure"
.
This archive was generated by hypermail 2.1.4 : Sat Mar 01 2003 - 11:06:16 GMT-3