From nobody Wed Jul 31 11:10:27 2024 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 4WYqXK1Pb2z5RkfQ for ; Wed, 31 Jul 2024 11:25:37 +0000 (UTC) (envelope-from roy@marples.name) Received: from sender-of-o57.zoho.eu (sender-of-o57.zoho.eu [136.143.169.57]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4WYqXJ3Llcz4LL4 for ; Wed, 31 Jul 2024 11:25:36 +0000 (UTC) (envelope-from roy@marples.name) Authentication-Results: mx1.freebsd.org; none ARC-Seal: i=1; a=rsa-sha256; t=1722424229; cv=none; d=zohomail.eu; s=zohoarc; b=Af0sSqfeoe1K0B16vFrBL3tZFDHQ5llQrTBRNKgFleWmopoMOrtfC9l6uqHhoP/SLBzVAoVJyF37n0SDT/XDTlZUSReXkq8x0+lA3UodRCFjjuND1GFDgQVc4u888oxpPwWn4F3WNN27l65B85shWKWostuI0JNGqLi+Zt5AjC4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1722424229; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=ybRj7t9SmimJdsw2u/BrPRndaT4uxKpQDsJs+1GhL48=; b=h/1zx50LRqvTfkwN/nN0Qlil7jUFsT+XB2m2zdaTGDYsHAlwtoj/WCoGMxFsNF9g0TEkEzIbTzeHP7p70Ras0As/S0tOKffE9cYFMH4sa6Giseg7rzaC5tN8XIGiAtzPMs7kN1VarovqV2+ScIS3hQi8Vge/4WeTVya5Q+sFG2k= ARC-Authentication-Results: i=1; mx.zohomail.eu; dkim=pass header.i=marples.name; spf=pass smtp.mailfrom=roy@marples.name; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1722424229; s=zmail; d=marples.name; i=roy@marples.name; h=Date:Date:From:From:To:To:Cc:Cc:Message-ID:In-Reply-To:References:Subject:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=ybRj7t9SmimJdsw2u/BrPRndaT4uxKpQDsJs+1GhL48=; b=DP4eKL1gezysqzWrs2IRGthdegtwNBntyTEovtjJpmchr/ZnrfpXQ222zJ4KFQjb 3HCbZCqtoaR+AV0ACosoQj9K3Kq29+LmAHU8f7V3QT5O9xmlcYpFzfu3HYKa4uW4UPn zV7lwUM9S9xZsiSiAtmspBOO6vvB3ODNRRQLcjmY= Received: from mail.zoho.eu by mx.zoho.eu with SMTP id 1722424227310102.34503953147203; Wed, 31 Jul 2024 13:10:27 +0200 (CEST) Date: Wed, 31 Jul 2024 12:10:27 +0100 From: Roy Marples To: "Karl Denninger" Cc: "freebsd-net" Message-ID: <191087bf5c4.109d82255531772.5427621875687457864@marples.name> In-Reply-To: References: <050440F8-B3D8-4B2C-85BD-D5C09C303037@distal.com> <20240727.122108.862717899466090274.moto@kawasaki3.org> <190fdf3e353.11351bb5e292296.3216692081725884177@marples.name> <20240730.091027.1008656135460861216.moto@kawasaki3.org> <1910419702c.f8dcf010456961.6536659919669261420@marples.name> <2c1d5655-452c-4b7d-906d-8aa1affa64bd@denninger.net> Subject: Re: DHCPv6 IA_PD - how-to 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: 7bit Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail X-Spamd-Bar: ---- 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:41913, ipnet:136.143.168.0/23, country:CH] X-Rspamd-Queue-Id: 4WYqXJ3Llcz4LL4 Roy Marples ---- On Wed, 31 Jul 2024 03:38:46 +0100 Karl Denninger wrote --- > Starting dhcpcd. > dhcpcd-10.0.8 starting > igb0: link state changed to UP > igb1: link state changed to UP > no interfaces have a carrier > Additional TCP/IP options: IPv6 CPE WANIF=igb0. > Setting up harvesting: [CALLOUT],[UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHE > R],NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED > Feeding entropy: dd: /boot/entropy: Read-only file system > . > igb0: link state changed to DOWN > Setting hostname: IpGw.Denninger.Net. > ELF ldconfig path: /lib /usr/lib /usr/local/lib /usr/local/lib/ipsec /usr/local/ > lib/perl5/5.36/mach/CORE > 32-bit compatibility ldconfig path: /usr/lib32 /usr/lib32 > lo0: link state changed to UP > igb1: link state changed to DOWN > Starting Network: lo0 igb0 igb1 enc0. > igb0: link state changed to UP This all looks fine. > Which would be ok EXCEPT all I get is an IPv4 address and its not > repeatable either -- which it IS using DHCP provided by the system (that > is, I RARELY get a different one -- with dhcpcd I ALWAYS get a different > one. I'd prefer not to; obviously if I must then I must, but it appears > dhcpcd is not maintaining any sort of requested ID and thus even if the > server CAN give me the same IP, it doesn't.) > > But more troubling I don't get an IPv6 at all. The reason appears to be > that the default route doesn't get populated off the other end, and I > note that "ACCEPT_RTADV" is NOT there -- and neither is > "AUTO_LINKLOCAL". If I stop it from /usr/local/etc/rc.d with "dhcpcd > stop" and then "dhcpcd start" I *do* get the IPv6 delegation. > > Gotta put it back on the other setup for now, but any ideas would be > helpful - I can't take the connection offline for the next couple of > days, but can work on it over the weekend. So if dhcpcd handles IPv6 RS in any way for form on any interface then it will disable the kernel handling it. This is what you are seeing. You should also disable rtsold. On the other hand, you can leave the kernel handling everything RS by adding noipv6rs at the top of /etc/dhcpcd.conf Is it possible you are using both? Note that DHCPv6 will not set any default route, that's purely in the domain of RS. Roy