From nobody Fri Aug 2 22:37:40 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 4WbLLy3pncz5RKtZ for ; Fri, 02 Aug 2024 22:37:46 +0000 (UTC) (envelope-from roy@marples.name) Received: from sender-of-o59.zoho.eu (sender-of-o59.zoho.eu [136.143.169.59]) (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 4WbLLx6VXSz4cNT for ; Fri, 2 Aug 2024 22:37:45 +0000 (UTC) (envelope-from roy@marples.name) Authentication-Results: mx1.freebsd.org; none ARC-Seal: i=1; a=rsa-sha256; t=1722638261; cv=none; d=zohomail.eu; s=zohoarc; b=XWhdSwiBTCsV0bANMWM8vJjsyUMwLi/Esd/2rRGZ87vkqCFp1cauOoLZoUMuxy7ljgMqcnDRBig6ZjIqqWEgyKIrpzzvSgFazP5hXLV7BrY7oJUJkGgb44Slu7UolER1U1nqvJIw3GfYXKCe+vuZtf5AxbU+Q95jB4S9EGi3+Uk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1722638261; 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=ieq/jDcmA3N3awoJQgqvEChbeN9vDXcAztdWOSwSf/w=; b=RmLZ1910zsYExfsAuXCLGi8+lo02yXXTOukI2Rpn6QaKhpJUyrAp39xYXo8xYAPwt4TLkI0FUsx7FrahXTRHrj0CGShGxfXfPk6n+2EebSElaPQ+ZkUVfkKSvnTLCpLWKcOoizFJs7OdoxwF2bV4ZUtodRoZ9jleA1VEcQSQu9Q= 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=1722638261; 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=ieq/jDcmA3N3awoJQgqvEChbeN9vDXcAztdWOSwSf/w=; b=jseJ0GP+QGgH3u1jik8TCaDadKgpIqfqI7rEji2iMfX5Uz+bYKZfWxaA4mP6iKDN DlBSegGz0g5bxjBNps1ZcDIkqBAXh0ZpiWGHkQqwGDVzMZD+GFjlQiZr5620VoUezDN EDm3roX73MTwbvfRP+EugugfTg4ErOiL8s3q4FNI= Received: from mail.zoho.eu by mx.zoho.eu with SMTP id 1722638260851983.6349680400523; Sat, 3 Aug 2024 00:37:40 +0200 (CEST) Date: Fri, 02 Aug 2024 23:37:40 +0100 From: Roy Marples To: "Karl Denninger" Cc: "freebsd-net" Message-ID: <191153dda48.afb62a7e766399.4659131769794429018@marples.name> In-Reply-To: <9bcca610-711a-41b0-955a-12968a3a8be0@denninger.net> 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> <191087bf5c4.109d82255531772.5427621875687457864@marples.name> <2d51761e-7836-4002-b2b5-0d8e66a0204c@denninger.net> <9bcca610-711a-41b0-955a-12968a3a8be0@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: quoted-printable 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: 4WbLLx6VXSz4cNT ---- On Fri, 02 Aug 2024 23:05:33 +0100 Karl Denninger wrote ---=20 > This is what is typically in /etc/rc.conf: I don't see anything wrong there. > And in /usr/local/etc/dhcpcd.conf I have changed "duid" to = "clientid" which appears to get a repeatable IPv4 IF the host will g= ive me one (duid ALWAYS results in a different pool address on each = boot/run): > =20 > # Generate SLAAC address using the Hardware Address of the in= terface > #slaac hwaddr > # OR generate Stable Private IPv6 Addresses based from the DUID > #slaac private > =20 > allowinterfaces igb0 > =20 > #ipv6only > #ipv4only > =20 > # > # Do not run these hooks; DO run the DDNS one in exit-hooks > # > nohook resolv.conf hostname ntp.conf > =20 > # Do not allow router solicits on anywhere EXCEPT the external > # > noipv6rs > =20 > interface igb0 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ipv6rs > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ia_na 1 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ia_pd 1/::/56 igb1/0/= 64 igb1.4/1/64 This looks fine. I'm on holiday now so can't look at it more (back in a week), but if it's n= ot working on a cold start but is working on a reboot of "something" then t= he chances are dhcpcd got stuck waiting for the LL address to become ready. FreeBSD doesn't announce the state of it, which is a shame, so dhcpcd polls= it instead. You can check this by adding "debug" to dhcpcd.conf and you should get a me= ssage like "waiting for LL address". If DHCPv6 or RS stalls at that point then we know the cause. You could also put "logfile /var/log/dhcpcd.log" to get a clean dhcpcd only= log file. Email to me off list if you like. Roy