RE: ppp callback with pap authentication.

From: Brian Dennis (brian@labforge.com)
Date: Wed Jul 09 2003 - 18:21:28 GMT-3


Are you ever seeing the routers agree on which authentication protocol
to use? Look at the debugs and you'll see that authentication isn't
working. With PAP the router will not failover and switch to using the
router's hostname. You need the have the "ppp pap sent-username"
interface command in order to be authenticated via PAP.

Brian Dennis, CCIE #2210 (R&S/ISP-Dial/Security)

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Danny.Andaluz@triaton-na.com
Sent: Wednesday, July 09, 2003 1:37 PM
To: brian@labforge.com; ccielab@groupstudy.com
Subject: RE: ppp callback with pap authentication.

Here you go, Brian (without ppp pap sent-username configured):

R2

r2#sh run
Building configuration...

Current configuration : 1300 bytes
!
version 12.2
!
hostname r2
!
username r5 password 0 cisco
!
isdn switch-type basic-ni
!
interface BRI0
 ip address 216.30.25.2 255.255.255.224
 encapsulation ppp
 dialer map ip 216.30.25.5 name r5 broadcast 6539
 dialer-group 1
 isdn switch-type basic-ni
 isdn spid1 000653801 6538
 cdapi buffers regular 0
 cdapi buffers raw 0
 cdapi buffers large 0
 ppp callback request
 ppp authentication pap
!
dialer-list 1 protocol ip permit

!
End

R5:

r5#sh run
Building configuration...

Current configuration : 1385 bytes
!
version 12.2
!
hostname r5
!
username r2 password 0 cisco

isdn switch-type basic-ni
!
interface BRI0
 ip address 216.30.25.5 255.255.255.224
 encapsulation ppp
 dialer map ip 216.30.25.2 name r2 class lab21 broadcast 6538
 dialer-group 1
 isdn switch-type basic-ni
 isdn spid1 000653901
 cdapi buffers regular 0
 cdapi buffers raw 0
 cdapi buffers large 0
 ppp callback accept
 ppp authentication pap

!
!
map-class dialer lab21
 dialer callback-server username
dialer-list 1 protocol ip permit

End

Here's debug ppp nego from R2:

I think it's passing the initial stage of confreq and confack, but after
that the callback fails.

r2#debug ppp nego
PPP protocol negotiation debugging is on
r2#ping 216.30.25.5

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 216.30.25.5, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
r2#
00:26:08: %LINK-3-UPDOWN: Interface BRI0:1, changed state to up
00:26:08: BR0:1 PPP: Treating connection as a callout
00:26:08: BR0:1 PPP: Phase is ESTABLISHING, Active Open [0 sess, 0 load]
00:26:08: BR0:1 LCP: O CONFREQ [Closed] id 1 len 17
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: MagicNumber 0x605F5A3D (0x0506605F5A3D)
00:26:08: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:08: BR0:1 LCP: I CONFREQ [REQsent] id 1 len 14
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: MagicNumber 0x6073E55D (0x05066073E55D)
00:26:08: BR0:1 LCP: O CONFNAK [REQsent] id 1 len 9
00:26:08: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:26:08: BR0:1 LCP: I CONFNAK [REQsent] id 1 len 9
00:26:08: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:26:08: BR0:1 LCP: O CONFREQ [REQsent] id 2 len 17
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: MagicNumber 0x605F5A3D (0x0506605F5A3D)
00:26:08: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:08: BR0:1 LCP: I CONFREQ [REQsent] id 2 len 14
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: MagicNumber 0x6073E55D (0x05066073E55D)
00:26:08: BR0:1 LCP: O CONFNAK [REQsent] id 2 len 9
00:26:08: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:26:08: BR0:1 LCP: I CONFNAK [REQsent] id 2 len 9
00:26:08: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:26:08: BR0:1 LCP: O CONFREQ [REQsent] id 3 len 17
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: MagicNumber 0x605F5A3D (0x0506605F5A3D)
00:26:08: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:08: BR0:1 LCP: I CONFREQ [REQsent] id 3 len 14
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: MagicNumber 0x6073E55D (0x05066073E55D)
00:26:08: BR0:1 LCP: O CONFNAK [REQsent] id 3 len 9
00:26:08: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:26:08: BR0:1 LCP: I CONFNAK [REQsent] id 3 len 9
00:26:08: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:26:08: BR0:1 LCP: O CONFREQ [REQsent] id 4 len 17
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: MagicNumber 0x605F5A3D (0x0506605F5A3D)
00:26:08: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:08: BR0:1 LCP: I CONFREQ [REQsent] id 4 len 14
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: MagicNumber 0x6073E55D (0x05066073E55D)
00:26:08: BR0:1 LCP: O CONFNAK [REQsent] id 4 len 9
00:26:08: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:26:08: BR0:1 LCP: I CONFNAK [REQsent] id 4 len 9
00:26:08: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:26:08: BR0:1 LCP: O CONFREQ [REQsent] id 5 len 17
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: MagicNumber 0x605F5A3D (0x0506605F5A3D)
00:26:08: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:08: BR0:1 LCP: I CONFREQ [REQsent] id 5 len 14
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: MagicNumber 0x6073E55D (0x05066073E55D)
00:26:08: BR0:1 LCP: O CONFNAK [REQsent] id 5 len 9
00:26:08: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:26:08: BR0:1 LCP: I CONFNAK [REQsent] id 5 len 9
00:26:08: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:26:08: BR0:1 LCP: O CONFREQ [REQsent] id 6 len 17
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: MagicNumber 0x605F5A3D (0x0506605F5A3D)
00:26:08: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:08: BR0:1 LCP: I CONFREQ [REQsent] id 6 len 14
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: MagicNumber 0x6073E55D (0x05066073E55D)
00:26:08: BR0:1 LCP: O CONFREJ [REQsent] id 6 len 8
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: I CONFREJ [REQsent] id 6 len 8
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: O CONFREQ [REQsent] id 7 len 17
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: MagicNumber 0x605F5A3D (0x0506605F5A3D)
00:26:08: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:08: BR0:1 LCP: I CONFREQ [REQsent] id 7 len 14
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: MagicNumber 0x6073E55D (0x05066073E55D)
00:26:08: BR0:1 LCP: O CONFREJ [REQsent] id 7 len 8
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: I CONFREJ [REQsent] id 7 len 8
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: O CONFREQ [REQsent] id 8 len 17
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: MagicNumber 0x605F5A3D (0x0506605F5A3D)
00:26:08: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:08: BR0:1 LCP: I CONFREQ [REQsent] id 8 len 14
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: MagicNumber 0x6073E55D (0x05066073E55D)
00:26:08: BR0:1 LCP: O CONFREJ [REQsent] id 8 len 8
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: I CONFREJ [REQsent] id 8 len 8
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: O CONFREQ [REQsent] id 9 len 17
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: MagicNumber 0x605F5A3D (0x0506605F5A3D)
00:26:08: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:08: BR0:1 LCP: I CONFREQ [REQsent] id 9 len 14
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: MagicNumber 0x6073E55D (0x05066073E55D)
00:26:08: BR0:1 LCP: O CONFREJ [REQsent] id 9 len 8
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: I CONFREJ [REQsent] id 9 len 8
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: O CONFREQ [REQsent] id 10 len 17
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: MagicNumber 0x605F5A3D (0x0506605F5A3D)
00:26:08: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:08: BR0:1 LCP: I CONFREQ [REQsent] id 10 len 14
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: MagicNumber 0x6073E55D (0x05066073E55D)
00:26:08: BR0:1 LCP: O CONFREJ [REQsent] id 10 len 8
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: I CONFREJ [REQsent] id 10 len 8
00:26:08: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:08: BR0:1 LCP: Failed to negotiate with peer
00:26:08: BR0:1 LCP: State is Closed
00:26:08: BR0:1 PPP: Phase is DOWN [0 sess, 0 load]
00:26:08: BR0:1 PPP: Phase is ESTABLISHING, Passive Open [0 sess, 0
load]
00:26:08: BR0:1 LCP: State is Listen
00:26:08: %LINK-3-UPDOWN: Interface BRI0:1, changed state to down
00:26:08: BR0:1 LCP: State is Closed
00:26:08: BR0:1 PPP: Phase is DOWN [0 sess, 0 load]
00:26:12: %LINK-3-UPDOWN: Interface BRI0:1, changed state to up
00:26:12: BR0:1 PPP: Treating connection as a callout
00:26:12: BR0:1 PPP: Phase is ESTABLISHING, Active Open [0 sess, 0 load]
00:26:12: BR0:1 LCP: O CONFREQ [Closed] id 11 len 17
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: MagicNumber 0x605F69DF (0x0506605F69DF)
00:26:12: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:12: BR0:1 LCP: I CONFREQ [REQsent] id 11 len 14
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: MagicNumber 0x6073F500 (0x05066073F500)
00:26:12: BR0:1 LCP: O CONFNAK [REQsent] id 11 len 9
00:26:12: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:26:12: BR0:1 LCP: I CONFREJ [REQsent] id 11 len 8
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: O CONFREQ [REQsent] id 12 len 17
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: MagicNumber 0x605F69DF (0x0506605F69DF)
00:26:12: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:12: BR0:1 LCP: I CONFREQ [REQsent] id 12 len 14
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: MagicNumber 0x6073F500 (0x05066073F500)
00:26:12: BR0:1 LCP: O CONFNAK [REQsent] id 12 len 9
00:26:12: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:26:12: BR0:1 LCP: I CONFREJ [REQsent] id 12 len 8
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: O CONFREQ [REQsent] id 13 len 17
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: MagicNumber 0x605F69DF (0x0506605F69DF)
00:26:12: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:12: BR0:1 LCP: I CONFREQ [REQsent] id 13 len 14
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: MagicNumber 0x6073F500 (0x05066073F500)
00:26:12: BR0:1 LCP: O CONFNAK [REQsent] id 13 len 9
00:26:12: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:26:12: BR0:1 LCP: I CONFREJ [REQsent] id 13 len 8
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: O CONFREQ [REQsent] id 14 len 17
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: MagicNumber 0x605F69DF (0x0506605F69DF)
00:26:12: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:12: BR0:1 LCP: I CONFREQ [REQsent] id 14 len 14
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: MagicNumber 0x6073F500 (0x05066073F500)
00:26:12: BR0:1 LCP: O CONFNAK [REQsent] id 14 len 9
00:26:12: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:26:12: BR0:1 LCP: I CONFREJ [REQsent] id 14 len 8
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: O CONFREQ [REQsent] id 15 len 17
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: MagicNumber 0x605F69DF (0x0506605F69DF)
00:26:12: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:12: BR0:1 LCP: I CONFREQ [REQsent] id 15 len 14
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: MagicNumber 0x6073F500 (0x05066073F500)
00:26:12: BR0:1 LCP: O CONFNAK [REQsent] id 15 len 9
00:26:12: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:26:12: BR0:1 LCP: I CONFREJ [REQsent] id 15 len 8
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: O CONFREQ [REQsent] id 16 len 17
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: MagicNumber 0x605F69DF (0x0506605F69DF)
00:26:12: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:12: BR0:1 LCP: I CONFREQ [REQsent] id 16 len 14
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: MagicNumber 0x6073F500 (0x05066073F500)
00:26:12: BR0:1 LCP: O CONFREJ [REQsent] id 16 len 8
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: I CONFREJ [REQsent] id 16 len 8
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: O CONFREQ [REQsent] id 17 len 17
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: MagicNumber 0x605F69DF (0x0506605F69DF)
00:26:12: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:12: BR0:1 LCP: I CONFREQ [REQsent] id 17 len 14
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: MagicNumber 0x6073F500 (0x05066073F500)
00:26:12: BR0:1 LCP: O CONFREJ [REQsent] id 17 len 8
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: I CONFREJ [REQsent] id 17 len 8
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: O CONFREQ [REQsent] id 18 len 17
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: MagicNumber 0x605F69DF (0x0506605F69DF)
00:26:12: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:12: BR0:1 LCP: I CONFREQ [REQsent] id 18 len 14
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: MagicNumber 0x6073F500 (0x05066073F500)
00:26:12: BR0:1 LCP: O CONFREJ [REQsent] id 18 len 8
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: I CONFREJ [REQsent] id 18 len 8
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: O CONFREQ [REQsent] id 19 len 17
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: MagicNumber 0x605F69DF (0x0506605F69DF)
00:26:12: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:12: BR0:1 LCP: I CONFREQ [REQsent] id 19 len 14
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: MagicNumber 0x6073F500 (0x05066073F500)
00:26:12: BR0:1 LCP: O CONFREJ [REQsent] id 19 len 8
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: I CONFREJ [REQsent] id 19 len 8
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: O CONFREQ [REQsent] id 20 len 17
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: MagicNumber 0x605F69DF (0x0506605F69DF)
00:26:12: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:12: BR0:1 LCP: I CONFREQ [REQsent] id 20 len 14
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: MagicNumber 0x6073F500 (0x05066073F500)
00:26:12: BR0:1 LCP: O CONFREJ [REQsent] id 20 len 8
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: I CONFREJ [REQsent] id 20 len 8
00:26:12: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:12: BR0:1 LCP: Failed to negotiate with peer
00:26:12: BR0:1 LCP: State is Closed
00:26:12: BR0:1 PPP: Phase is DOWN [0 sess, 0 load]
00:26:12: BR0:1 PPP: Phase is ESTABLISHING, Passive Open [0 sess, 0
load]
00:26:12: BR0:1 LCP: State is Listen
00:26:12: %LINK-3-UPDOWN: Interface BRI0:1, changed state to down
00:26:12: BR0:1 LCP: State is Closed
00:26:12: BR0:1 PPP: Phase is DOWN [0 sess, 0 load]
00:26:16: %LINK-3-UPDOWN: Interface BRI0:1, changed state to up
00:26:16: BR0:1 PPP: Treating connection as a callout
00:26:16: BR0:1 PPP: Phase is ESTABLISHING, Active Open [0 sess, 0 load]
00:26:16: BR0:1 LCP: O CONFREQ [Closed] id 21 len 17
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: MagicNumber 0x605F79F5 (0x0506605F79F5)
00:26:16: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:16: BR0:1 LCP: I CONFREQ [REQsent] id 21 len 14
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: MagicNumber 0x60740517 (0x050660740517)
00:26:16: BR0:1 LCP: O CONFNAK [REQsent] id 21 len 9
00:26:16: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:26:16: BR0:1 LCP: I CONFREJ [REQsent] id 21 len 8
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: O CONFREQ [REQsent] id 22 len 17
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: MagicNumber 0x605F79F5 (0x0506605F79F5)
00:26:16: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:16: BR0:1 LCP: I CONFREQ [REQsent] id 22 len 14
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: MagicNumber 0x60740517 (0x050660740517)
00:26:16: BR0:1 LCP: O CONFNAK [REQsent] id 22 len 9
00:26:16: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:26:16: BR0:1 LCP: I CONFREJ [REQsent] id 22 len 8
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: O CONFREQ [REQsent] id 23 len 17
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: MagicNumber 0x605F79F5 (0x0506605F79F5)
00:26:16: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:16: BR0:1 LCP: I CONFREQ [REQsent] id 23 len 14
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: MagicNumber 0x60740517 (0x050660740517)
00:26:16: BR0:1 LCP: O CONFNAK [REQsent] id 23 len 9
00:26:16: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:26:16: BR0:1 LCP: I CONFREJ [REQsent] id 23 len 8
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: O CONFREQ [REQsent] id 24 len 17
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: MagicNumber 0x605F79F5 (0x0506605F79F5)
00:26:16: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:16: BR0:1 LCP: I CONFREQ [REQsent] id 24 len 14
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: MagicNumber 0x60740517 (0x050660740517)
00:26:16: BR0:1 LCP: O CONFNAK [REQsent] id 24 len 9
00:26:16: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:26:16: BR0:1 LCP: I CONFREJ [REQsent] id 24 len 8
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: O CONFREQ [REQsent] id 25 len 17
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: MagicNumber 0x605F79F5 (0x0506605F79F5)
00:26:16: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:16: BR0:1 LCP: I CONFREQ [REQsent] id 25 len 14
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: MagicNumber 0x60740517 (0x050660740517)
00:26:16: BR0:1 LCP: O CONFNAK [REQsent] id 25 len 9
00:26:16: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:26:16: BR0:1 LCP: I CONFREJ [REQsent] id 25 len 8
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: O CONFREQ [REQsent] id 26 len 17
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: MagicNumber 0x605F79F5 (0x0506605F79F5)
00:26:16: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:16: BR0:1 LCP: I CONFREQ [REQsent] id 26 len 14
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: MagicNumber 0x60740517 (0x050660740517)
00:26:16: BR0:1 LCP: O CONFREJ [REQsent] id 26 len 8
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: I CONFREJ [REQsent] id 26 len 8
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: O CONFREQ [REQsent] id 27 len 17
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: MagicNumber 0x605F79F5 (0x0506605F79F5)
00:26:16: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:16: BR0:1 LCP: I CONFREQ [REQsent] id 27 len 14
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: MagicNumber 0x60740517 (0x050660740517)
00:26:16: BR0:1 LCP: O CONFREJ [REQsent] id 27 len 8
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: I CONFREJ [REQsent] id 27 len 8
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: O CONFREQ [REQsent] id 28 len 17
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: MagicNumber 0x605F79F5 (0x0506605F79F5)
00:26:16: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:16: BR0:1 LCP: I CONFREQ [REQsent] id 28 len 14
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: MagicNumber 0x60740517 (0x050660740517)
00:26:16: BR0:1 LCP: O CONFREJ [REQsent] id 28 len 8
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: I CONFREJ [REQsent] id 28 len 8
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: O CONFREQ [REQsent] id 29 len 17
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: MagicNumber 0x605F79F5 (0x0506605F79F5)
00:26:16: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:16: BR0:1 LCP: I CONFREQ [REQsent] id 29 len 14
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: MagicNumber 0x60740517 (0x050660740517)
00:26:16: BR0:1 LCP: O CONFREJ [REQsent] id 29 len 8
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: I CONFREJ [REQsent] id 29 len 8
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: O CONFREQ [REQsent] id 30 len 17
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: MagicNumber 0x605F79F5 (0x0506605F79F5)
00:26:16: BR0:1 LCP: Callback 0 (0x0D0300)
00:26:16: BR0:1 LCP: I CONFREQ [REQsent] id 30 len 14
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: MagicNumber 0x60740517 (0x050660740517)
00:26:16: BR0:1 LCP: O CONFREJ [REQsent] id 30 len 8
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: I CONFREJ [REQsent] id 30 len 8
00:26:16: BR0:1 LCP: AuthProto PAP (0x0304C023)
00:26:16: BR0:1 LCP: Failed to negotiate with peer
00:26:16: BR0:1 LCP: State is Closed
00:26:16: BR0:1 PPP: Phase is DOWN [0 sess, 1 load]
00:26:16: BR0:1 PPP: Phase is ESTABLISHING, Passive Open [0 sess, 1
load]
00:26:16: BR0:1 LCP: State is Listen
00:26:16: %LINK-3-UPDOWN: Interface BRI0:1, changed state to down
00:26:16: BR0:1 LCP: State is Closed
00:26:16: BR0:1 PPP: Phase is DOWN [0 sess, 0 load]
                                                   r2#
r2#sh dialer

BRI0 - dialer type = ISDN

Dial String Successes Failures Last DNIS Last status
6539 3 0 00:00:30 successful
0 incoming call(s) have been screened.
0 incoming call(s) rejected for callback.

BRI0:1 - dialer type = ISDN
Idle timer (120 secs), Fast idle timer (20 secs)
Wait for carrier (30 secs), Re-enable (15 secs)
Dialer state is idle

BRI0:2 - dialer type = ISDN
Idle timer (120 secs), Fast idle timer (20 secs)
Wait for carrier (30 secs), Re-enable (15 secs)
Dialer state is idle
r2#

Thanks,
Danny

-----Original Message-----
From: Brian Dennis [mailto:brian@labforge.com]
Sent: Wednesday, July 09, 2003 4:21 PM
To: Andaluz, Danilo, Triaton/NA; ccielab@groupstudy.com
Subject: RE: ppp callback with pap authentication.

Danny,
Send us the output from the "debug ppp neg" command from one of the
routers. Also could you send the ISDN and username configuration from
both routers?

Brian Dennis, CCIE #2210 (R&S/ISP-Dial/Security)

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Danny.Andaluz@triaton-na.com
Sent: Wednesday, July 09, 2003 12:02 PM
To: ccielab@groupstudy.com
Subject: ppp callback with pap authentication.

Hey, Group. I am seeing an issue with ppp callback using pap
authentication. I have looked through the doc CD and what I have found
is that if you don't have a sent-username configured it uses the router
host name. The weird thing is, that without this line the callback would
not work. Without callback running, everything is fine with or without
this sent-username line. CCO says nothing about this line being
required. Could this be a possible bug with 12.2? Here are the links.
Maybe I misread. I have before, but take a look.

For the first link just do a search from the browser on "sent-username"
.

 
<http://cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fdi
al_r
/drfmupp.htm>
http://cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fdia
l_r/
drfmupp.htm

 
<http://cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fdi
al_c
/fnsprt10/dafcbddr.htm#1000893>
http://cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fdia
l_c/
fnsprt10/dafcbddr.htm#1000893
 
Here is the config on the bri0:
 
interface BRI0
 ip address xx.xx.xx.xx xx.xx.xx.xx
 encapsulation ppp
 dialer map ip xx.xx.xx.xx name r5 broadcast xxxx
 dialer-group 1
 isdn switch-type basic-ni
 isdn spid1 xxxxxxxxxx
 cdapi buffers regular 0
 cdapi buffers raw 0
 cdapi buffers large 0
 ppp callback request
 ppp authentication pap
 ppp pap sent-username r2 password 7 xxxxx
!
dialer-list 1 protocol ip permit
Thanks,
Danny



This archive was generated by hypermail 2.1.4 : Wed Aug 06 2003 - 06:52:33 GMT-3