From: Oliver Boehmer (oboehmer@xxxxxxxxx)
Date: Tue Jun 18 2002 - 06:48:41 GMT-3
Hi Atul,
you are most likely hitting a bug (CSCdv50106 comes to my mind). If you
carefully look at the PPP debugs, you'll notice that the callback server
never receives the CHAP "SUCCESS" from the client because the line gets
disconnected too early. So the server doesn't successfully complete
authentication and never tries to call back.
As a possible workaround, try to configure "ppp authen chap callin" on the
client to get around this timing issue.
Server:
>2d00h: BR0/0:2 LCP: State is Open
>2d00h: BR0/0:2 PPP: Phase is AUTHENTICATING, by both [0 sess, 1 load]
>2d00h: BR0/0:2 CHAP: O CHALLENGE id 59 len 23 from "r3"
>2d00h: BR0/0:2 CHAP: I CHALLENGE id 63 len 23 from "r5"
>2d00h: BR0/0:2 CHAP: Waiting for peer to authenticate first
>2d00h: BR0/0:2 CHAP: I RESPONSE id 59 len 23 from "r5"
>2d00h: BR0/0:2 CHAP: O SUCCESS id 59 len 4
>2d00h: BR0/0:2 CHAP: Processing saved Challenge, id 63
>r3#
>2d00h: BR0/0:2 CHAP: O RESPONSE id 63 len 23 from "r3"
here "I SUCCESS" is missing..
>2d00h: %ISDN-6-CONNECT: Interface BRI0/0:2 is now connected to 239117 r5
>2d00h: %ISDN-6-DISCONNECT: Interface BRI0/0:2 disconnected from
>01442239117 r5,
>call lasted 2 seconds
>2d00h: %LINK-3-UPDOWN: Interface BRI0/0:2, changed state to down
>r3#
>2d00h: BR0/0:2 PPP: Phase is TERMINATING [0 sess, 1 load]
>2d00h: BR0/0:2 LCP: State is Closed
>2d00h: BR0/0:2 PPP: Phase is DOWN [0 sess, 1 load]
>2d00h: BR0/0:2 DDR: disconnecting call
>
Client:
>1d16h: BR3/0:1 PPP: Phase is AUTHENTICATING, by both [0 sess, 1 load]
>1d16h: BR3/0:1 CHAP: O CHALLENGE id 63 len 23 from "r5"
>1d16h: BR3/0:1 PPP: I pkt type 0xC223, datagramsize 27
>1d16h: BR3/0:1 CHAP: I CHALLENGE id 59 len 23 from "r3"
>1d16h: BR3/0:1 CHAP: O RESPONSE id 59 len 23 from "r5"
>1d16h: BR3/0:1 PPP: I pkt type 0xC223, datagramsize 8
>1d16h: BR3/0:1 CHAP: I SUCCESS id 59 len 4
>1d16h: BR3/0:1 PPP: I pkt type 0xC223, datagramsize 27
>1d16h: BR3/0:1 CHAP: I RESPONSE id 63 len 23 from "r3"
The following packet never makes it to the server since the client hangs up
too early:
>1d16h: BR3/0:1 CHAP: O SUCCESS id 63 len 4
>1d16h: BR3/0:1 DDR: Callback negotiated - Disconnecting now
>1d16h: BR3/0:1 DDR: disconnecting call
>1d16h: %ISDN-6-CONNECT: Interface BRI3/0:1 is now connected to 239098 r3
>1d16h: %ISDN-6-DISCONNECT: Interface BRI3/0:1 disconnected from 239098 r3, c
>lasted 2 seconds
>1d16h: %LINK-3-UPDOWN: Interface BRI3/0:1, changed state to down.
>1d16h: DDR: Callback client for r3 239098 created
>1d16h: BR3/0:1 PPP: Phase is TERMINATING [0 sess, 1 load]
>1d16h: BR3/0:1 LCP: State is Closed
>1d16h: BR3/0:1 PPP: Phase is DOWN [0 sess, 1 load]
>1d16h: BR3/0:1 DDR: disconnecting call...
>Success rate is 0 percent (0/5)
>r5#
>1d16h: DDR: No callback received from r3 239098
>1d16h: DDR: Freeing callback to r3 239098
>r5#
oli
This archive was generated by hypermail 2.1.4 : Tue Jul 02 2002 - 08:12:36 GMT-3