cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
347
Views
0
Helpful
4
Replies

My 'ip route' doesn't deliver what I expect

news2010a
Level 3
Level 3

Can someone clarify what I am missing ?

(3) routers connected. Please find attached the file showing 'show run' from all three routers and diagram.

I try to ping from RouterC (150.1.1.2) to workstation 152.1.1.3 and it times out.

On RouterB I put a default route and I also include the ip route command to deliver traffic destined to 152.1.1.0 on s0/0. However, I am still unable to successfully ping from 150.1.1.2 to 152.1.1.3.

4 Replies 4

Hi,

You are missing some routes. Can you remove the static routes you have in place and add the following.

Router A:

ip route 150.1.1.0 255.255.255.0 195.1.1.10

Router B:

ip route 152.1.1.0 255.255.255.0 195.1.1.4

Router C:

ip route 152.1.1.0 255.255.255.0 150.1.1.1

Hope this helps!

Sundar

That did it.

The part that I was missing is that I thought that because I was able to ping RouterB e0/0 interface from RouterC, I thought that meant that RouterC knew how to get to RouterB. However, the way it works is that RouterC also needs to have the default route so that the traffic to 152.1.1.0/24 will know which path to flow;e0/0 on RouterC.

Thanks much Sundar.

Configure the following on Router B:

int e0

no ip redirects

On the host (152.1.1.3) your default gateway should be set to 152.1.1.1.

If you are still having problems try pinging the host from Router B. If that works can you post the output of traceroute from router c to the host.

Glad to hear that :-)

Ignore the last post as I thought you were still having problems.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: