Date: Fri, 09 Jan 2009 06:09:51 +0000 From: "Bruce M. Simpson" <bms@FreeBSD.org> To: Peter Steele <psteele@maxiscale.com> Cc: freebsd-net@freebsd.org, Bruce Walker <bmw@wezel.com> Subject: Re: Having problems with limited broadcast Message-ID: <4966EA2F.5040603@FreeBSD.org> In-Reply-To: <2ACA3DE8F9758A48B8BE2C7A847F91F247A00E@polaris.maxiscale.com> References: <2ACA3DE8F9758A48B8BE2C7A847F91F2479DF2@polaris.maxiscale.com> <28b9b4180901070039x27a25bb4m6b50c8bfae63e0af@mail.gmail.com> <2ACA3DE8F9758A48B8BE2C7A847F91F2479E9A@polaris.maxiscale.com> <4964CA2E.5090708@wezel.com> <2ACA3DE8F9758A48B8BE2C7A847F91F2479FB0@polaris.maxiscale.com> <2ACA3DE8F9758A48B8BE2C7A847F91F2479FCE@polaris.maxiscale.com> <d763ac660901081411l59120580yb4919a16b451e3ee@mail.gmail.com> <2ACA3DE8F9758A48B8BE2C7A847F91F2479FD9@polaris.maxiscale.com><49668C71.4090407@FreeBSD.org> <4966A283.4070505@wezel.com> <2ACA3DE8F9758A48B8BE2C7A847F91F247A00E@polaris.maxiscale.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Peter Steele wrote: > ... > I personally like this idea, but I'm not sure I can sell it to the > others. Are there any restrictions to these 169.254.x.y addresses? > 169.254.0.0/16 must never appear outside a link -- it is strictly scoped to that link. Currently the IPv4 BSD stack has no concept of link-scoped addresses, but IPv6 does. Link is a realized concept there because of KAME's support for the %<ifname> syntax. Internally, interface indexes get used. In practice this shouldn't be an issue as long as you can guarantee different addresses are used for the 169.254.0.0/16 block on each interface, however, it would mean any app using sockets would need to explicitly bind to the local address to ensure the correct interface is used. Furthermore, we effectively need to be able to support multiple next-hops for the 169.254.0.0/16 prefix, otherwise we can support only one such interface w/o significant kernel code rewrites. So, really, LL may not buy you anything at all, and it's likely you need to go straight to pcap for your app. These restrictions have existed for years, and the fact that they haven't been addressed has largely been because there has been no community strategy to deal with it. I speculate some BSD-using organisations might have already solved these problems, however, without evidence (and code sharing), that's pure speculation. cheers BMS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4966EA2F.5040603>