Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2000 10:10:03 -0700 (PDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        freebsd-bugs@FreeBSD.org
Subject:   kern/22185: Identical IP addresses on two broadcast interfaces
Message-ID:  <200010271710.KAA08713@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/22185; it has been noted by GNATS.

From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To: yar@comp.chem.msu.su
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: kern/22185: Identical IP addresses on two broadcast interfaces
Date: Fri, 27 Oct 2000 13:00:27 -0400 (EDT)

 <<On Sat, 21 Oct 2000 17:59:52 +0400 (MSD), yar@comp.chem.msu.su said:
 
 > 	Maybe, the code should try to add the link layer route first,
 > 	and assign the address to the interface only if adding
 > 	the route succeeded?
 
 This can't be done, because in order to add the route, the ifaddr must
 already be present.
 
 The trouble is that sometimes this error does not indicate a problem
 (even though it usually does).  I think the right thing is probably to
 compare the new (A1, M1) against all the existing ifaddrs and fail the
 request if any (A2, M2) is present such that M1 == M2 and (A1 & M1) ==
 (A2 & M2).  There may be other conditions which should fail as well.
 
 -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-bugs" in the body of the message




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