Date: Wed, 8 Sep 2004 14:26:29 +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: <20040908122628.GF20627@melusine.cuivre.fr.eu.org> In-Reply-To: <200409081150.i88BoSUO079636@freefall.freebsd.org> References: <200409081150.i88BoSUO079636@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* Ruslan Ermilov, 2004-09-08 : > But your test case only applies to P2P interfaces, when both ends > of two P2P interfaces share the same IP address. No, this is not the case. Only the remote ends of the two interfaces share the same IP address. I described that test case because using gif interfaces makes it easier to reproduce, but I initially observed this symptom with one bge and one Intel wireless (ndis) interface. > I do not see how this could apply to broadcast interfaces. As follows. Consider a machine with two Ethernet interfaces I1 and I2. ifconfig I1 192.168.0.1 netmask 255.255.255.0 ifconfig I1 down ifconfig I2 192.168.0.2 netmask 255.255.255.0 route add default 192.168.0.254 The default route will be set to 192.168.0.254 on I1, not on I2 as expected. Thomas. -- Thomas.Quinot@Cuivre.FR.EU.ORG
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040908122628.GF20627>