Routing Question

Routing Question

NewsGroups | Search | Tools
 comp.dcom.sys.cisco  Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Routing Question darrenfgreen 08-13-2007
Posted by on August 13, 2007, 5:49 am
If you were  Registered and logged in, you could reply and use other advanced thread options
All,

I have a router that has a 10.0.0.0/8 route pointing at a firewall.

The same router has a connection to another router on one of it's
interfaces. When I do a route lookup to a remote subnet say 10.1.10 /
24 the restult is:

#sh ip route 10.1.1.0
Routing entry for 10.0.0.0/8
Known via "static", distance 1, metric 0
Routing Descriptor Blocks:
* 192.168.1.254 (the firewall)
Route metric is 0, traffic share count is

The route to the remote subnet shoudl follow the above static route.
However, when I traceroute to the above subnets router, it follow a
path via the attached router.

#trace 10.1.1.254

Type escape sequence to abort.

Tracing the route to 10.3.25.254

1 10.0.1.11 0 msec 0 msec 0 msec

2 10.1.1.254 40 msec * 40 msec

Is this beacause of ICMP redirects ?

I can't understand how it can find the path when only the 10/8
exists.

Regards

Darren


Posted by on August 13, 2007, 9:47 am
If you were  Registered and logged in, you could reply and use other advanced thread options
darrenfgreen@tiscali.co.uk writes:
> I have a router that has a 10.0.0.0/8 route pointing at a firewall.
>
> The same router has a connection to another router on one of it's
> interfaces. When I do a route lookup to a remote subnet say 10.1.10 /
> 24 the restult is:
>
> #sh ip route 10.1.1.0
> Routing entry for 10.0.0.0/8
> Known via "static", distance 1, metric 0
> Routing Descriptor Blocks:
> * 192.168.1.254 (the firewall)
> Route metric is 0, traffic share count is

Note that this command shows you the routing table entry that would be
in effect for traffic to 10.1.1.0/32 only.

A more specific route that applies to 10.1.1.254 would not be displayed.

If you want to see the route that applies to 10.1.1.254 then you
would want to use: # show ip route 10.1.1.254

[If you do a "show ip route" for the all zeroes host of a classful
network (e.g. 10.0.0.0, 172.16.0.0, 192.168.1.0, etc) IOS will tell you
about all subnet routes within the classful network. But doing a
"show ip route" for something other than the all zeroes host will
just show you the single most specific matching route. Since 10.1.1.0
is not the all zeroes host on a classful network, the displayed output
will show a single route only]

> The route to the remote subnet shoudl follow the above static route.

As above, not neccessarily.

> However, when I traceroute to the above subnets router, it follow a
> path via the attached router.
>
> #trace 10.1.1.254
>
> Type escape sequence to abort.
>
> Tracing the route to 10.3.25.254
>
> 1 10.0.1.11 0 msec 0 msec 0 msec
>
> 2 10.1.1.254 40 msec * 40 msec
>
> Is this beacause of ICMP redirects ?

That seems highly unlikely. An ICMP redirect generated by a gateway
in the 192.168.1 subnet would create a host route through a different
gateway in the 192.168.1 subnet.

[An ICMP redirect is sent if the source IP, the first hop gateway and
the first hop's next hop gateway are all on the same IP subnet and will
result in the source skipping the first hop and going straight for
the second on all subsequent traffic]

What is somewhat plausible is that the 192.168.1.254 firewall interface
has a secondary IP address of 10.0.1.11 on the same NIC and that it
uses this for replies to hosts in the 192.168.1 space.

It is also possible that the 192.168.1.x interface on your router
is a secondary IP address and that your primary interface address
is in the 10.0.1.11 subnet. This would better explain why the first
hop gateway used a 10.0.1.11 address when generating its response
to you. And that could, in turn, make it possible for an ICMP
redirect to actually work.

If you source your traceroute from the router's 192.168.1.x address,
does anything change? (just type "trace" without an IP to bring up
prompts for things like source address).
Does the firewall have a 10.0.1.11 address?
Does your router have a 10.0.1.x address?
Does any other piece of equipment on your 192.168.1 segment have
a 10.0.1.11 address?
Does your router have a route more specific than a /8 for 10.0.1.11?
Does your router have a route more specific than a /8 for 10.1.1.254?

Similar ThreadsPosted
Routing question December 4, 2004, 10:59 am
Routing question March 16, 2006, 3:26 am
pix routing question August 9, 2006, 3:24 pm
NAT and Routing Question August 28, 2006, 11:24 am
Routing question May 23, 2007, 6:23 pm
Routing question May 2, 2008, 1:29 pm
Basic Routing question December 5, 2004, 7:52 am
Basic Routing question June 21, 2005, 2:37 pm
Question on dynamic routing and PIX VPN December 6, 2005, 7:22 am
probably an easy routing question, so please help May 15, 2007, 3:33 pm

other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map