From nobody Sun Feb 23 17:05:40 2025 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 4Z19J02LNmz5p55h for ; Sun, 23 Feb 2025 17:06:24 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from smtp052.goneo.de (smtp5.goneo.de [IPv6:2001:1640:5::8:30]) (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 4Z19Hz2VfDz3h8L for ; Sun, 23 Feb 2025 17:06:23 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=walstatt-de.de header.s=DKIM001 header.b=nUvtr389; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@walstatt-de.de designates 2001:1640:5::8:30 as permitted sender) smtp.mailfrom=freebsd@walstatt-de.de Received: from hub1.goneo.de (hub1.goneo.de [IPv6:2001:1640:5::8:52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp5.goneo.de (Postfix) with ESMTPS id 25A53240DB8; Sun, 23 Feb 2025 18:06:17 +0100 (CET) Received: from hub1.goneo.de (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by hub1.goneo.de (Postfix) with ESMTPS id 8883A2404BC; Sun, 23 Feb 2025 18:06:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walstatt-de.de; s=DKIM001; t=1740330375; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5xaw2xW/TOgRjnets48fZjNyxgpHtEjFqXPZTsSlyew=; b=nUvtr389vBIMfAMHNHRCxJPbtu1lYdODC4ThOG0GQKtFS0ErKKj84YdMLOhS8ixr2QaUSQ zKAyO779VT8IAssk0fJg7JBwMCM2gO0s7L/lSIWrE8yeUvz3vaqhGnxOxG93RjPRsd9dKf 6FFYpY+v2Sb3X300VZinGkaVbcSIzHfcOWwimC6hwis3/MYKHXjbSvAsgAZxhcJOMX7I0N 6KlG3xF8VqAxhGrRgFw/aRwJJedG9huxe/iWWYPkz3XTmNY7Nx89bPjiAUz8eB9CoU9WMH XHIr98MX9wcCxL12OruAtst5BmW+9r3DBKcm9WOkRP88410rVV6mh4M2yPWreQ== Received: from thor.sb211.local (dynamic-2a02-3100-1a5d-2802-b457-911c-0712-90e8.310.pool.telefonica.de [IPv6:2a02:3100:1a5d:2802:b457:911c:712:90e8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by hub1.goneo.de (Postfix) with ESMTPSA id 312442402ED; Sun, 23 Feb 2025 18:06:15 +0100 (CET) Date: Sun, 23 Feb 2025 18:05:40 +0100 From: A FreeBSD User To: Eugene Pereviazko Cc: freebsd-net@freebsd.org Subject: Re: rtadvd(8) How to IPv6 tokenize interface identifier Message-ID: <20250223180607.3dad6d16@thor.sb211.local> In-Reply-To: References: <20250221075300.4466057d@thor.sb211.local> 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: multipart/signed; boundary="Sig_/UEn02YhLXj1OILTOZl.HEjK"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Rspamd-UID: 2c2ba6 X-Rspamd-UID: 5caf71 X-Spamd-Result: default: False [-5.70 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[walstatt-de.de:s=DKIM001]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2001:1640:5::8:0/112]; RCVD_IN_DNSWL_LOW(-0.10)[2001:1640:5::8:30:from]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:25394, ipnet:2001:1640::/32, country:DE]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[walstatt-de.de]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[walstatt-de.de:+] X-Rspamd-Queue-Id: 4Z19Hz2VfDz3h8L X-Spamd-Bar: ----- --Sig_/UEn02YhLXj1OILTOZl.HEjK Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am Fri, 21 Feb 2025 15:31:53 +0200 Eugene Pereviazko schrieb: > 21.02.25 08:52, A FreeBSD User =D0=BF=D0=B8=D1=88=D0=B5: > > Hello, > > > > Linux (especially OpenWRT we use) knows about a concept named "IPv6 tok= enized interface > > identifier". The concept is self explanatory, a interface/router obtain= s a propagated > > prefix and the concept allows the explicit definition of the host porti= on. > > > > I haven't managed to accomplish such a behaviour using FreeBSD's rtadvd= (8) daemon. I guess > > this task is subject of and performed through the rtadvd.conf(5) config= uration file, but I > > haven't managed yet to accomplish such a task (to speak simple: I'd lik= e to have a router > > of a subnet always at IPv6 Network PREFIX:0:0:0:1). =20 >=20 > Am I correct that you want your host to combine predefined host part=20 > (instead of eui64) with dynamically received prefix? >=20 > Like, set host part to ::DEAD:1 then receive 2001:db8:1234:4321::/64=20 > prefix from router and get your address of 2001:db8:1234:4321::DEAD:1? Correct. >=20 > Then rtadvd is not a tool for that. rtadvd is for advertising, not=20 > receiving advertisements. Yes, also correct, realised that AFTER sending my posting. >=20 > If I'm not mistaken You should try dhcpcd from ports or packages,=20 > specifically "slaac token" verb, as I don't know of similar feature in=20 > base system. I'm using what others recommend and also use: KAME 2008 dhcp6c. Now clue ho= w to achive the desired with this ancient tool ... >=20 > > Linux has this feature since a while and I can not believe that FreeBSD= lacks such a > > feature. > > > > Thank you very much in advance, > > > > O. Hartmann > > > > =20 --=20 A FreeBSD user --Sig_/UEn02YhLXj1OILTOZl.HEjK Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRQheDybVktG5eW/1Kxzvs8OqokrwUCZ7tVfwAKCRCxzvs8Oqok r5loAP9VC2CuivZ8xQ67wjBwSaOZMRV6YCLSI7JE2+PxVmuvlQD+NeB9e8Pub9Ft jWoE5Mowr64el/zC7/LbQ2kDcI6TuAc= =zmJ9 -----END PGP SIGNATURE----- --Sig_/UEn02YhLXj1OILTOZl.HEjK--