Re: rtadvd(8) How to IPv6 tokenize interface identifier
- In reply to: Roy Marples : "Re: rtadvd(8) How to IPv6 tokenize interface identifier"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 May 2025 17:25:23 UTC
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