Date: Fri, 21 Feb 2025 07:52:33 +0100 From: A FreeBSD User <freebsd@walstatt-de.de> To: FreeBSD CURRENT <freebsd-current@freebsd.org>, freebsd-net@freebsd.org Subject: rtadvd(8) How to IPv6 tokenize interface identifier Message-ID: <20250221075300.4466057d@thor.sb211.local>
next in thread | raw e-mail | index | archive | help
--Sig_/615oeyxN0dZVm=zV_2hbSF8 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hello, Linux (especially OpenWRT we use) knows about a concept named "IPv6 tokeniz= ed interface identifier". The concept is self explanatory, a interface/router obtains a = propagated prefix and the concept allows the explicit definition of the host portion. 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) configurat= ion file, but I haven't managed yet to accomplish such a task (to speak simple: I'd like to= have a router of a subnet always at IPv6 Network PREFIX:0:0:0:1). The only config tag I can imagine is responsible for what I'd like to achiv= e is the "addr" tag mentioned in rtadvd.conf(5), but whatever I fill this tag with - the desire= d effect is never achived (i.e addr=3D"::0.0.0.1"). My "FreeBSD homebrewn" router has several= networks, attached to vlan. Each interface is subject of an ULA prefix and an IPv6 prefix prov= ided by our ISP. It is possible to pin the ULA toward the desired address, like addr=3D"fd50:c4= 50::1", but then the ISP provided prefix seems not to be set properly or is completely absent. O= mitting "addr=3D" provides the interface with ULA prefix and ISP prefix - but obviously with = the randomly generated 64bit host portion. Playing around with mutually suitable tags, like "pinfoflags", "raflags" or= "rtflags" and having probed almost every possible combination (with or without some sense= ), it seems impossible to provide a) both ULA and ISP prefix pin the host portion to a = desired 64bit address, like "PREFIX::1". I do not exclude that I'm possibly incapable of comprehension the manpage (= the language is and the deeper semantics seem then to be hidden for me). So, if there is a clea= r expalanation how to achive the desired, please point me towards it (thanks in advance!). Linux has this feature since a while and I can not believe that FreeBSD lac= ks such a feature. Thank you very much in advance, O. Hartmann --=20 A FreeBSD user --Sig_/615oeyxN0dZVm=zV_2hbSF8 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRQheDybVktG5eW/1Kxzvs8OqokrwUCZ7gizAAKCRCxzvs8Oqok r0m7AP0ZSdHzoVRagBPVuDWWxcGp7pr4qrWK4y/6urBN0V3V3wEAoJafULkNvzXP GfVCWOFbZze/RJuF76wGmqlZc/V0/gs= =dfnX -----END PGP SIGNATURE----- --Sig_/615oeyxN0dZVm=zV_2hbSF8--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20250221075300.4466057d>