From owner-freebsd-net Wed Mar 7 13:45:29 2001 Delivered-To: freebsd-net@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id EF56837B718 for ; Wed, 7 Mar 2001 13:45:26 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id QAA82378; Wed, 7 Mar 2001 16:45:16 -0500 (EST) (envelope-from wollman) Date: Wed, 7 Mar 2001 16:45:16 -0500 (EST) From: Garrett Wollman Message-Id: <200103072145.QAA82378@khavrinen.lcs.mit.edu> To: spe@bsdfr.org Cc: freebsd-net@FreeBSD.ORG Subject: perhaps an updating local route problem when you delete an IPv4 alias In-Reply-To: <20010307123516.GJB433.frmta01@cha213245067102.chello.fr> References: <20010307123516.GJB433.frmta01@cha213245067102.chello.fr> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > A problem of updating route appears when you delete the IPv4 alias on the > interface like this: > # ifconfig xl0 delete 172.16.1.2 netmask 255.255.255.255 > 127.0.0.1 127.0.0.1 UH 0 0 lo0 > 172.16 link#1 UC 0 0 xl0 => > 172.16.1.2 0:50:da:66:aa:87 UHLW 0 4 lo0 => Hmmm. That's an interesting bug. I think I understand how it happens, too. What happens when you do a `route get 172.16.1.2'? I have a suspicion that it will come with an RTA_IFA pointing to 172.16.1.1 rather than 172.16.1.2. This would cause in_ifadown() to ignore that route when the 172.16.1.2 interface address is deleted. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message