Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jun 2006 08:24:50 -0700
From:      "Atom Powers" <atom.powers@gmail.com>
To:        "Tyrone.VanDerHaar@telecityredbus.se" <Tyrone.VanDerHaar@telecityredbus.se>
Cc:        questions@freebsd.org
Subject:   Re: route malfunction wrong info
Message-ID:  <df9ac37c0606040824t19ea4819mcc805cdde5d7fa7@mail.gmail.com>
In-Reply-To: <D3BBF0C6F2FC0448BFCA2F965F219263030744@sto1.tcy.prv>
References:  <D3BBF0C6F2FC0448BFCA2F965F2192631DEBC9@sto1.tcy.prv> <D3BBF0C6F2FC0448BFCA2F965F219263030744@sto1.tcy.prv>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/4/06, Tyrone.VanDerHaar@telecityredbus.se
<Tyrone.VanDerHaar@telecityredbus.se> wrote:
> Hi,
> 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.
--Atom Powers--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?df9ac37c0606040824t19ea4819mcc805cdde5d7fa7>