kern/71474: route lookup does not skip interfaces marked down

Thomas Quinot thomas at FreeBSD.ORG
Wed Sep 8 07:48:18 PDT 2004

* 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

>  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.



    Thomas.Quinot at Cuivre.FR.EU.ORG

More information about the freebsd-bugs mailing list