Re: Difference between ip route 0.0.0.0....S0 Vs ip route

From: Reinhold Fischer (Reinhold.Fischer@gmx.net)
Date: Sun Apr 09 2006 - 12:42:52 GMT-3


Hi,

i would include the interface in the command if i want the
route to be removed from the routing table if the interface is down.

A simple real-world example:

redundant exit-points from your network inject default-routes in
your IGP. You used only next-hop ip-addresses with the
default-route. Now if the next-hop interface on one of the
exit point routers goes down it will still inject the default-route
because it can recursively resolve the next-hop ip with the default
route from the other route. Voila - this just created a routing loop
for the packets heading to the default-gateway where the next-hop ip
is down.

Letting a default-route point to a broadcast media is generally a bad
idea, since it will create a lot of unnecessary arp traffic.

This document explains both cases very well:

http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800ef7b2.shtml

or

http://tinyurl.com/5leul

regards

reinhold

On Sun, Apr 09, 2006 at 11:50:22PM +1000, Radioactive Frog wrote:
> Hi Group,
>
> What is the difference between
>
> IP route 0.0.0.0 0.0.0.0 serial0/0 Vs. ip route 0.0.0.0 0.0.0.0 192.168.1.2
>
>
> Both does the same job. Just wondering if anybody can quickly explain the
> application or scenario for both commands.
>
> means Serial 0/0 Vs next hop id (192.168.1.2) ??
>
> Thanks
>
> FROG



This archive was generated by hypermail 2.1.4 : Mon May 01 2006 - 11:41:56 GMT-3