route malfunction wrong info
atom.powers at gmail.com
Sun Jun 4 08:25:01 PDT 2006
On 6/4/06, Tyrone.VanDerHaar at telecityredbus.se
<Tyrone.VanDerHaar at telecityredbus.se> wrote:
> I'm running Freebsd 6.1RC-1.
> Can anyone tell me if this is a bug or not?
> -Vlan137 is up
> -I issue a route get subnet from valn137 and I see the route exists
> -I issue an ifconfig vlan137 down
> -I then issue route get (subnet on the downed interface) and is show it as up
> Shouldn't this route dissapear when I issue the ifconfig vlan137 down?
I don't think so, assuming you are using static routes.
Even if an interface is down, the system is still attached to that
network even though it won't use it; so that is still a valid route
even if it can't be used.
If you "destroy"-ed that interface I bet the route would dissipear. Or
you could use a dynamic routing protocol.
Perfection is just a word I use occasionally with mustard.
More information about the freebsd-questions