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>
index | next in thread | previous in thread | raw e-mail
On Wed, Sep 21, 2011 at 10:53 PM, Hiroki Sato <hrs@freebsd.org> wrote: > Xin LI <delphij@delphij.net> wrote > in <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. > > I think the patch is reasonable. Using "ifconfig -l AF" does not > work for this purpose because 1) it depends on an already-configured > address (ifa->ifa_addr->sa_family) on 9.X and 2) it does not work on > 8.X as intended. Please note that the patch Xin included disables several wireless chipsets from doing dhcp by default. Is this desired? Thanks, -Garretthelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wSgt7NaoHabnZU88u5LuuXRMGwdoPPY3k0_C4ZgRLx84w>
