Re: ppp chap with different password

From: Elsayed Mohamed (elsayedm@xxxxxxxxxxx)
Date: Mon Jan 14 2002 - 00:50:32 GMT-3


   
ONLY PAP can be configured with two different passwords. CHAP can be
configured with different host names but not with different passwords. The
MD5 algorithm used with CHAP must be run on the same passwords in both
routers.

Elsayed

----Original Message Follows----
From: alain faure <alainfaure@yahoo.fr>
Reply-To: alain faure <alainfaure@yahoo.fr>
To: ccielab@groupstudy.com
Subject: ppp chap with different password
Date: Sun, 13 Jan 2002 20:21:53 +0100 (CET)

Hello.

Here is my config it don't work

r1

username toto2 pass cisco2

int dial 1
ppp authen chap
ppp chap hostname toto1
ppp chap password cisco1
-----------------------------
r2

username toto1 pass cisco1

int dial 1
ppp authen chap
ppp chap hostname toto2
ppp chap password cisco2

i cannot find the mistake here the debug (look at "MD/DES compare failed):

05:56:50: %LINK-3-UPDOWN: Interface Async17, changed state to up

05:56:50: %DIALER-6-BIND: Interface Async17 bound to profile Dialer1.

05:56:50: As17 PPP: Treating connection as a callin.

06:14:00: %LINK-3-UPDOWN: Interface Async1, changed state to up

06:14:00: %DIALER-6-BIND: Interface As1 bound to profile Di1

06:14:00: As1 PPP: Treating connection as a callout

06:14:00: As1 PPP: Phase is ESTABLISHING, Active Open

06:14:00: As1 PPP: No remote authentication for call-out

06:14:00: As1 LCP: O CONFREQ [Closed] id 125 len 20

06:14:00: As1 LCP: ACCM 0x000A0000 (0x0206000A0000)

06:14:00: As1 LCP: MagicNumber 0x0162AB62 (0x05060162AB62)

06:14:00: As1 LCP: PFC (0x0702)

06:14:00: .As1 LCP: ACFC (0x0802)

06:14:00: As1 LCP: I CONFREQ [REQsent] id 179 len 25

06:14:00: As1 LCP: ACCM 0x000A0000 (0x020

05:56:55: As17 CHAP: Using alternate hostname user1

05:56:55: As17 CHAP: O CHALLENGE id 32 len 26 from "user1"

05:56:55: As17 CHAP: I RESPONSE id 32 len 26 from "user2"

05:56:55: As17 CHAP: O FAILURE id 32 len 25 msg is "MD/DES compare
failed"6000A0000)
06:14:00: As1 LCP: AuthProto CHAP (0x0305C22305)

06:14:00: As1 LCP: MagicNumber 0x01774972 (0x050601774972)

06:14:00: As1 LCP: PFC (0x0702)

06:14:00: As1 LCP: ACFC (0x0802)

06:14:00: As1 LCP: O CONFACK [REQsent] id 179 len 25

06:14:00: As1 LCP: ACCM 0x000A0000 (0x0206000A0000)

06:14:00: As1 LCP: AuthProto CHAP (0x0305C22305)

06:14:00: As1 LCP: MagicNumber 0x01774972 (0x050601774972)

Best regards



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:56:27 GMT-3