cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
591
Views
0
Helpful
10
Replies

Dialer Map

abbas.ali
Level 1
Level 1

I don't what I am doing wrong, but apparently it is something to do with either Cisco 4500 router running ios 11.3.

In router 1: I have DN: 963-5000 SPID1: 25696350000101

DN: 963-5001 SPID2: 25696350010101

In router 2: I have DN: 963-6000 SPID1: 25696360000101

DN: 963-6001 SPID2: 25696360010101

___________________________________________________

Here is the configs for router 1 2

hostname r1

int bri0

ip address 10.0.0.1 255.0.0.0

encapsulation ppp

dialer map ip 10.0.0.2 name r2 broadcast 9636000

dialer-group 1

dialer-list 1 protocol ip permit

___________________________________

hostname r2

int bri0

ip address 10.0.0.2 255.0.0.0

encapsulation ppp

dialer map ip 10.0.0.1 name r1 broadcast 9635000

dialer-group 1

dialer-list 1 protocol ip permit

______________________________________________

First Issue:

if I ping r2 (10.0.0.2), it will time out, however my interface gets connected. if I do show int bri 0 1 2, it will show bri0:1 is up line protocol is up, but ping will not go through. Because of frustration, I changed the Dial in number in both routers from 9635000 and 9636000 to 2nd Dial in numbers 963-5001 and 963-6001. ping was successfull. I don't know why it will not work on primary DNs.

Second issue:

If I only want r1 to initiate a call, all I have to do remove dialer map command from the r2 router and that should only allow r1 to initiate a call, pretty basic that is what I thought so, but I guess I was wrong. If I do that I can get my interface bri0:1 to up/up mode, but ping will not go through. Some how these 4500 routers want dialer map commands on both routers along with only Second DNs.

I spent the whole week in lab troubleshooting this issue, but finally gave up. I even check the logs in ISDN switch and it accepts the calls on it's interface, and that made me think that it is not the switch. However I could be wrong.

Can someone please help? I am really frustrated.

Thanks in advance,

Regards,

10 Replies 10

makchitale
Level 6
Level 6

The configs look good, however I would go with an authentication scheme (though authentication is optional in PPP)....."ppp authen chap " & have appropriate username/ password on either end.

First issue: Double check with sh isdn active / sh isdn status / show dialer map on both ends to confirm that the call is actually UP (Frankly sh int br0:1 should be good enough)....if they confirm that the call is UP then we need to run "debug ip packet detailed" when a ping is initiated.

deb isdn q931/ deb ppp nego with both sets of calling numbers will be useful.

I am assuming your routing statements are ok since we can ping with the second set of numbers. Note, in such issues we will mostly see an "encap failure" in debug ip packet det when we ping the peer.

Second issue: If you do not want the other end to initiate a call, remove the string from the dialer map command, ie,

dialer map ip 10.0.0.1 name r1 broadcast

Thanks, Mak.

Thanks Mark ! I will try your suggestion, and let you know.

Thanks Nilesh and Mark.

Mark ! I tried the suggestions, but still no luck. I can bring my channel to up, but ping doesn't go through if I don't configure the DN on 2nd router. I did configure the mapping statement as you suggested and omitted the DN, but no luck. Somehow these 2 routers want DN on both routers which is really confusing.

Nilesh, I exactly followed the documentation link, but no success. It's really frustrating. I would have understood if the channel would not comeup by configuring one-way call, but the issue is that the channel does comeup, but the routing wouldn't work. It's a direclty connected neighbor's interface, and I should be able to ping it.

Does any of have a lab where you can simulate this probem?

Thanks

Can you please post the running configs on both end & debugs when the call connects with the first set of numbers (but cannot ping)

deb isdn q931/ deb ppp nego/ deb ip packet detail ....also the sh run / sh ver.

Thanks, Mak.

Thanks Mark ! Here are the requested information:

Debug output of r1:

r1#ping 172.16.10.2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.10.2, timeout is 2 seconds:

2d18h: IP: s=172.16.10.1 (local), d=172.16.10.2 (BRI0), len 100, sending

2d18h: ICMP type=8, code=0

2d18h: IP: s=172.16.10.1 (local), d=172.16.10.2 (BRI0), len 100, encapsulation f

ailed

2d18h: ICMP type=8, code=0

2d18h: ISDN BR0: TX -> SETUP pd = 8 callref = 0x07

2d18h: Bearer Capability i = 0x8890

2d18h: Channel ID i = 0x83

2d18h: Keypad Facility i = '9636000'

2d18h: ISDN BR0: RX <- CALL_PROC pd = 8 callref = 0x87

2d18h: Channel ID i = 0x89

2d18h: ISD.N BR0: RX <- CONNECT pd = 8 callref = 0x87

2d18h: Channel ID i = 0x89

2d18h: %LINK-3-UPDOWN: Interface BRI0:1, changed state to up

2d18h: %ISDN-6-CONNECT: Interface BRI0:1 is now connected to 9636000

2d18h: BR0:1 PPP: Treating connection as a callout

2d18h: BR0:1 PPP: Phase is ESTABLISHING, Active Open

2d18h: BR0:1 LCP: O CONFREQ [Closed] id 53 len 10

2d18h: BR0:1 LCP: MagicNumber 0xEE4EE402 (0x0506EE4EE402)

2d18h: ISDN BR0: TX -> CONNECT_ACK pd = 8 callref = 0x07

2d18h: BR0:1 LCP: I CONFREQ [REQsent] id 1 len 10

2d18h: BR0:1 LCP: MagicNumber 0xEE4F3CB8 (0x0506EE4F3CB8)

2d18h: BR0:1 LCP: O CONFACK [REQsent] id 1 len 10

2d18h: BR0:1 LCP: MagicNumber 0xEE4F3CB8 (0x0506EE4F3CB8)

2d18h: BR0:1 LCP: I CONFACK [ACKsent] id 53 len 10

2d18h: BR0:1 LCP: MagicNumber 0xEE4EE402 (0x0506EE4EE402)

2d18h: BR0:1 LCP: State is Open

2d18h: BR0:1 PPP: Phase is UP

2d18h: BR0:1 IPCP: O CONFREQ [Closed] id 1 len 10

2d18h: BR0:1 IPCP: Address 172.16.10.1 (0x0306AC100A01)

2d18h: BR0:1 CD.PCP: O CONFREQ [Closed] id 1 len 4

2d18h: BR0:1 IPCP: I CONFREQ [REQsent] id 1 len 10

2d18h: BR0:1 IPCP: Address 172.16.10.2 (0x0306AC100A02)

2d18h: BR0:1 IPCP: O CONFACK [REQsent] id 1 len 10

2d18h: BR0:1 IPCP: Address 172.16.10.2 (0x0306AC100A02)

2d18h: BR0:1 CDPCP: I CONFREQ [REQsent] id 1 len 4

2d18h: BR0:1 CDPCP: O CONFACK [REQsent] id 1 len 4

2d18h: BR0:1 IPCP: I CONFACK [ACKsent] id 1 len 10

2d18h: BR0:1 IPCP: Address 172.16.10.1 (0x0306AC100A01)

2d18h: BR0:1 IPCP: State is Open

2d18h: BR0:1 CDPCP: I CONFACK [ACKsent] id 1 len 4

2d18h: BR0:1 CDPCP: State is Open

2d18h: BR0 IPCP: Install route to 172.16.10.2

2d18h: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed state to

up

2d18h: IP: s=172.16.10.1 (local), d=172.16.10.2 (BRI0), len 100, sending

2d18h: ICMP type=8, code=0

2d18h: IP: s=172.16.10.1 (local), d=172.16.10.2 (BRI0), len 100, sending

2d18h: ICMP type=8, code=0.

2d18h: IP: s=172.16.10.1 (local), d=172.16.10.2 (BRI0), len 100, sending

2d18h: ICMP type=8, code=0.

2d18h: %ISDN-6-CONNECT: Interface BRI0:1 is now connected to 9636000 r2

2d18h: IP: s=172.16.10.1 (local), d=172.16.10.2 (BRI0), len 100, sending

2d18h: ICMP type=8, code=0.

Success rate is 0 percent (0/5)

r1#ping 172.16.10.2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.10.2, timeout is 2 seconds:

2d18h: IP: s=172.16.10.1 (local), d=172.16.10.2 (BRI0), len 100, sending

2d18h: ICMP type=8, code=0.

2d18h: IP: s=172.16.10.1 (local), d=172.16.10.2 (BRI0), len 100, sending

2d18h: ICMP type=8, code=0.

2d18h: IP: s=172.16.10.1 (local), d=172.16.10.2 (BRI0), len 100, sending

2d18h: ICMP type=8, code=0.

2d18h: IP: s=172.16.10.1 (local), d=172.16.10.2 (BRI0), len 100, sending

2d18h: ICMP type=8, code=0.

2d18h: IP: s=172.16.10.1 (local), d=172.16.10.2 (BRI0), len 100, sending

2d18h: ICMP type=8, code=0.

Success rate is 0 percent (0/5)

r1#un all

All possible debugging has been turned off

r1#sh int bri 0 1 2

BRI0:1 is up, line protocol is up

Hardware is BRI

MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, rely 255/255, load 1/255

Encapsulation PPP, loopback not set, keepalive set (10 sec)

Time to interface disconnect: idle 00:01:46

LCP Open

Open: IPCP, CDPCP

Last input 00:00:04, output 00:00:04, output hang never

Last clearing of "show interface" counters never

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/256 (active/max active/max total)

Reserved Conversations 0/0 (allocated/max allocated)

5 minute input rate 0 bits/sec, 0 packets/sec

5 minute output rate 0 bits/sec, 0 packets/sec

20 packets input, 344 bytes, 0 no buffer

Received 0 broadcasts, 0 runts, 0 giants, 0 throttles

1 input errors, 0 CRC, 0 frame, 1 overrun, 0 ignored, 0 abort

75 packets output, 1864 bytes, 1 underruns

1 output errors, 0 collisions, 0 interface resets

0 output buffer failures, 0 output buffers swapped out

13 carrier transitions

BRI0:2 is down, line protocol is down

Hardware is BRI

MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, rely 255/255, load 1/255

Encapsulation PPP, loopback not set, keepalive set (10 sec)

LCP Closed

Closed: IPCP, CDPCP

Last input never, output never, output hang never

Last clearing of "show interface" counters never

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/0/256 (active/max active/max total)

Reserved Conversations 0/0 (allocated/max allocated)

5 minute input rate 0 bits/sec, 0 packets/sec

5 minute output rate 0 bits/sec, 0 packets/sec

0 packets input, 0 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

0 packets output, 0 bytes, 0 underruns

0 output errors, 0 collisions, 0 interface resets

0 output buffer failures, 0 output buffers swapped out

0 carrier transitions

r1#show dialer

BRI0 - dialer type = ISDN

Dial String Successes Failures Last called Last status

9636000 3 0 00:00:53 successful

0 incoming call(s) have been screened.

0 incoming call(s) rejected for callback.

BRI0:1 - dialer type = ISDN

Idle timer (120 secs), Fast idle timer (20 secs)

Wait for carrier (30 secs), Re-enable (15 secs)

Dialer state is data link layer up

Dial reason: ip (s=172.16.10.1, d=172.16.10.2)

Time until disconnect 96 secs

Connected to 9636000 (r2)

BRI0:2 - dialer type = ISDN

Idle timer (120 secs), Fast idle timer (20 secs)

Wait for carrier (30 secs), Re-enable (15 secs)

Dialer state is idle

BRI1 - dialer type = ISDN

r1#

2d18h: %ISDN-6-DISCONNECT: Interface BRI0:1 disconnected from 9636000 r2, call

lasted 119 seconds

2d18h: isdn_Call_disconnect()

2d18h: %LINK-3-UPDOWN: Interface BRI0:1, changed state to down

2d18h: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed state to down

r1#

Show ip route output:

r1#show ip route

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default

U - per-user static route, o - ODR

Gateway of last resort is not set

172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks

C 172.16.10.2/32 is directly connected, BRI0

C 172.16.10.0/24 is directly connected, BRI0

Note: It maps a host route.

sh run and sh ver of r1

r1#wr t

Building configuration...

Current configuration:

!

version 12.0

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname r1

!

!

ip subnet-zero

no ip domain-lookup

isdn switch-type basic-ni

!

!

!

interface Ethernet0

no ip address

no ip directed-broadcast

shutdown

media-type 10BaseT

!

interface Ethernet1

no ip address

no ip directed-broadcast

shutdown

media-type 10BaseT

!

interface Serial0

no ip address

no ip directed-broadcast

shutdown

!

interface Serial1

no ip address

no ip directed-broadcast

shutdown

!

interface Serial2

no ip address

no ip directed-broadcast

shutdown

!

interface Serial3

no ip address

no ip directed-broadcast

shutdown

!

interface BRI0

ip address 172.16.10.1 255.255.255.0

no ip directed-broadcast

encapsulation ppp

dialer map ip 172.16.10.2 name r2 broadcast 9636000

dialer-group 1

isdn switch-type basic-ni

isdn spid1 25696350000101

isdn spid2 25696350010101

!

interface BRI1

no ip address

no ip directed-broadcast

shutdown

isdn switch-type basic-ni

!

interface BRI2

no ip address

no ip directed-broadcast

shutdown

isdn switch-type basic-ni

!

interface BRI3

no ip address

no ip directed-broadcast

shutdown

isdn switch-type basic-ni

!

ip classless

!

dialer-list 1 protocol ip permit

!

line con 0

transport input none

line aux 0

line vty 0 4

!

end

r1#

r1#sh ver

Cisco Internetwork Operating System Software

IOS (tm) 4500 Software (C4500-I-M), Version 12.0(25), RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2002 by cisco Systems, Inc.

Compiled Tue 31-Dec-02 11:46 by srani

Image text-base: 0x60008930, data-base: 0x606DE000

ROM: System Bootstrap, Version 5.3(16) [richardd 16], RELEASE SOFTWARE (fc1)

BOOTFLASH: 4500 Software (C4500-BOOT-M), Version 11.1(7), RELEASE SOFTWARE (fc2)

r1 uptime is 2 days, 18 hours, 15 minutes

System restarted by reload

System image file is "flash:c4500-i-mz.120-25.bin"

cisco 4500 (R4K) processor (revision E) with 16384K/4096K bytes of memory.

Processor board ID 06450824

R4700 processor, Implementation 33, Revision 1.0

G.703/E1 software, Version 1.0.

Bridging software.

X.25 software, Version 3.0.0.

Basic Rate ISDN software, Version 1.1.

2 Ethernet/IEEE 802.3 interface(s)

4 Serial network interface(s)

4 ISDN Basic Rate interface(s)

128K bytes of non-volatile configuration memory.

8192K bytes of processor board System flash (Read/Write)

4096K bytes of processor board Boot flash (Read/Write)

Configuration register is 0x2102

r1#

_____________________________________________________________

Debug output genetrated on r2:

2d18h: %LINK-3-UPDOWN: Interface BRI0:1, changed state to up

2d18h: %ISDN-6-CONNECT: Interface BRI0:1 is now connected to unknown

2d18h: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed state to

up

2d18h: %ISDN-6-CONNECT: Interface BRI0:1 is now connected to unknown

2d18h: %ISDN-6-DISCONNECT: Interface BRI0:1 disconnected from unknown , call la

sted 120 seconds

2d18h: isdn_Call_disconnect()

2d18h: %LINK-3-UPDOWN: Interface BRI0:1, changed state to down

2d18h: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed state to

down

2d18h: %LINK-3-UPDOWN: Interface BRI0:1, changed state to up

2d18h: %ISDN-6-CONNECT: Interface BRI0:1 is now connected to unknown

2d18h: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed state to

up

2d18h: %ISDN-6-CONNECT: Interface BRI0:1 is now connected to unknown

2d18h: %ISDN-6-DISCONNECT: Interface BRI0:1 disconnected from unknown , call la

sted 120 seconds

2d18h: isdn_Call_disconnect()

2d18h: %LINK-3-UPDOWN: Interface BRI0:1, changed state to down

2d18h: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed state to

down

r2#

running config and sh ver of r2:

r2#wr t

Building configuration...

Current configuration:

!

version 12.0

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname r2

!

!

ip subnet-zero

no ip domain-lookup

isdn switch-type basic-ni

!

!

!

interface Ethernet0

no ip address

no ip directed-broadcast

shutdown

media-type 10BaseT

!

interface Ethernet1

no ip address

no ip directed-broadcast

shutdown

media-type 10BaseT

!

interface Serial0

no ip address

no ip directed-broadcast

shutdown

!

interface Serial1

no ip address

no ip directed-broadcast

shutdown

!

interface Serial2

no ip address

no ip directed-broadcast

shutdown

!

interface Serial3

no ip address

no ip directed-broadcast

shutdown

!

interface BRI0

ip address 172.16.10.2 255.255.255.0

no ip directed-broadcast

encapsulation ppp

dialer map ip 172.16.10.1 name r1 broadcast

dialer-group 1

isdn switch-type basic-ni

isdn spid1 25696360000101

isdn spid2 25696360010101

!

interface BRI1

no ip address

no ip directed-broadcast

shutdown

isdn switch-type basic-ni

!

interface BRI2

no ip address

no ip directed-broadcast

shutdown

isdn switch-type basic-ni

!

interface BRI3

no ip address

no ip directed-broadcast

shutdown

isdn switch-type basic-ni

!

ip classless

!

dialer-list 1 protocol ip permit

!

line con 0

transport input none

line aux 0

line vty 0 4

!

end

r2#

r2#sh ver

Cisco Internetwork Operating System Software

IOS (tm) 4500 Software (C4500-I-M), Version 12.0(25), RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2002 by cisco Systems, Inc.

Compiled Tue 31-Dec-02 11:46 by srani

Image text-base: 0x60008930, data-base: 0x606DE000

ROM: System Bootstrap, Version 5.3(16) [richardd 16], RELEASE SOFTWARE (fc1)

BOOTFLASH: 4500 Software (C4500-BOOT-M), Version 11.1(7), RELEASE SOFTWARE (fc2)

r2 uptime is 2 days, 18 hours, 17 minutes

System restarted by reload

System image file is "flash:c4500-i-mz.120-25.bin"

cisco 4500 (R4K) processor (revision E) with 16384K/4096K bytes of memory.

Processor board ID 06451422

R4700 processor, Implementation 33, Revision 1.0

G.703/E1 software, Version 1.0.

Bridging software.

X.25 software, Version 3.0.0.

Basic Rate ISDN software, Version 1.1.

2 Ethernet/IEEE 802.3 interface(s)

4 Serial network interface(s)

4 ISDN Basic Rate interface(s)

128K bytes of non-volatile configuration memory.

8192K bytes of processor board System flash (Read/Write)

4096K bytes of processor board Boot flash (Read/Write)

Configuration register is 0x2102

r2#

Regards,

Please try with the authentication commands added on either end.

on r1

====

username r2 pass cisco

int br0

ppp authen chap

on r2

====

user r1 pass cisco

int br0

ppp authen chap.

debug ip packet detail on both r1 & r2....NOTE, on r1 we are sending icmp packets but do not receive any, will need to see debugs on r2 too.

Thanks, Mak.

Thanks Mark ! after I enabled authentication at both ends, I was able to ping it successfully. I just don't why it required authentication to be enabled. Authentication is an option, not requirement, correct. Thanks for all of your hard work and support. Cisco is the best.

3 more questions for my knowledge if you don't mind.

1) on my bri 0 interface, can I seperate my 2 channels between 2 routers. For example, one channel maps to r2, and the other channel maps to r3.

2) If I use only one dialer map command on r1, for example,

dialer map ip 172.16.10.2 name r2 broadcast 9636000, and don't put the 2nd mapping command to the same router with the 2nd dial in number 9636001. Now If I want to do PPP multilink between these 2 routers, will it bundle to 128K w/0 having a 2nd DN?

3) Why do I see a host route in my routing table?

172.16.10.2/32 is directly connected, BRI0. Can it be removed, just curios.

Regards,

Abbas

1) When we use static dialer map command we are explicitly mapping the ip address to the remote name....only during authentication we excahnge this info,hence will need authentication enabled.

In case of dialer string command we dynamically map ip address with the dialer number (caller id)...this will work w/o authentication enabled.

Look at show dialer map in both the cases.

2) Depends upon whether the two called numbers are in a hunt group at the remote switch in the isdn cloud.....if they are not then we need two dialer map commands.

3) From the routers perspective it's a host route...it will be removed only when the link comes down between the peers.

Thanks, Mak.

Thanks Mark ! Everything is working great.