[c-nsp] problem of both "ip route 0.0.0.0" and "ip default-gateway" configured

Gert Doering gert at greenie.muc.de
Sat Jan 12 19:11:22 EST 2008


Hi,

On Sat, Jan 12, 2008 at 03:52:23PM +0200, Sami Joseph wrote:
> 1) ip route 0.0.0.0 next-hop

This is used if the box is in "router" mode ("ip routing").

> 2) ip default-gateway next-hop

This is used if the box is in "host" mode ("no ip routing", or boot rom, 
or Layer2 switch, or such things).

Being able to configure both means "if the box ends up in the *other* mode,
it will still have a useful default gateway".  No harm done.

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert at greenie.muc.de
fax: +49-89-35655025                        gert at net.informatik.tu-muenchen.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 304 bytes
Desc: not available
Url : https://puck.nether.net/pipermail/cisco-nsp/attachments/20080113/c41271cc/attachment.bin 


More information about the cisco-nsp mailing list