From nobody Thu Dec 14 11:25:39 2023 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SrVQj0Hgmz53r3N for ; Thu, 14 Dec 2023 11:25:49 +0000 (UTC) (envelope-from list_freebsd@bluerosetech.com) Received: from echo.brtsvcs.net (echo.brtsvcs.net [IPv6:2607:f740:c::4ae]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SrVQh5KpFz4XCl for ; Thu, 14 Dec 2023 11:25:48 +0000 (UTC) (envelope-from list_freebsd@bluerosetech.com) Authentication-Results: mx1.freebsd.org; none Received: from chombo.houseloki.net (65-100-43-2.dia.static.qwest.net [65.100.43.2]) by echo.brtsvcs.net (Postfix) with ESMTPS id 86EB838D86; Thu, 14 Dec 2023 11:25:40 +0000 (UTC) Received: from [10.26.25.100] (ivy.pas.ds.pilgrimaccounting.com [10.26.25.100]) by chombo.houseloki.net (Postfix) with ESMTPSA id 50711755F3; Thu, 14 Dec 2023 03:25:39 -0800 (PST) Message-ID: <11cc375d-cb36-35e6-0aed-9e071a2718a1@bluerosetech.com> Date: Thu, 14 Dec 2023 03:25:39 -0800 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: FreeBSD laptop not getting IPv6 configured with SLAAC Content-Language: en-US To: =?UTF-8?Q?Kristian_St=c3=a6rk?= , freebsd-net@freebsd.org References: <9348b4cc-4da1-4e78-9f79-c981fc444f1f@borderworlds.dk> From: list_freebsd@bluerosetech.com In-Reply-To: <9348b4cc-4da1-4e78-9f79-c981fc444f1f@borderworlds.dk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36236, ipnet:2607:f740:c::/48, country:US] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4SrVQh5KpFz4XCl 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. > My pf.conf should be open enough for this to work but for completeness I > have also tried with pf disabled with the same result. With your current pf.conf, you may as well disable pf. > When running Ubuntu on the same laptop or even in a Virtualbox VM with > bridged networking, Ubuntu manages to configure IPv6 without problems. > Likewise with a Windows VM. Windows will do DHCPv6 automatically. Depending on the distro, Linux will either run an integrated DHCPv6 client or ignore the managed flag and SLAAC out of the highest priority /64 offered in the rtadv.