Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Mar 2001 16:45:16 -0500 (EST)
From:      Garrett Wollman <wollman@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
Message-ID:  <200103072145.QAA82378@khavrinen.lcs.mit.edu>
In-Reply-To: <20010307123516.GJB433.frmta01@cha213245067102.chello.fr>
References:  <20010307123516.GJB433.frmta01@cha213245067102.chello.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Wed, 07 Mar 2001 13:32:48 CET, Sebastien Petit <spe@bsdfr.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




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