RE: Need help on ISDN Callback using PAP

From: Janto Cin (jantocin@datacomm.co.id)
Date: Thu Oct 31 2002 - 23:57:39 GMT-3


thanks for the answer.
i use the map-class dialer cheaper for CHAP authentication and it
works.
do we have to use map-class dialer for PAP authentication?

-----Original Message-----
From: aansar@sscomp.com.sg [mailto:aansar@sscomp.com.sg]
Sent: Friday, November 01, 2002 9:41 AM
To: Janto Cin
Subject: Re: Need help on ISDN Callback using PAP

check R5 config , you are not calling class "cheaper" in the dialer map
command .
i am not sure, rest config is fine

"Janto Cin" <jantocin@datacomm.co.id>
Sent by: nobody@groupstudy.com
01-11-02 10:26 AM
Please respond to "Janto Cin"

        To: <ccielab@groupstudy.com>
        cc:
        Subject: Need help on ISDN Callback using PAP

Hi Group,

I have 2 routers (R2 and R5) connect using ISDN.
The objective is to have R5 callback to R2, the authentication using
PAP.
I have tried with CHAP and it works.
Below the configuration for both routers and debug dialer events and
debug ppp authentication.

R2
====
hostname R2
username R5 password 0 isdn
isdn switch-type basic-dms100
interface BRI0/0
ip address 216.30.25.2 255.255.255.224
encapsulation ppp
dialer idle-timeout 60
dialer wait-for-carrier-time 10
dialer map ip 216.30.25.5 name R5 broadcast 8358662
dialer-group 1
isdn switch-type basic-dms100
isdn spid1 0835866101
isdn spid2 0835866301
ppp callback request
ppp authentication pap
ppp pap sent-username R2 password 7 060F1C2542

dialer-list 1 protocol ip permit

R2#p 216.30.25.5

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 216.30.25.5, timeout is 2 seconds:

00:39:39: BR0/0 DDR: Dialing cause ip (s=216.30.25.2, d=216.30.25.5)
00:39:39: BR0/0 DDR: Attempting to dial 8358662
00:39:176093659135: %LINK-3-UPDOWN: Interface BRI0/0:1, changed state to
up
00:39:173946175461: BR0/0:1 PPP: Treating connection as a callout
00:39:40: BR0/0:1 PAP: O AUTH-REQ id 16 len 12 from "R2"
00:39:40: BR0/0:1 PAP: I AUTH-ACK id 16 len 5
00:39:40: BR0/0:1 PAP: I AUTH-REQ id 10 len 12 from "R5"
00:39:40: BR0/0:1 PAP: Authenticating peer R5
00:39:40: BR0/0:1 PAP: O AUTH-ACK id 10 len 5
00:39:40: BR0/0:1 DDR: Callback negotiated - Disconnecting now
00:39:40: BR0/0:1 DDR: disconnecting call.
00:39:40: %ISDN-6-CONNECT: Interface BRI0/0:1 is now connected to
8358662 R5
00:39:171798691844: %LINK-3-UPDOWN: Interface BRI0/0:1, changed state to
down
00:39:171798691840: DDR: Callback client for R5 8358662 created
00:39:171798691848: BR0/0:1 DDR: disconnecting call....
Success rate is 0 percent (0/5)
R2#
00:40:05: DDR: No callback received from R5 8358662
00:40:05: DDR: Freeing callback to R5 8358662
R2#

R5
====
hostname R5
username R2 password 0 isdn
isdn switch-type basic-dms100
interface BRI0/0
ip address 216.30.25.5 255.255.255.224
encapsulation ppp
dialer callback-secure
dialer idle-timeout 60
dialer enable-timeout 5
dialer map ip 216.30.25.2 name R2 broadcast 8358661
dialer-group 1
isdn switch-type basic-dms100
isdn spid1 0835866201
isdn spid2 0835866401
ppp callback accept
ppp authentication pap
ppp pap sent-username R5 password 7 0706324840

map-class dialer cheaper
dialer callback-server username

dialer-list 1 protocol ip permit

R5#
00:39:35: %LINK-3-UPDOWN: Interface BRI0/0:1, changed state to up
R5#
00:39:35: BR0/0:1 PPP: Treating connection as a callin
00:39:36: BR0/0:1 PAP: I AUTH-REQ id 16 len 12 from "R2"
00:39:36: BR0/0:1 PAP: Authenticating peer R2
00:39:36: BR0/0:1 PAP: O AUTH-ACK id 16 len 5
00:39:36: BR0/0:1 PAP: O AUTH-REQ id 10 len 12 from "R5"
00:39:36: BR0/0:1 PAP: I AUTH-ACK id 10 len 5
00:39:36: BR0/0:1 DDR: No callback configured for user R2.
00:39:36: BR0/0:1 DDR: disconnecting call
00:39:36: %ISDN-6-CONNECT: Interface BRI0/0:1 is now connected to
8358661 R2
00:39:158913789951: %LINK-3-UPDOWN: Interface BRI0/0:1, changed state to
down
R5#
00:39:154685977620: BR0/0:1 DDR: disconnecting call
R5#

The IOS is 12.1.17.
Thanks in advance.

Janto

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002

--- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002

--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002



This archive was generated by hypermail 2.1.4 : Tue Dec 03 2002 - 07:22:50 GMT-3