[c-nsp] default route behavoir

Pshem Kowalczyk pshem.k at gmail.com
Tue Dec 11 21:56:14 EST 2007


{cut}\

> To avoid recursive routing, use the interface parameter of the route
> command, along with the next hop ip address.
>
> ip route 0.0.0.0 0.0.0.0 vlan1 10.50.6.2 10
> ip route 0.0.0.0 0.0.0.0 vlan2 10.50.5.24 20

Just be aware, that if you do it this way the vlan stays up as long as
any of the interfaces can pass that vlan, not necessarily the
interface you want to track.

regards
pshem


More information about the cisco-nsp mailing list