RE: PAP with dialer profiles

From: Feliz, Edgar (Edgar.Feliz@xxxxxxxx)
Date: Thu Aug 17 2000 - 23:53:39 GMT-3


   
I was told not to use the PPP authentication PAP command in the main BRI
interface.

EF

-----Original Message-----
From: shotcaller30 [mailto:shotcaller30@hotmail.com]
Sent: Thursday, August 17, 2000 10:38 PM
To: ccielab@groupstudy.com
Subject: PAP with dialer profiles

I searched through the archives and tried 50 different things to get this to
work, but I cannot get PAP authentication to work with dialer profiles. I
upgraded both routers to "stable?" 12.0 code and still nothing. Has anybody
gotten this to work?

Thanks

-Brian

r3

username r5 password 0 cisco

interface BRI0/0
 no ip address
 no ip directed-broadcast
 encapsulation ppp
 dialer pool-member 1
 isdn switch-type basic-ni
 isdn spid1 21248033400000
 isdn spid2 21248033410000
 ppp authentication pap
!
interface Dialer0
 ip address 172.16.153.2 255.255.255.0
 no ip directed-broadcast
 encapsulation ppp
 dialer remote-name r5
 dialer idle-timeout 60
 dialer pool 1
 dialer-group 1
 no peer neighbor-route
 pulse-time 0
 ppp authentication pap
 ppp pap sent-username r3 password 7 070C285F4D06

r5

username r3 password 0 cisco

interface BRI0
 no ip address
 no ip directed-broadcast
 encapsulation ppp
 dialer pool-member 1
 isdn switch-type basic-ni
 isdn spid1 21248065800101
 isdn spid2 21248042810101
 ppp authentication pap
!
interface Dialer0
 ip address 172.16.153.1 255.255.255.0
 no ip directed-broadcast
 encapsulation ppp
 ip ospf demand-circuit
 dialer remote-name r3
 dialer idle-timeout 60
 dialer string 4803340
 dialer pool 1
 dialer-group 1
 no peer neighbor-route
 ppp authentication pap
 ppp pap sent-username r5 password 7 05080F1C2243

Debug ppp negotiation from r3

1d22h: BR0/0:1 LCP: MagicNumber 0xBA6C849D (0x0506BA6C849D)
1d22h: BR0/0:1 LCP: I CONFNAK [ACKsent] id 77 len 9
1d22h: BR0/0:1 LCP: AuthProto CHAP (0x0305C22305)
1d22h: BR0/0:1 PPP: Closing connection because remote won't authenticate
1d22h: BR0/0:1 LCP: O TERMREQ [ACKsent] id 78 len 4
1d22h: BR0/0:1 LCP: O CONFREQ [TERMsent] id 79 len 14
1d22h: BR0/0:1 LCP: AuthProto PAP (0x0304C023)
1d22h: BR0/0:1 LCP: MagicNumber 0xBA6C849D (0x0506BA6C849D)
1d22h: BR0/0:1 LCP: I TERMACK [TERMsent] id 78 len 4
1d22h: BR0/0:1 LCP: State is Closed
1d22h: BR0/0:1 PPP: Phase is DOWN
1d22h: BR0/0:1 PPP: Treating connection as a callin
1d22h: BR0/0:1 PPP: Phase is ESTABLISHING, Passive Open
1d22h: BR0/0:1 LCP: State is Listen
1d22h: %DIALER-6-UNBIND: Interface BRI0/0:1 unbound from profile Dialer0
1d22h: BR0/0:1 PPP: Phase is ESTABLISHING, Passive Open
1d22h: %LINK-3-UPDOWN: Interface BRI0/0:1, changed state to down
1d22h: BR0/0:1 LCP: State is Closed
1d22h: BR0/0:1 PPP: Phase is DOWN

debug ppp auth from r3

r3#
1d22h: %LINK-3-UPDOWN: Interface BRI0/0:1, changed state to down
1d22h: ISDN BR0/0: Incoming call id = 0x4A, dsl 0
1d22h: ISDN BR0/0: received HOST_INCOMING_CALL call_id 0x4A
1d22h: ISDN BR0/0: HOST_INCOMING_CALL: voice_answer_data = FALSE
1d22h: %DIALER-6-BIND: Interface BRI0/0:1 bound to profile Dialer0
1d22h: ISDN BR0/0: isdn_send_connect(): msg 4, call id 0x4A, ces 1 bchan 0,
call type DATA
1d22h: %LINK-3-UPDOWN: Interface BRI0/0:1, changed state to up
1d22h: ISDN BR0/0: received HOST_CONNECT call_id 0x4A
1d22h: ISDN BR0/0: Event: Connected to 2124806590 on B1 at 64 Kb/s
1d22h: %DIALER-6-UNBIND: Interface BRI0/0:1 unbound from profile Dialer0
1d22h: ISDN BR0/0: Event: Hangup call to call id 0x4A ces = 1
1d22h: ISDN BR0/0: process_disconnect(): call id 0x4A, call type is DATA,
b_idb 0x8117E3C0, ces 1
1d22h: ISDN BR0/0: received HOST_DISCONNECT_ACK call_id 0x813E9DD8
1d22h: ISDN BR0/0: HOST_DISCONNECT_ACK: call type is DATA
r3#
1d22h: %LINK-3-UPDOWN: Interface BRI0/0:1, changed state to down
r3#



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