[c-nsp] problem of both "ip route 0.0.0.0" and "ip default-gateway" configured
sthaug at nethelp.no
sthaug at nethelp.no
Sat Jan 12 10:27:12 EST 2008
> Someone mentioned that configuring both commands on the same router/switch
> causes trouble, i wonder if someone can help me understand why?
>
> 1) ip route 0.0.0.0 next-hop
> 2) ip default-gateway next-hop
Why do you *want* to configure both? 1 is supposed to be used for an L3
box (router), 2 is supposed to be used for an L2 box (switch).
> Also why would configuring a couple of static routes with the next hop being
> an interface name not an ip address cause high CPU ?
If the interface in question is a broadcast medium (Ethernet), the router
doesn't know the next-hop address, resulting in a high rate of ARPs. This
has been dicussed on the list many times before, and the advice is simple:
Don't do it!
Steinar Haug, Nethelp consulting, sthaug at nethelp.no
More information about the cisco-nsp
mailing list