Friday, February 17, 2006

 

Pinging router's own interface. (Question #12)

Consider two routers connected back-to-back like this

Router1 ---- [Frame Relay Cloud] ---- Router2

Assume that the frame relay switch between the two routers has been correctly configured and is properly functioning.

Here is the relevant configuration for the routers

Router1

interface Serial2/0
ip address 150.150.12.1 255.255.255.0
encapsulation frame-relay
no keepalive
no fair-queue
frame-relay interface-dlci 102


Router2

interface Serial2/0
ip address 150.150.12.2 255.255.255.0
encapsulation frame-relay
no keepalive
no fair-queue
frame-relay interface-dlci 201


The two routers can ping each other on these serial interfaces. However, when an attempt is made on each of the routers to ping its own serial interface, the pings fail. Is there some way pings on each router to its own serial interface can be made to work? If so, how? If not, explain why that is not possible.

Comments:
I have a problem with this, which is the answer
 
Great site.

The issue here is that its a P2P link. In order to ping the interface it has to be looped back onto itself in some way. I can only think to do this by statically mapping the interface IP to the DLCI.

Therefore if R1 pinged its own int, it would send the ping over the link to R2. R2 would see that the packet is addressed to R1 and would send it back to R1. This should do it:

R1: (config-if)#frame map ip 150.150.12.1 102
R2: (config-if)#frame map ip 150.150.12.2 201
 
Post a Comment

Links to this post:

Create a Link



<< Home

This page is powered by Blogger. Isn't yours?