Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

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

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

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

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

Community Member

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

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.

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

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.

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

Glad to hear that :-)

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

157
Views
0
Helpful
4
Replies
CreatePlease to create content