Date: Thu, 22 Sep 2011 08:26:17 -0700 From: Garrett Cooper <yanegomi@gmail.com> To: Hiroki Sato <hrs@freebsd.org> Cc: freebsd-rc@freebsd.org, delphij@delphij.net, d@delphij.net Subject: Re: [RFC] Use noafif in dhcpif and sycndhcpif Message-ID: <CAGH67wSgt7NaoHabnZU88u5LuuXRMGwdoPPY3k0_C4ZgRLx84w@mail.gmail.com> In-Reply-To: <20110922.145338.1972727087248882715.hrs@allbsd.org> References: <4E7A75EB.80308@delphij.net> <20110922.145338.1972727087248882715.hrs@allbsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 21, 2011 at 10:53 PM, Hiroki Sato <hrs@freebsd.org> wrote: > Xin LI <delphij@delphij.net> wrote > =A0in <4E7A75EB.80308@delphij.net>: > > de> -----BEGIN PGP SIGNED MESSAGE----- > de> Hash: SHA256 > de> > de> Hi, > de> > de> While developing FreeNAS we have hit a problem -- when > de> ifconfig_DEFAULT is set to "DHCP", all interfaces including pfsync0 > de> and pflog0 would be probed by dhclient. > de> > de> It seems to be reasonable to check noafif in both dhcpif and > de> syncdhcpif, as did in ipv6_autoconfif based on same reasoning. > > =A0I think the patch is reasonable. =A0Using "ifconfig -l AF" does not > =A0work for this purpose because 1) it depends on an already-configured > =A0address (ifa->ifa_addr->sa_family) on 9.X and 2) it does not work on > =A08.X as intended. Please note that the patch Xin included disables several wireless chipsets from doing dhcp by default. Is this desired? Thanks, -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wSgt7NaoHabnZU88u5LuuXRMGwdoPPY3k0_C4ZgRLx84w>