Date: Thu, 11 Mar 2010 11:09:19 -0500 From: David Horn <dhorn2000@gmail.com> To: Hiroki Sato <hrs@freebsd.org> Cc: freebsd-net@freebsd.org, dougb@freebsd.org, freebsd-rc@freebsd.org Subject: Re: Un-obsolete'ing ipv6_enable Message-ID: <25ff90d61003110809s4cc775e9r2ff6ebee151be6f6@mail.gmail.com> In-Reply-To: <20100309.135917.161082188.hrs@allbsd.org> References: <4B945AA7.6070000@FreeBSD.org> <20100309.072719.200228546.hrs@allbsd.org> <25ff90d61003082037v3519995bx7e119e9d14143db4@mail.gmail.com> <20100309.135917.161082188.hrs@allbsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 8, 2010 at 11:59 PM, Hiroki Sato <hrs@freebsd.org> wrote: > David Horn <dhorn2000@gmail.com> wrote > =A0in <25ff90d61003082037v3519995bx7e119e9d14143db4@mail.gmail.com>: > > dh> The question is what is the desired end-state for the rc.conf > dh> configuration of ipv6 ? > dh> > dh> Do we want to have a per-interface setting required to enable ipv6 SL= AAC ? > dh> Do we want to have a global setting for ipv6 SLAAC ? > dh> Or do we want to choose sane defaults and allow the user to over-ride > dh> on both a global default, and a per-interface basis ? > dh> > dh> So, in the 8.0-RELEASE code (and previous TTBOMK), both IPv4 DHCP and > dh> IPv6 SLAAC required manual enabling, although it was inconsistent in > dh> that one was global (IPV6 accept_rtadv), and one was per-interface > dh> (IPv4 DHCP). =A0Some of this has already started to change in -curren= t. > dh> > dh> Question 1) =A0Based upon history, sane defaults would be do nothing = (NO > dh> DHCPv4, NO IPv6 accept_rtadv). =A0Do you agree with this as the > dh> continued defaults ? > > =A0I am for "no automatic configuration unless one specifies it", but it > =A0should be able to be configured in a per-interface basis as well as > =A0global basis. Sorry for the delayed response. I agree with this paradigm. > > dh> Question 2) Assuming that people do desire consistency with allowing > dh> for both a global, and a per-interface setting, do you agree with > dh> having a global default for DHCPv4 (dhcpv4_default_enable), and for > dh> IPv6 slaac/accept_rtadv =A0(ipv6-slaac_default_enable), and the > dh> per-interface DHCPv4 (ifconfig_IF0=3D"dhcp") aka a meta configuration > dh> variable, and a per-interface IPv6 slaac (ifconfig_IF0=3D"slaac") aka= a > dh> meta configuration variable. > > =A0I think the global configuration can be realized by setting something > =A0like ifconfig_DEFAULT_<proto>=3D"AUTO" instead of adding a new global > =A0knobs. Yes, that is certainly one method that can work. I will put together two review versions of a diff. One with backward compatible logic included (at least for the ipv6_enable YES/NO cases, and the ipv6_ifconfig_IF syntax ), and one with the backwards compat code removed to further this discussion. > > dh> Do people understand what I am proposing here, or do you want me to > dh> put together a diff with an implementation to properly review ? =A0 I > dh> already have some of it working in a separate experiment for adding > dh> DHCPv6 configurations. > > =A0Yeah, actually I received your proposal a month ago and I should have > =A0put it to the wiki or so. =A0Sorry about that. =A0I will work on that > =A0soon for the further discussion. > > -- Hiroki >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?25ff90d61003110809s4cc775e9r2ff6ebee151be6f6>