Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Sep 2004 16:48:16 +0200
From:      Thomas Quinot <thomas@FreeBSD.ORG>
To:        Ruslan Ermilov <ru@FreeBSD.ORG>
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/71474: route lookup does not skip interfaces marked down
Message-ID:  <20040908144816.GJ22578@melusine.cuivre.fr.eu.org>
In-Reply-To: <200409081350.i88DoW4e093128@freefall.freebsd.org>
References:  <200409081350.i88DoW4e093128@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Ruslan Ermilov, 2004-09-08 :

>  This is a misconfiguration because you cannot expect two broadcast
>  interfaces configured with the same IP network to work.  The fact

Even if one of them is down??

>  If we change ifa_ifwith*() to ignore !IFF_UP interfaces, I suspect this
>  will break too many things.

I agree, which is why I suggested a different function, not a change to
the existing one (of course both the specific implementation and the
existing ifa_ifwith* could be wrappers around a single generic
function).

>  to set the interface of the route to the interface of its gateway (if
>  route is through the gateway (RTF_GATEWAY)).  This should be easy to
>  fix, but I don't have a time for this now.

Agreed.

Thomas.

-- 
    Thomas.Quinot@Cuivre.FR.EU.ORG



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