From: Charles Huang (CharlesNY2000@xxxxxxxxx)
Date: Sat Oct 27 2001 - 20:17:47 GMT-3
Thank you Joe. it worked
here's the config and debug if anyone is interested
! ppp callback client
!
hostname r4
!
username r2 password 0 ccie
!
interface BRI0/0
no ip address
encapsulation ppp
dialer pool-member 44
isdn switch-type basic-ni
isdn spid1 0835866201 8358662
isdn spid2 0835866401 8358664
ppp authentication chap
!
interface Dialer3
ip address 192.168.3.4 255.255.255.0
encapsulation ppp
dialer pool 44
dialer remote-name r2
dialer idle-timeout 30
dialer string 8358661
dialer-group 1
ppp callback request
ppp authentication chap
!
dialer-list 1 protocol ip permit
! ppp callback server
!
hostname r2
!
username r4 password 0 ccie
!
interface BRI0/0
no ip address
encapsulation ppp
dialer pool-member 123
isdn switch-type basic-ni
isdn spid1 0835866101 8358661
isdn spid2 0835866301 8358663
ppp authentication chap
!
interface Dialer1
ip address 192.168.3.2 255.255.255.0
encapsulation ppp
dialer pool 123
dialer remote-name r4
dialer callback-secure
dialer idle-timeout 30
dialer string 8358662 class CALLBACK
dialer caller 8358662 callback
dialer-group 1
ppp callback accept
ppp authentication chap
!
map-class dialer CALLBACK
dialer callback-server username
!
dialer-list 1 protocol ip permit
r4#
r4#
r4#debug dialer
Dial on demand events debugging is on
r4#ping 192.168.3.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.3.2, timeout is 2 seconds:
Oct 27 19:12:31: BR0/0 DDR: rotor dialout [priority]
Oct 27 19:12:31: BR0/0 DDR: Dialing cause ip (s=192.168.3.4, d=192.168.3.2)
Oct 27 19:12:31: BR0/0 DDR: Attempting to dial 8358661
Oct 27 19:12:31: %LINK-3-UPDOWN: Interface BRI0/0:1, changed state to up
Oct 27 19:12:31: BR0/0:1: interface must be fifo queue, force fifo
Oct 27 19:12:31: %DIALER-6-BIND: Interface BR0/0:1 bound to profile Di3
Oct 27 19:12:31: BR0/0:1 DDR: Callback negotiated - waiting for server
disconnect
Oct 27 19:12:32: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0/0:1,
changed state to up
Oct 27 19:12:33: %ISDN-6-DISCONNECT: Interface BRI0/0:1 disconnected from
8358661 r2, call lasted 1 seconds
Oct 27 19:12:33: %LINK-3-UPDOWN: Interface BRI0/0:1, changed state to down
Oct 27 19:12:33: DDR: Callback client for r2 8358661 created
Oct 27 19:12:33: BR0/0 DDR: has total 0 call(s), dial_out 0, dial_in 0
Oct 27 19:12:33: BR0/0:1 DDR: disconnecting call.
Oct 27 19:12:33: %DIALER-6-UNBIND: Interface BR0/0:1 unbound from profile Di3
Oct 27 19:12:34: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0/0:1,
changed state to down....
Success rate is 0 percent (0/5)
r4#
Oct 27 19:12:47: %LINK-3-UPDOWN: Interface BRI0/0:1, changed state to up
Oct 27 19:12:47: BR0/0:1: interface must be fifo queue, force fifo
Oct 27 19:12:47: %DIALER-6-BIND: Interface BR0/0:1 bound to profile Di3
Oct 27 19:12:47: BR0/0:1 DDR: dialer protocol up
Oct 27 19:12:47: BR0/0:1 DDR: Callback received from r2 8358661
Oct 27 19:12:47: DDR: Freeing callback to r2 8358661
Oct 27 19:12:48: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0/0:1,
changed state to up
Oct 27 19:12:53: %ISDN-6-CONNECT: Interface BRI0/0:1 is now connected to
8358661 r2
r4#ping 192.168.3.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.3.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/40/69 ms
r4#
----- Original Message -----
From: Joe Lee
To: Charles Huang ; ccielab@groupstudy.com
Sent: Saturday, October 27, 2001 7:08 PM
Subject: Re: PPP callback Server with Dialer Profile
Hi,
I use this command in the dialer profile and it can callback.
However, you need to know the caller's number.
dialer caller number callback
Joe
----- Original Message -----
From: "Charles Huang" <CharlesNY2000@Yahoo.Com>
To: <ccielab@groupstudy.com>
Sent: Sunday, October 28, 2001 6:21 AM
Subject: PPP callback Server with Dialer Profile
> Hi,
>
> Many of the PPP callback secnarios I found on CCO uses Legacy DDR. So I
tried
> PPP callback using Dialer Profile with no luck. Then I convert it to
Legacy
> DDR and it works. I was wondering if PPP callback can be configured
using
> Dialer Profile. Below are part of my configs. Maybe somebody can point
out
> where I did wrong.
>
> Thanks
>
> ! ppp callback client
> !
> hostname r4
> !
> username r2 password 0 ccie
> !
> interface BRI0/0
> no ip address
> encapsulation ppp
> dialer pool-member 44
> isdn switch-type basic-ni
> isdn spid1 0835866201 8358662
> isdn spid2 0835866401 8358664
> ppp authentication chap
> !
> interface Dialer3
> ip address 192.168.3.4 255.255.255.0
> encapsulation ppp
> dialer pool 44
> dialer remote-name r2
> dialer idle-timeout 30
> dialer string 8358661
> dialer-group 1
> ppp callback request
> ppp authentication chap
> !
> dialer-list 1 protocol ip permit
>
>
>
>
> ! ppp callback server
> !
> hostname r2
> !
> username r4 password 0 ccie
> !
> interface BRI0/0
> no ip address
> encapsulation ppp
> dialer pool-member 123
> isdn switch-type basic-ni
> isdn spid1 0835866101 8358661
> isdn spid2 0835866301 8358663
> ppp authentication chap
> !
> interface Dialer1
> ip address 192.168.3.2 255.255.255.0
> encapsulation ppp
> dialer pool 123
> dialer remote-name r4
> dialer callback-secure
> dialer idle-timeout 30
> dialer string 8358662 class CALLBACK
> dialer-group 1
> ppp callback accept
> ppp authentication chap
> !
> map-class dialer CALLBACK
> dialer callback-server username
> !
> dialer-list 1 protocol ip permit
This archive was generated by hypermail 2.1.4 : Thu Jun 20 2002 - 22:33:26 GMT-3