From nobody Wed Jul 24 13:51:58 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 4WTb735Xskz5S0g8 for ; Wed, 24 Jul 2024 13:52:31 +0000 (UTC) (envelope-from karl@denninger.net) Received: from colo1.denninger.net (colo1.denninger.net [104.236.120.189]) (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 4WTb7250JWz4rZ1 for ; Wed, 24 Jul 2024 13:52:30 +0000 (UTC) (envelope-from karl@denninger.net) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=denninger.net; spf=pass (mx1.freebsd.org: domain of karl@denninger.net designates 104.236.120.189 as permitted sender) smtp.mailfrom=karl@denninger.net Received: from denninger.net (syn-096-033-195-197.res.spectrum.com [96.33.195.197]) by colo1.denninger.net (Postfix) with ESMTP id A6F782110DC for ; Wed, 24 Jul 2024 09:52:13 -0400 (EDT) Received: from [192.168.10.28] (D18.Denninger.Net [192.168.10.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by denninger.net (Postfix) with ESMTPSA id 68AC049B824 for ; Wed, 24 Jul 2024 09:51:59 -0400 (EDT) Message-ID: Date: Wed, 24 Jul 2024 09:51:58 -0400 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 Thunderbird Subject: Re: DHCPv6 IA_PD - how-to To: freebsd-net@freebsd.org References: <190e09e6c1a.11450232913849.654798645277119294@marples.name> <190e3ca9424.10cb640b9133631.4510537448957801250@marples.name> Content-Language: en-US From: Karl Denninger Autocrypt: addr=karl@denninger.net; keydata= xsFNBF1Rd+gBEACmLAH7SAzdQq57ZN56QQEy0jDFfH5BvGOMZgCaP+Y5lJQ5u9WphCoCALMs Rg0o1Q9DRNWgUmy/cgsxioXAEzZFXXzOHPJhwplVOgfjxnoByD5KQhWG8Owm9QmATdtiZPSV 4UYVNUIbZv7btSnnAXysG2OUHajYS5PVeFQxFbhNFq/SS8VaXr1WEVTFa8NFKp2W3/KY1A+U KKDUlYwnOauK3fnY9chF2IRSoxAbBJFrJ4lPGz04HtzNos4Q9CBfTphKcdFjcPntNS9wrqs3 sm+7hLNTH9B2Kj6aekG5UhD03eyP+gevTgBy51RL6ULzI13Kc4aeyOByuBXrA8D2m2Ee67iy 4+ZSxM9Wn1gQce5624OWzCYIGBH2r75Bshp1KHKu36N2rN//kyKYnwl/z6UZB/S9cMUFKZgL gFx7QxpFX/HvSiBcPfcGS0meModpg6qma7/2jRoQAXacslpiT+uOfRGspNbnglkbw435RzX/ kMUclJQNZBBBUpPiGjVCjeBTiAfN8TyjS+pWzwxNCUZWbYO5xVaS0gbIhgVNoBOGn1rdTsdA PP65SRjaoL5KY6bzkkzrXLB2Djx8/p4vr0qIqxIQWbewJq3xKyKGiqI46ae77BF7k0B++Ndx g9K9UeWKl/iJ0eoI0ftR+xH3aIHTU1Or3j/tj4j8Z0tnVSyt1wARAQABzSNLYXJsIERlbm5p bmdlciA8a2FybEBkZW5uaW5nZXIubmV0PsLBfwQTAQgAKQUCZj4NhwIbIwUJDK6K2AcLCQgH AwIBBhUIAgkKCwQWAgMBAh4BAheAAAoJEG8twBXrj1l42DQP/A0AGcBuGhHzGh2aFyW94B29 ECEkmkxigmQt++AG9xr3Qv4gC6UtSGzKo50SWAdek5peBRTbeDALa/tQvBsbi2aJgYWxZVOV N2XLe89ZjvJuTZqXaG/iaV50es56/cWBlG7VR+5/ijw3uSWO6gZ+L5bkKnQ/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5Hx3NUSVK83ovFb+Ofes9SLNdqNu3xAUcfpRdS DyxzpVbCq6Y2CIojiaweiYe5BOBhmR9OPGhqP8YD7GukYmQufAVuOrIVyctBlVPHgMBb+UX+ ItYXuX4weSJWLOsmM45xd/EYvBq2DWFpKlyihoktNzTGqxGsNeG7gCOEUTAnUwARAQABwsFl BBgBCAAPBQJmPg2HAhsMBQkMrorYAAoJEG8twBXrj1l4s28P/icoshBPgHA86zWSiBYWtR4M TXbg86Yo5tMm64gO2ipXHlDnS0fQOjkJvfo+1e8soq0Rf4RxvKGEDLF9sxLD3z0ptF4Lj8aN zddLPlWFUZ9iOGbDGZhdvnB6YfCWEOXnkXJHfdheYOd/cni54Y4MT1sPMUiPGDlB4Fpu1voL wMZdGfplQYuV+zYv2ezd6Aoc/YwmhixX3YSjy6vFa+7x8OXrGUK69XaZ649GGHpeZzYuLTPw jAfCjbYBk9a24GtQlO/sk9SHRlxIU1e/AflNMtOMYDwuEDLuPgTLe4pRt4lnSdnQSVsFoYz1 nO7XBtyJdUa2rrhcLfhmSxlbJF/4cmNB4ebyT+5v+9ChpMVqzpKBCjyxPm4s+WVq4aYQ7D24 caCcUknD82iMFDFvbV0dm/xAQKZ3k+L/apMhHtUS23dzhJemxWdeQ6Cs2l0FYoGtrEzfUguR Hj7U3opGU6F4dnH1nQt4CbaXAOXM2Zh4ik+z5xRv9ro7fZUG8KSaz8dHKc2scpnJsqdS5XEk NwcHQUCCwSOEPzbugPJY1vjkjlTGWu6ihN7mjxxfthNPGU21/Vfv0d+mlBNdTkl2YOlQtKci YBqkhRb5Re9KC+6O7dWFf5qPZQiD3iUOxUOWsaQhj/CxO+EYk7kxEJxV4tMZfesE90LgTINX Z7FdWd0DYG+m In-Reply-To: <190e3ca9424.10cb640b9133631.4510537448957801250@marples.name> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------ZlKgUPqDuAzK60AaWfHLq3PW" X-Spamd-Bar: - X-Spamd-Result: default: False [-1.66 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_SPAM_SHORT(0.95)[0.951]; NEURAL_SPAM_MEDIUM(0.74)[0.740]; NEURAL_HAM_LONG(-0.56)[-0.561]; DMARC_POLICY_ALLOW(-0.50)[denninger.net,none]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,multipart/alternative,text/plain]; MIME_BASE64_TEXT(0.10)[]; XM_UA_NO_VERSION(0.01)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; HAS_ATTACHMENT(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEFALL_USER(0.00)[karl]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:+,4:~,5:~]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:14061, ipnet:104.236.64.0/18, country:US]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4WTb7250JWz4rZ1 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------ZlKgUPqDuAzK60AaWfHLq3PW Content-Type: multipart/mixed; boundary="------------fe127SMeySDF6XwQKFdUB2Ak"; protected-headers="v1" From: Karl Denninger To: freebsd-net@freebsd.org Message-ID: Subject: Re: DHCPv6 IA_PD - how-to References: <190e09e6c1a.11450232913849.654798645277119294@marples.name> <190e3ca9424.10cb640b9133631.4510537448957801250@marples.name> In-Reply-To: <190e3ca9424.10cb640b9133631.4510537448957801250@marples.name> --------------fe127SMeySDF6XwQKFdUB2Ak Content-Type: multipart/alternative; boundary="------------crjlbAr4tMSgziWVhJ1QB1Y3" --------------crjlbAr4tMSgziWVhJ1QB1Y3 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gNy8yNC8yMDI0IDA0OjEwLCBSb3kgTWFycGxlcyB3cm90ZToNCj4gICAtLS0tIE9uIFdl ZCwgMjQgSnVsIDIwMjQgMDI6NDg6MTUgKzAxMDAgIEthcmwgRGVubmluZ2VyICB3cm90ZSAt LS0NCj4gICA+ICAgICBJJ2QgbGlrZSB0byByZXBsaWNhdGUgdGhpcyB0aGF0IGlzIGN1cnJl bnRseSBiZWluZyBzZW50IHVwIHZpYSAgICAgIGRoY3A2Yywgd2hpY2ggaXMgbm90IHF1aXRl LWNsZWFyIHRvIG1lIGZyb20gdGhlIGRvY3Mgb24gaG93IHRvIGRvICAgICAgdGhhdC4uDQo+ ICAgPiAgICAgIw0KPiAgID4gICAgICAgIyBUaGlzIGNvbmZpZ3VyYXRpb24gd2lsbCBhdHRl bXB0IHRvIGdldCAvNTYgb3IgYSAvNjAgZnJvbSB0aGUNCj4gICA+ICAgICAgICMgSVNQIGFu ZCBhc3NpZ24gYSAvNjQgaW50ZXJuYWxseS4NCj4gICA+ICAgICAgICMgTm90ZSB0aGF0IGlm IHlvdSBoYXZlIGEgLzYwIHlvdSBjYW4gaGF2ZSBmb3VyIC82NHMgZGVmaW5lZDsgaWYgICAg ICB5b3UgaGF2ZSBhDQo+ICAgPiAgICAgICAjIC81NiB0aGVuIG9idmlvdXNseSB5b3UgY2Fu IGhhdmUgMTYgaW50ZXJuYWwgbmV0d29ya3MuwqAgRm9yIG1vc3QgICAgICAiaG91c2UiDQo+ ICAgPiAgICAgICAjIHNpemUgbmV0d29ya3MgZm91ciBzZXBhcmF0ZSBkZWxpbmVhdGlvbnMg aXMgZW5vdWdoLCBmb3IgbW9zdCAgICAgICJtb2RlcmF0ZSINCj4gICA+ICAgICAgICMgc2l6 ZWQgY29ycG9yYXRlIGVudmlyb25tZW50cyAxNiBpcyBlbm91Z2guwqAgQkUgQVdBUkUgVEhB V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o= --------------crjlbAr4tMSgziWVhJ1QB1Y3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On 7/24/2024 04:10, Roy Marples wrote:=
 ---- On Wed, 24 Jul 2024 02=
:48:15 +0100  Karl Denninger  wrote ---=20
 >     I'd like to replicate this that is currently being sent up via =
     dhcp6c, which is not quite-clear to me from the docs on how to do   =
   that..
 >     #
 >       # This configuration will attempt to get /56 or a /60 from th=
e
 >       # ISP and assign a /64 internally.
 >       # Note that if you have a /60 you can have four /64s defined;=
 if      you have a
 >       # /56 then obviously you can have 16 internal networks.=C2=A0=
 For most      "house"
 >       # size networks four separate delineations is enough, for mos=
t      "moderate"
 >       # sized corporate environments 16 is enough.=C2=A0 BE AWARE T=
HAT THE      SLA-LEN MUST
 >       # MATCH THE DIFFERENCE BETWEEN THE LOCAL PREFIX AND THE REMOT=
E      ONE!=C2=A0 If
 >       # you ask for a /56 then sla-len is 8, if you ask for a /60 t=
hen      the sla-len
 >       # is 4 (difference between the requested prefix length and 64=
,      respectively.)
 >       #
 >      =20
 >       interface igb0 {
 >       =C2=A0=C2=A0=C2=A0=C2=A0 send ia-pd 1;
 >       =C2=A0=C2=A0=C2=A0=C2=A0 send ia-na 1;
 >       =C2=A0=C2=A0=C2=A0=C2=A0 send rapid-commit;
 >       =C2=A0=C2=A0=C2=A0=C2=A0 script "/usr/local/etc/dhcp6c.script=
";
 >       };
 >      =20
 >       id-assoc na 1 {
 >      =20
 >       };
 >      =20
 >       id-assoc pd 1 {
 >       =C2=A0 prefix ::/56 1800;
 >      =20
 >       =C2=A0 prefix-interface igb1 {
 >       =C2=A0=C2=A0=C2=A0 sla-id 0;
 >       =C2=A0=C2=A0=C2=A0 sla-len 8;
 >       =C2=A0 };
 >       =C2=A0=20
 >       };
 >    =20
 >     igb1 is the "normal" internal network; igb0 is the external one=
=2E
 >     The ISP hands out /56s (although at one time I could choose    =
  either a /56 or /60); I have routines in the script file that then     =
 generate dynamic updates for DNS so the gateway has its pointers      up=
dated if/when the address changes (I run my own zones)
 >    =20
 >     Its not entirely-clear how to replicate that in the config file=
 for dhcpcd; I can figure out the script I'm sure, but the base config is=
 not clear to me.

So you would add this to the bottom of the default dhcpcd.conf file:

interface igb0
  ia_na
  ia_pd 0/::/56 igb1/0/64

That mirrors your config exactly apart from requesting a specific lifetim=
e which dhcpcd doesn't support for PD.
rapid commit is enabled already in the default dhcpcd.conf file.
You could then edit /etc/dhcpcd.exit-hook to handle your DDNS.

You might be able to get away with this lighter config as well, based on =
what you said:
interface igb0
  ia_na
  ia_pd 0 igb1

Any pointers on now to make this more clear in dhcpcd.conf(5) are welcome=
=2E
Good luck!

Roy

The provided example (starting with "noipv6rs") requests multiple prefixes and star= ts with "ia_pd 2"; what wasn't clear is the most-common example for a sin= gle-attached endpoint that might have multiple internal interfaces (e.g. = separated subnets; perhaps one for a guest network or similar, another fo= r general use, etc.)

Most installations whether p= ersonal or small/modest-size business on a per-location basis anyway like= ly have one external connection to the internet as a whole, point default= at their ISP and expect them to hand them their DNS pointers as well. S= ome folks only need SLACC of course as their ISP-provided router does all= this (e.g. many people on cable modem service these days where their mod= em is also a WiFi AP and router) but some (like myself) prefer to do that= ourselves both for isolation and firewalling purposes. Most ISPs appear = to hand out a /56 (some will go longer, but few shorter) even at the indi= vidual "personal, household" connection level so I'd bet that as a "sampl= e" configuration in the manual would suit 90%+ of the users.


--
Karl Denninger
karl@denninger.net
The Market Ticker
[S/MIME encrypted email preferred]<= /div> --------------crjlbAr4tMSgziWVhJ1QB1Y3-- --------------fe127SMeySDF6XwQKFdUB2Ak-- --------------ZlKgUPqDuAzK60AaWfHLq3PW Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature.asc" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEvWWSxnGhSYSUSaCtby3AFeuPWXgFAmahBv4FAwAAAAAACgkQby3AFeuPWXiO AA//SV3b/D4QUeR7NGivWsOWDPx+TI/gW197vcMnyUGUVexemdj1syCIqxk+kUXE43r7ucEwnhTM g+bE9O7UF9SRR3+GzR3n7yU6CbjtR+7omvxYTMAqPucrG+WLl1UQw9avpOS5ZBg0puG61flvJWON zNoKSr714YzuOpjwxjZs/++KGZVSfD13xieX5RHttPu8ns8ED+8zvBPMtiVD0PBWUmx+mpO1mmun 1hs5evXXiy6XaSu4k9j1M1V6BPGeC7zzLFhJJ0TYTAPSjJRX3beqOs0W75n1av4MulEwt4wh9cp8 FM/1ithcqZPDFieR78KE2M+tiTwWumL+fZV0pfuahr1v0AuxfT11/F30xJOzjXDZKnhY319Y9dCx w1PY9Og7QP0ufsM3cVso2URVoyUF1rL+Z+Y9Fi7cER2EdZ6B7Nf6FCIFK5/v2ZRxQnkCRoWHrUTw 51u6EpmoXFFZ7tR8xnWeixSpSwqbJlcXEJZoGsIcAdq0sp7KOUvT/ydTsdzMAb+jvhpGgfXGB5F+ jdY+YBouXtzbIOUZQOesJ0AHAzuES7U5CAbMZLr/DOx/S5jEAeAZZBvkeGIwRZ+l3UdO7RVEJWnQ lqvdUl9D8vQk8Sp6lUREX/ELiUuW2Ao3HY7OIQgfMjr6f7ssm9TdLLCB5XP4hiVvrAFJ5M6f3G2y HQ4= =vdHJ -----END PGP SIGNATURE----- --------------ZlKgUPqDuAzK60AaWfHLq3PW--