Re: FreeBSD laptop not getting IPv6 configured with SLAAC

From: Kristian_Stærk <xi_at_borderworlds.dk>
Date: Mon, 25 Dec 2023 18:45:00 UTC
On 12/14/23 12:25, list_freebsd@bluerosetech.com wrote:
> On 2023-12-13 11:46, Kristian Stærk wrote:
>> I have also attached a tcpdump showing router solicitations going out
>> and router advertisements being received.
>
> You're getting valid advertisements, but they have the "managed" and 
> "other stateful" flags set.  This means your router expects you to use 
> DHCPv6 to number its interface and get other configuration information 
> (DNS, time, WINS, etc.).
>
> You'll need to install net/dhcp6 and configure its dhcp6c to get an 
> IPv6 assignment.  RC interface configuration has no DHCPv6 
> integration, so you'll need to leave it at:
>
> ifconfig_wlan0_ipv6="inet6 accept_rtadv"
> dhcp6c_enable="YES"
>
> after putting the relevant bits in /usr/local/etc/dhcp6c.conf.

Thanks. That seems to have done the trick.

I also had to specify dhcp6c_interfaces but otherwise nothing 
complicated was required.

Best regards
Kristian