Question for PPP call back

From: Yunjie Chen (ychen@houston.sns.slb.com)
Date: Tue Mar 11 2003 - 01:25:14 GMT-3


Hi, Folks....

Quick question for you regarding the ppp call back...
I tried to implement a PPP call back scenario as R4 and R5 call each other... R4 is the PPP call back requester....R5 supposely to initiate the call back....

R4 ping R5 won't work... until i did a ping from R5 to R4... then... R4 pings ok to R5.....

after that, The ping to each side works fine.... But.. when I show Debug isdn q931 and debug ppp authentication, debug ppp negotiation.... i read the debug output... the output doesn't look like the two routers are doing call back... they just talk to each other straightahead.....

do you mind take a look ... see the debug output and following and routers configuation in attachment

Thanks!

Yunjie

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 135.2.4.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/33/36 ms
r4#
r4#
r4#
*Mar 1 05:21:01: ISDN BR0/0: TX -> SETUP pd = 8 callref = 0x2C
*Mar 1 05:21:01: Bearer Capability i = 0x8890
*Mar 1 05:21:01: Channel ID i = 0x83
*Mar 1 05:21:01: Keypad Facility i = '8358662'
*Mar 1 05:21:01: ISDN BR0/0: RX <- CALL_PROC pd = 8 callref = 0xAC
*Mar 1 05:21:01: Channel ID i = 0x8A
*Mar 1 05:21:01: Locking Shift to Codeset 5
*Mar 1 05:21:01: Codeset 5 IE 0x2A i = 0x809402, '`=', 0x8307, '8358662', 0x8E0B20, 'Teltone', 0x20, '2', 0x20
*Mar 1 05:21:01: ISDN BR0/0: RX <- CONNECT pd = 8 callref = 0xAC
*Mar 1 05:21:01: ISDN BR0/0: TX -> CONNECT_ACK pd = 8 callref = 0x2C
%LINK-3-UPDOWN: Interface BRI0/0:2, changed state to up
*Mar 1 05:21:01: BR0/0:2 PPP: Treating connection as a callout
*Mar 1 05:21:01: BR0/0:2 PPP: Phase is ESTABLISHING, Active Open
*Mar 1 05:21:01: BR0/0:2 LCP: O CONFREQ [Closed] id 17 len 27
*Mar 1 05:21:01: BR0/0:2 LCP: AuthProto CHAP (0x0305C22305)
*Mar 1 05:21:01: BR0/0:2 LCP: MagicNumber 0x07FCFD3A (0x050607FCFD3A)
*Mar 1 05:21:01: BR0/0:2 LCP: Callback 0 (0x0D0300)
*Mar 1 05:21:01: BR0/0:2 LCP: MRRU 1524 (0x110405F4)
*Mar 1 05:21:01: BR0/0:2 LCP: EndpointDisc 1 Local (0x1305017234)
*Mar 1 05:21:01: BR0/0:2 LCP: I CONFREQ [REQsent] id 19 len 24
*Mar 1 05:21:01: BR0/0:2 LCP: AuthProto CHAP (0x0305C22305)
*Mar 1 05:21:01: BR0/0:2 LCP: MagicNumber 0x073573A8 (0x0506073573A8)
*Mar 1 05:21:01: BR0/0:2 LCP: MRRU 1524 (0x110405F4)
*Mar 1 05:21:01: BR0/0:2 LCP: EndpointDisc 1 Local (0x1305017235)
*Mar 1 05:21:01: BR0/0:2 LCP: O CONFACK [REQsent] id 19 len 24
*Mar 1 05:21:01: BR0/0:2 LCP: AuthProto CHAP (0x0305C22305)
*Mar 1 05:21:01: BR0/0:2 LCP: MagicNumber 0x073573A8 (0x0506073573A8)
*Mar 1 05:21:01: BR0/0:2 LCP: MRRU 1524 (0x110405F4)
*Mar 1 05:21:01: BR0/0:2 LCP: EndpointDisc 1 Local (0x1305017235)
*Mar 1 05:21:01: BR0/0:2 LCP: I CONFACK [ACKsent] id 17 len 27
*Mar 1 05:21:01: BR0/0:2 LCP: AuthProto CHAP (0x0305C22305)
*Mar 1 05:21:01: BR0/0:2 LCP: MagicNumber 0x07FCFD3A (0x050607FCFD3A)
*Mar 1 05:21:01: BR0/0:2 LCP: Callback 0 (0x0D0300)
*Mar 1 05:21:01: BR0/0:2 LCP: MRRU 1524 (0x110405F4)
*Mar 1 05:21:01: BR0/0:2 LCP: EndpointDisc 1 Local (0x1305017234)
*Mar 1 05:21:01: BR0/0:2 LCP: State is Open
*Mar 1 05:21:01: BR0/0:2 PPP: Phase is AUTHENTICATING, by both
*Mar 1 05:21:01: BR0/0:2 CHAP: O CHALLENGE id 16 len 23 from "r4"
*Mar 1 05:21:01: BR0/0:2 CHAP: I CHALLENGE id 17 len 23 from "r5"
*Mar 1 05:21:01: BR0/0:2 CHAP: O RESPONSE id 17 len 23 from "r4"
*Mar 1 05:21:01: BR0/0:2 CHAP: I SUCCESS id 17 len 4
*Mar 1 05:21:01: BR0/0:2 CHAP: I RESPONSE id 16 len 23 from "r5"
*Mar 1 05:21:01: BR0/0:2 CHAP: O SUCCESS id 16 len 4
%ISDN-6-CONNECT: Interface BRI0/0:2 is now connected to 8358662 r5
*Mar 1 05:21:01: ISDN BR0/0: TX -> DISCONNECT pd = 8 callref = 0x2C <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< how come not the RX terminated the connection and restart as the "call back"
*Mar 1 05:21:01: Cause i = 0x8090 - Normal call clearing
*Mar 1 05:21:01: ISDN BR0/0: RX <- RELEASE pd = 8 callref = 0xAC
*Mar 1 05:21:01: ISDN BR0/0: TX -> RELEASE_COMP pd = 8 callref = 0x2C
%LINK-3-UPDOWN: Interface BRI0/0:2, changed state to down
*Mar 1 05:21:01: BR0/0:2 PPP: Phase is TERMINATING
*Mar 1 05:21:01: BR0/0:2 LCP: State is Closed
*Mar 1 05:21:01: BR0/0:2 PPP: Phase is DOWN*Mar 1 05:21:51: BR0/0:1 PPP: Phase is ESTABLISHING, Passive Open
*Mar 1 05:21:51: BR0/0:1 LCP: State is Listen
%ISDN-6-DISCONNECT: Interface BRI0/0:1 disconnected from 8358662 r5, call lasted 230 seconds
*Mar 1 05:21:51: ISDN BR0/0: TX -> DISCONNECT pd = 8 callref = 0xE8
*Mar 1 05:21:51: Cause i = 0x8090 - Normal call clearing
*Mar 1 05:21:51: ISDN BR0/0: RX <- RELEASE pd = 8 callref = 0x68
*Mar 1 05:21:51: ISDN BR0/0: TX -> RELEASE_COMP pd = 8 callref = 0xE8
%LINK-3-UPDOWN: Interface BRI0/0:1, changed state to down
*Mar 1 05:21:51: BR0/0:1 LCP: State is Closed
*Mar 1 05:21:51: BR0/0:1 PPP: Phase is DOWN
%LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0/0:1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access1, changed state to down
%OSPF-5-ADJCHG: Process 64, Nbr 135.2.4.2 on BRI0/0 from FULL to DOWN, Neighbor Down: Dead timer expired

****************************************************

!
version 12.1
no service single-slot-reload-enable
service timestamps debug datetime
no service timestamps log uptime
no service password-encryption
!
hostname r4
!
!
username r5 password 0 cisco
!
!
!
!
memory-size iomem 15
no ip subnet-zero
no ip domain-lookup
!
isdn switch-type basic-ni
!
!
!
!
!
interface Ethernet0/0
 no ip address
 shutdown
!
interface Serial0/0
 no ip address
 encapsulation frame-relay
 shutdown
 frame-relay lmi-type cisco
!
interface TokenRing0/0
 no ip address
 shutdown
 ring-speed 16
!
interface BRI0/0
 ip address 135.2.4.1 255.255.252.0
 encapsulation ppp
 dialer idle-timeout 90
 dialer map ip 135.2.4.2 name r5 broadcast 8358662
 dialer load-threshold 1 outbound
 dialer-group 1
 isdn switch-type basic-ni
 isdn spid1 0835866101 8358661
 isdn spid2 0835866301 8358663
 no fair-queue
 ppp callback request
 ppp authentication chap
 ppp multilink
!
interface Serial0/1
 no ip address
 shutdown
!
router ospf 64
 log-adjacency-changes
 network 135.2.0.0 0.0.255.255 area 0
!
no ip classless
ip route 135.2.0.0 255.255.0.0 135.2.4.2 120
ip http server
!
access-list 101 deny ospf any any
access-list 101 permit ip any any
access-list 101 permit icmp any any
dialer-list 1 protocol ip list 101
no cdp run
!
!
line con 0
line aux 0
line vty 0 4
!
end

rack-1TS>2
[Resuming connection 2 to r5 ... ]

%LINK-3-UPDOWN: Interface BRI0/0:2, changed state
r5#sho run
Building configuration...

Current configuration : 1302 bytes
!
version 12.1
no service single-slot-reload-enable
no service timestamps debug uptime
no service timestamps log uptime
no service password-encryption
!
hostname r5
!
!
username r4 password 0 cisco
!
!
!
!
memory-size iomem 15
no ip subnet-zero
no ip domain-lookup
!
isdn switch-type basic-ni
!
!
!
!
!
interface Ethernet0/0
 no ip address
 shutdown
!
interface Serial0/0
 no ip address
 shutdown
!
interface TokenRing0/0
 no ip address
 shutdown
 ring-speed 16
!
interface BRI0/0
 ip address 135.2.4.2 255.255.252.0
 encapsulation ppp
 dialer callback-secure
 dialer idle-timeout 90
 dialer map ip 135.2.4.1 name r4 class dial1 broadcast 8358663
 dialer load-threshold 100 either
 dialer-group 1
 isdn switch-type basic-ni
 isdn spid1 0835866201 8358662
 isdn spid2 0835866401 8358664
 no fair-queue
 no cdp enable
 ppp callback accept
 ppp authentication chap callin
 ppp multilink
!
interface Serial0/1
 no ip address
 shutdown
!
router ospf 64
 log-adjacency-changes
 network 135.2.0.0 0.0.255.255 area 0
!
no ip classless
ip http server
!
!
map-class dialer dial1
 dialer callback-server username
access-list 101 deny ospf any any
access-list 101 permit ip any any
access-list 101 permit icmp any any
dialer-list 1 protocol ip list 101
no cdp run
!
!
line con 0
line aux 0
line vty 0 4
!
end



This archive was generated by hypermail 2.1.4 : Sat Apr 05 2003 - 08:51:36 GMT-3