Re: rtadvd(8) How to IPv6 tokenize interface identifier

Éric Masson <[email protected]>
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]>
Roy Marples <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.