Date: Sat, 17 Aug 2013 10:18:07 -0700 From: Kevin Oberman <rkoberman@gmail.com> To: Eric Camachat <eric.camachat@gmail.com> Cc: Kimmo Paasiala <kpaasial@gmail.com>, FreeBSD current <freebsd-current@freebsd.org> Subject: Re: ipv6_activate_all_interfaces doesn't work on wireless interface. Message-ID: <CAN6yY1vPbcC7uQ0pa0UMZwS0yRP1HE6gX3Rb8h0f-rqcWtoibQ@mail.gmail.com> In-Reply-To: <CACeEFf7iJGNfLjiC-8Ev=am5pE7pEKJuOpPLnTbXJhEFkO-MjQ@mail.gmail.com> References: <1376632058.1841.6.camel@localhost> <CA%2B7WWSejw14ZhgVUjbjH-VjZh4A0yaLt2R8XeL77Back995qNw@mail.gmail.com> <CACeEFf7iJGNfLjiC-8Ev=am5pE7pEKJuOpPLnTbXJhEFkO-MjQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 16, 2013 at 11:54 AM, Eric Camachat <eric.camachat@gmail.com>wrote: > OK, I will try add accept_rtadv to ifconfig_wlan0_ipv6. > > Thanks, > Eric > > > On Fri, Aug 16, 2013 at 6:19 AM, Kimmo Paasiala <kpaasial@gmail.com> > wrote: > > > On Fri, Aug 16, 2013 at 8:47 AM, Eric L Camachat > > <eric.camachat@gmail.com> wrote: > > > Here is my /etc/rc.conf > > > ipv6_enable="YES" > > > #ip6addrctl_enable="YES" > > > #ip6addrctl_policy="ipv6_prefer" > > > #ipv6_activate_all_interfaces="YES" > > > wlans_iwn0="wlan0" > > > ifconfig_wlan0="WPA DHCP" > > > > > > rc.d system said ipv6_enable is obsoleted by > > > ipv6_activate_all_interfaces. > > > So, I tried to replaced ipv6_enable with ipv6_activate_all_interfaces > > > and ip6addrctl_*, interface wlan0 will not get ipv6 address from > router. > > > > > > After investigated, that's because of wlan0 didn't add 'accept_rtadv' > > > ipv6 option. > > > > > > -- > > > Eric > > > > > > > As far as I know, not enabling accept_rtadv is a reasonable default > > and it has been like that always. Just like DHCP is not a default > > configuration method for IPv4 addresses. > > > > -Kimmo > > > There was a revision to networks.subr in r253683 that removed accept_rtadv from default for bridge interfaces. At least the comment says that it should not be default which implies that it used to be. If there is a logic error in the commit (I just noted the change to rtadv and the comment, but did not attempt to confirm the logic), perhaps accept_rtadv got turned off on more than just bridge interfaces. 564<http://svnweb.freebsd.org/base/stable/9/etc/network.subr?annotate=253683#l564> bridge[0-9]*) 565<http://svnweb.freebsd.org/base/stable/9/etc/network.subr?annotate=253683#l565> # No accept_rtadv by default on if_bridge(4) 566<http://svnweb.freebsd.org/base/stable/9/etc/network.subr?annotate=253683#l566> # to avoid a conflict with the member 567<http://svnweb.freebsd.org/base/stable/9/etc/network.subr?annotate=253683#l567> # interfaces. 568<http://svnweb.freebsd.org/base/stable/9/etc/network.subr?annotate=253683#l568> return 1 569<http://svnweb.freebsd.org/base/stable/9/etc/network.subr?annotate=253683#l569> ;; 570<http://svnweb.freebsd.org/base/stable/9/etc/network.subr?annotate=253683#l570> *) -- R. Kevin Oberman, Network Engineer E-mail: rkoberman@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1vPbcC7uQ0pa0UMZwS0yRP1HE6gX3Rb8h0f-rqcWtoibQ>