From owner-freebsd-net@FreeBSD.ORG Thu Aug 24 22:03:32 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0795316A4DA; Thu, 24 Aug 2006 22:03:32 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from sccmmhc92.asp.att.net (sccmmhc92.asp.att.net [204.127.203.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1125A43D5E; Thu, 24 Aug 2006 22:03:30 +0000 (GMT) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net ([12.207.12.9]) by sccmmhc92.asp.att.net (sccmmhc92) with ESMTP id <20060824220330m92002rs3ke>; Thu, 24 Aug 2006 22:03:30 +0000 Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.13.6/8.13.6) with ESMTP id k7OM3OnB040611; Thu, 24 Aug 2006 17:03:24 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.13.6/8.13.6/Submit) id k7OM3KWH040610; Thu, 24 Aug 2006 17:03:20 -0500 (CDT) (envelope-from brooks) Date: Thu, 24 Aug 2006 17:03:14 -0500 From: Brooks Davis To: Fredrik Lindberg Message-ID: <20060824220314.GB40213@lor.one-eyed-alien.net> References: <44EE1F7B.5000500@shapeshifter.se> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1LKvkjL3sHcu1TtY" Content-Disposition: inline In-Reply-To: <44EE1F7B.5000500@shapeshifter.se> User-Agent: Mutt/1.5.11 Cc: freebsd-net@freebsd.org, Pat Lashley , Doug Barton Subject: Re: Zeroconfig and Multicast DNS X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2006 22:03:32 -0000 --1LKvkjL3sHcu1TtY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 24, 2006 at 11:51:55PM +0200, Fredrik Lindberg wrote: > Pat Lashley wrote: > > > >The problem with that is that we want to support the use of both on the= =20 > >same link. So we'd either need to allow more than one keyword, or have= =20 > >'DHCP', 'LLA', 'LLA+DHCP', etc. Neither of those is very attractive. I= =20 > >think it would be cleaner to have something like: >=20 > The magic words aren't mutually exclusive, they are dealt with > individually. They could be named LLA4, LLA4FALLBACK and will > work together with the other options (DHCP, WPA, etc). It just occured to me that the daemon could handle this without any interaction with dhclient or the static interface configuration. In the mode where you only want an LLA if there isn't another address it's a simple matter of watching the routing socket for messages and a) removing the LLA if an IPv4 address other than 0.0.0.0 is configured on the interface and b) (re)starting the process of obtaining an LLA when all other addresses have been removed. The daemon should be listening to the routing socket anyway because it should only run when the interface has link which requires it to exit when the link goes down similar to dhclient. I really need to go look at the code and see what you're doing now. :) > > ipv4-link-local-always=3D"bge* fxp1" > > ipv4-link-local-fallback=3D"fxp0" >=20 > I find this scheme way too different from how other interface > configuration is done. Me too. I like the tags (obviously since I invented most of them :). I'm attempting to get rid of as many lists of interfaces as possible. -- Brooks --1LKvkjL3sHcu1TtY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE7iIiXY6L6fI4GtQRAkrUAKDXtIvlUeQDQ0XpyOXHj9BxvjSxZgCgnthv ACtjAFzGdYRIBrRZb445+Ik= =q0EA -----END PGP SIGNATURE----- --1LKvkjL3sHcu1TtY--