From: miken (miken@sisna.com)
Date: Thu Jan 01 2004 - 05:08:49 GMT-3
Jeff,
Here is your config revised with my suggestions (and of course my spids):
hostname lab-r1
enable password cisco
!
username lab-r2 password 0 cisco
!
interface BRI0
ip address 172.16.12.1 255.255.255.0
encapsulation ppp
dialer map ip 172.16.12.2 name lab-r2 broadcast 8358661
+++++++++++++++++++++++++++ notice name now matches hostname of remote
router
dialer-group 1
isdn switch-type basic-ni
isdn spid1 0835866201
isdn spid2 0835866401
ppp authentication chap
!
dialer-list 1 protocol ip permit
lab-r1#show isdn st
Global ISDN Switchtype = basic-ni
ISDN BRI0 interface
dsl 0, interface ISDN Switchtype = basic-ni
Layer 1 Status:
ACTIVE
Layer 2 Status:
TEI = 103, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED
TEI = 104, Ces = 2, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED
TEI 103, ces = 1, state = 5(init)
spid1 configured, no LDN, spid1 sent, spid1 valid
Endpoint ID Info: epsf = 0, usid = 2, tid = 1
TEI 104, ces = 2, state = 5(init)
spid2 configured, no LDN, spid2 sent, spid2 valid
Endpoint ID Info: epsf = 0, usid = 4, tid = 1
Layer 3 Status:
0 Active Layer 3 Call(s)
Active dsl 0 CCBs = 0
The Free Channel Mask: 0x80000003
Total Allocated ISDN CCBs = 0
*********************************** Router #2
**********************************************
hostname lab-r2
!
enable password cisco
!
username lab-r1 password 0 cisco
!
interface BRI0/0
ip address 172.16.12.2 255.255.255.0
encapsulation ppp
dialer idle-timeout 40
dialer map ip 172.16.12.1 name lab-r1 broadcast 8358662
+++++++++++++++++++++++++++ notice name now matches hostname of remote
router
dialer-group 1
isdn switch-type basic-ni
isdn spid1 0835866101
isdn spid2 0835866301
ppp authentication chap
!
dialer-list 1 protocol ip permit
lab-r2#show isdn st
Global ISDN Switchtype = basic-ni
ISDN BRI0/0 interface
dsl 0, interface ISDN Switchtype = basic-ni
Layer 1 Status:
ACTIVE
Layer 2 Status:
TEI = 102, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED
TEI = 105, Ces = 2, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED
TEI 102, ces = 1, state = 5(init)
spid1 configured, no LDN, spid1 sent, spid1 valid
Endpoint ID Info: epsf = 0, usid = 1, tid = 1
TEI 105, ces = 2, state = 5(init)
spid2 configured, no LDN, spid2 sent, spid2 valid
Endpoint ID Info: epsf = 0, usid = 3, tid = 1
Layer 3 Status:
0 Active Layer 3 Call(s)
Active dsl 0 CCBs = 0
The Free Channel Mask: 0x80000003
Total Allocated ISDN CCBs = 0
********************************* Ping is successful
************************************************
lab-r1#ping 172.16.12.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.12.2, timeout is 2 seconds:
3w1d: %LINK-3-UPDOWN: Interface BRI0:1, changed state to up
3w1d: BR0:1 PPP: Treating connection as a callout
3w1d: BR0:1 CHAP: O CHALLENGE id 3 len 27 from "lab-r1"
3w1d: BR0:1 CHAP: I CHALLENGE id 3 len 27 from "lab-r2"
3w1d: BR0:1 CHAP: O RESPONSE id 3 len 27 from "lab-r1"
3w1d: BR0:1 CHAP: I SUCCESS id 3 len 4
3w1d: BR0:1 CHAP: I RESPONSE id 3 len 27 from "lab-r2"
3w1d: BR0:1 CHAP: O SUCCESS id 3 len 4.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 32/33/36 ms
lab-r1#
3w1d: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed state
to up
3w1d: %ISDN-6-CONNECT: Interface BRI0:1 is now connected to 8358661 lab-r2
*************************** Try to ping Router 1's own BRI interface is
unsuccessful ****************************************
lab-r1#ping 172.16.12.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.12.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
Debug ip packet detail:
3w1d: IP: s=172.16.12.1 (local), d=172.16.12.1 (BRI0), len 100, sending
3w1d: ICMP type=8, code=0
3w1d: IP: s=172.16.12.1 (local), d=172.16.12.1 (BRI0), len 100,
encapsulation failed +++++++++++++++++The big clue that you need a map
*********************************** Add a dialer map for the local ip
***************************************************
lab-r1#show run int bri0
Building configuration...
Current configuration : 299 bytes
!
interface BRI0
ip address 172.16.12.1 255.255.255.0
encapsulation ppp
dialer map ip 172.16.12.1 name lab-r2 ++++++++++++++++++++++++ map to the
local ip address
dialer map ip 172.16.12.2 name lab-r2 broadcast 8358661
dialer-group 1
isdn switch-type basic-ni
isdn spid1 0835866201
isdn spid2 0835866401
ppp authentication chap
end
*********************************** Ping is successful if layer 3 call is
already connected **************************************
lab-r1#ping 172.16.12.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.12.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 64/65/68 ms
Fun stuff!!
Mike Nygard, CCIE#12602
----- Original Message -----
From: "Jeff Nelson" <jnelson@rackspace.com>
To: <ccielab@groupstudy.com>
Sent: Wednesday, December 31, 2003 8:07 PM
Subject: ISDN config (maybe a simulator problem?)
> I guess I'm just looking for a reality check here, or at least some
closure ;-)
>
> I've got R1 connected to R2 via bri0/0 with a basic-ni1 simulator and
spids. Everything seems to work great save that traffic never seems to go
across. Attempting to ping the other side brings up BRI0/0:1 but OSPF never
forms an adjacency, it just times out after the idle-timeout and drops until
the next ospf hello to 224.0.0.5. I've stipped all the fancy configs from
the interfaces, but no change. The interface shows packets in and packets
out. Then I tried to ping the router's own BRI interface IP and it cannot
(is this normal?), so I'm like is GOD telling me to go drink on New Year's
Eve?
>
> but seriously, this has got to be just a simulator problem, right?
> lab-r2#sh int bri0/0 1
> BRI0/0:1 is up, line protocol is up
> Hardware is PQUICC BRI
> MTU 1200 bytes, BW 64 Kbit, DLY 20000 usec,
> reliability 255/255, txload 1/255, rxload 1/255
> Encapsulation PPP, loopback not set
> Keepalive set (10 sec)
> Time to interface disconnect: idle 00:00:32
> LCP Open
> Open: IPCP, CDPCP
> Last input 00:00:02, output 00:00:02, output hang never
> Last clearing of "show interface" counters 00:16:44
> Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
> Queueing strategy: weighted fair
> Output queue: 0/1000/64/0 (size/max total/threshold/drops)
> Conversations 0/1/16 (active/max active/max total)
> Reserved Conversations 0/0 (allocated/max allocated)
> Available Bandwidth 48 kilobits/sec
> 5 minute input rate 0 bits/sec, 0 packets/sec
> 5 minute output rate 0 bits/sec, 0 packets/sec
> 272 packets input, 4464 bytes, 0 no buffer
> Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
> 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
> 434 packets output, 24881 bytes, 0 underruns
> 0 output errors, 0 collisions, 0 interface resets
> 0 output buffer failures, 0 output buffers swapped out
> 24 carrier transitions
>
>
> lab-r2#sh isdn status
> Global ISDN Switchtype = basic-ni
> ISDN BRI0/0 interface
> dsl 0, interface ISDN Switchtype = basic-ni
> Layer 1 Status:
> ACTIVE
> Layer 2 Status:
> TEI = 66, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED
> TEI = 67, Ces = 2, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED
> TEI 66, ces = 1, state = 8(established)
> spid1 configured, no LDN, spid1 sent, spid1 valid
> Endpoint ID Info: epsf = 0, usid = 0, tid = 3
> TEI 67, ces = 2, state = 8(established)
> spid2 configured, no LDN, spid2 sent, spid2 valid
> Endpoint ID Info: epsf = 0, usid = 0, tid = 7
> Layer 3 Status:
> 1 Active Layer 3 Call(s)
> CCB:callid=801F, sapi=0, ces=1, B-chan=1, calltype=DATA
> Active dsl 0 CCBs = 1
> The Free Channel Mask: 0x80000002
> Total Allocated ISDN CCBs = 1
>
> ping 172.16.12.1
>
> Type escape sequence to abort.
> Sending 5, 100-byte ICMP Echos to 172.16.12.1, timeout is 2 seconds:
>
> 2w1d: ISDN BR0/0: TX -> SETUP pd = 8 callref = 0x20
> 2w1d: Bearer Capability i = 0x8890
> 2w1d: Channel ID i = 0x83
> 2w1d: Keypad Facility i = '2105550001'
> 2w1d: ISDN BR0/0: RX <- CALL_PROC pd = 8 callref = 0xA0
> 2w1d: Channel ID i = 0x89
> 2w1d: ISDN BR0/0: RX <- CONNECT pd = 8 callref = 0xA0
> 2w1d: %LINK-3-UPDOWN: Interface BRI0/0:1, changed state to up
> 2w1d: ISDN BR0/0: TX -> CONNECT_ACK pd = 8 callref = 0x20..
> 2w1d: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0/0:1, changed
state to up.
> 2w1d: %ISDN-6-CONNECT: Interface BRI0/0:1 is now connected to 2105550001
lab-r1..
> Success rate is 0 percent (0/5)
>
> lab-r2#sh run int bri0/0
> Building configuration...
>
> Current configuration : 287 bytes
> !
> interface BRI0/0
> ip address 172.16.12.2 255.255.255.0
> encapsulation ppp
> dialer idle-timeout 40
> dialer map ip 172.16.12.1 name r1 broadcast 2105550001
> dialer-group 1
> isdn switch-type basic-ni
> isdn spid1 21055500021
> isdn spid2 21055500022
> ppp authentication chap
> end
>
> lab-r1#sh run int bri0/0
> Building configuration...
>
> Current configuration : 253 bytes
> !
> interface BRI0/0
> ip address 172.16.12.1 255.255.255.0
> encapsulation ppp
> dialer map ip 172.16.12.2 name r2 broadcast 2105550002
> dialer-group 1
> isdn switch-type basic-ni
> isdn spid1 21055500011
> isdn spid2 21055500012
> ppp authentication chap
> end
>
>
> --the confus-ed
> j
>
> _______________________________________________________________________
> Please help support GroupStudy by purchasing your study materials from:
> http://shop.groupstudy.com
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Mon Feb 02 2004 - 09:07:35 GMT-3