Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Feb 2025 10:44:12 +0000
From:      Bob Bishop <rb@gid.co.uk>
To:        A FreeBSD User <freebsd@walstatt-de.de>
Cc:        FreeBSD CURRENT <freebsd-current@FreeBSD.org>, "freebsd-net@freebsd.org" <freebsd-net@FreeBSD.org>
Subject:   Re: rtadvd(8) How to IPv6 tokenize interface identifier
Message-ID:  <2D84F83E-4548-40FA-B817-39703C670B43@gid.co.uk>
In-Reply-To: <20250221075300.4466057d@thor.sb211.local>
References:  <20250221075300.4466057d@thor.sb211.local>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_9332C272-DF26-4103-A5EB-6DECEA582C4A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi,

> On 21 Feb 2025, at 06:52, A FreeBSD User <freebsd@walstatt-de.de> =
wrote:
>=20
> Hello,
>=20
> Linux (especially OpenWRT we use) knows about a concept named "IPv6 =
tokenized 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.
>=20
> 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) =
configuration 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).

Isn=E2=80=99t sufficient just to give the router a static IPv6 address? =
That=E2=80=99s what we do here.

> The only config tag I can imagine is responsible for what I'd like to =
achive is the "addr" tag
> mentioned in rtadvd.conf(5), but whatever I fill this tag with - the =
desired 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 =
provided by our ISP. It
> is possible to pin the ULA toward the desired address, like =
addr=3D"fd50:c450::1", but then the
> ISP provided prefix seems not to be set properly or is completely =
absent. Omitting "addr=3D"
> provides the interface with ULA prefix and ISP prefix - but obviously =
with the randomly
> generated 64bit host portion.
>=20
> 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".
>=20
> 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 =
clear expalanation how
> to achive the desired, please point me towards it (thanks in =
advance!).
>=20
> Linux has this feature since a while and I can not believe that =
FreeBSD lacks such a feature.
>=20
> Thank you very much in advance,
>=20
> O. Hartmann
>=20
>=20
> --=20
>=20
> A FreeBSD user

--
Bob Bishop
rb@gid.co.uk





--Apple-Mail=_9332C272-DF26-4103-A5EB-6DECEA582C4A
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQR+a6Wh87I/iYwcbE+8xpPppLfFvwUCZ7hY/AAKCRC8xpPppLfF
v6/vAKDt8gafDpGCDIAbeQD6KdcT7ZNcFQCeI+wgOqwQfjiYEDGhR36lyVQsLik=
=rg5L
-----END PGP SIGNATURE-----

--Apple-Mail=_9332C272-DF26-4103-A5EB-6DECEA582C4A--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2D84F83E-4548-40FA-B817-39703C670B43>