From nobody Wed Dec 13 20:06:42 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 4Sr62F5Cj8z54Fqy for ; Wed, 13 Dec 2023 20:06:45 +0000 (UTC) (envelope-from felix.reichenberger@tuta.io) Received: from w4.tutanota.de (w4.tutanota.de [81.3.6.165]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.tutanota.de", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sr62F2rLTz4Zpf for ; Wed, 13 Dec 2023 20:06:45 +0000 (UTC) (envelope-from felix.reichenberger@tuta.io) Authentication-Results: mx1.freebsd.org; none Received: from tutadb.w10.tutanota.de (unknown [192.168.1.10]) by w4.tutanota.de (Postfix) with ESMTP id B760F10600E8; Wed, 13 Dec 2023 20:06:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1702498002; s=s1; d=tuta.io; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=psAOaTG6v1ZFsYY9EV35P5ymc8zdGZajdQnVYOAEKnU=; b=TkSOx6e68d/BKnM5aqbIsfS/02/sWWfQipZkKR19sDOfd7IjiC8OOoYtFwRAQ4Ts OVoqpsyGfm0myAZYfpS4G3NPYZNARyS1YjACU5ZNMFOCv1eNRj5fdPQABOwp1LiOFnr MviivYU8CSKd/ZcGDC7QfFjbCskHJKZoXdVUX5nx8qFANWE3PZHmcskx6gmWhR5rBTM m2HWNOlz9zN1ET3O716pNgU39sbw1J6ME15g3ubkW8djUUr1LIasfdqyREb/QDXWtgT vHM2VSr7Qn/9PIQBsrURAX021nZvxWuT3vmVQYzrgngPQPM8KIxZ6AjRLUS40lYqwFD MNKpph1BKw== Date: Wed, 13 Dec 2023 21:06:42 +0100 (CET) From: Felix Reichenberger To: =?UTF-8?Q?Kristian_St=C3=A6rk?= Cc: Freebsd Net Message-ID: In-Reply-To: <9348b4cc-4da1-4e78-9f79-c981fc444f1f@borderworlds.dk> References: <9348b4cc-4da1-4e78-9f79-c981fc444f1f@borderworlds.dk> Subject: Re: FreeBSD laptop not getting IPv6 configured with SLAAC 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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:24679, ipnet:81.3.0.0/18, country:DE] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4Sr62F2rLTz4Zpf > Hello, > > I am trying to get my laptop to receive an IPv6 address using SLAAC on my= local network. I suspect that the router provided by my ISP is doing somet= hing slightly wrong or I may just have configured it wrong. > > I am running FreeBSD 14.0-RELEASE-p3. > > The network interface looks like this when queried with ifconfig. > > wlan0: flags=3D8843 metric 0 mtu = 1500 > =C2=A0=C2=A0 =C2=A0options=3D0 > =C2=A0=C2=A0 =C2=A0ether 18:1d:ea:b1:f9:8b > =C2=A0=C2=A0 =C2=A0inet 192.168.0.129 netmask 0xffffff00 broadcast 192.16= 8.0.255 > =C2=A0=C2=A0 =C2=A0inet6 fe80::1a1d:eaff:feb1:f98b%wlan0 prefixlen 64 sco= peid 0x2 > =C2=A0=C2=A0 =C2=A0groups: wlan > =C2=A0=C2=A0 =C2=A0ssid ARRIS-8030 channel 6 (2437 MHz 11g) bssid e4:f7:5= b:25:ff:da > =C2=A0=C2=A0 =C2=A0regdomain FCC country US authmode WPA2/802.11i privacy= ON > =C2=A0=C2=A0 =C2=A0deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 10 s= canvalid 60 > =C2=A0=C2=A0 =C2=A0protmode CTS wme roaming MANUAL > =C2=A0=C2=A0 =C2=A0parent interface: iwm0 > =C2=A0=C2=A0 =C2=A0media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode = 11g > =C2=A0=C2=A0 =C2=A0status: associated > =C2=A0=C2=A0 =C2=A0nd6 options=3D23 > > I have attached my rc.conf and pf.conf files to this mail. > > I have also attached a tcpdump showing router solicitations going out and= router advertisements being received. > > 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. > > When running Ubuntu on the same laptop or even in a Virtualbox VM with br= idged networking, Ubuntu manages to configure IPv6 without problems. Likewi= se with a Windows VM. > > I appreciate if anyone here can spot what goes wrong and suggest if I nee= d to configure something differently or whether a code fix will be needed t= o support this network. I can try patches if necessary. > > Thanks. > > Best regards > Kristian > Hello=C2=A0Kristian, I would recommend disabling your pf firewall during testing, and enabling i= t after you get SLAAC working. Having multiple unknowns in the equation will only make your life harder. In your rc.conf, you could try adding the following line: ifconfig_wlan0_ipv6=3D"inet6 accept_rtadv" After adding it, I would also recommend to restart your device. I use this for all my jails and it works fine with no additional configurat= ion. Regards.