Date: Sat, 03 May 2025 19:25:23 +0200 From: =?utf-8?Q?=C3=89ric_Masson?= <emss@mailbox.org> To: Roy Marples <roy@marples.name> Cc: "Eugene Pereviazko" <john@dnepro.net>, "freebsd-net" <freebsd-net@freebsd.org> Subject: Re: rtadvd(8) How to IPv6 tokenize interface identifier Message-ID: <86ecx5y5bw.fsf@one-11.fr.eu.org> In-Reply-To: <195299cfe41.d7a8e8731186.6219551516433988607@marples.name> (Roy Marples's message of "Fri, 21 Feb 2025 17:45:09 %2B0000") References: <20250221075300.4466057d@thor.sb211.local> <a246f982-f0d9-9447-75d2-7c86bacea558@dnepro.net> <195299cfe41.d7a8e8731186.6219551516433988607@marples.name>
next in thread | previous in thread | raw e-mail | index | archive | help
Roy Marples <roy@marples.name> writes: Hi Roy > As Eugene said, you can use dhcpcd in ports with the slaac directive like so > > interface bge0 > slaac token ::dead:beef > > Then you get ::dead:beef appended to each autoconf address from the RA. > You could use ::1 for your token which should meet your needs as above. Quite handy. Is there any way to specify multiple tokens, please? The goal would be to replace rc.conf's ifconfig aliases and automatically use the prefixes advertised to add a set of addresses. I've tried declaring suffixes on the same configuration line the following way : slaac token ::1 ::dead:beef ::ace:cafe Or using multiple lines : slaac token ::1 slaac token ::dead:beef slaac token ::ace:cafe First uses ::1 only & second uses ::ace:cafe (seems expected after a glance at if-options.c code) BR Éric
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ecx5y5bw.fsf>
