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

From: A FreeBSD User <freebsd_at_walstatt-de.de>
Date: Sun, 23 Feb 2025 17:05:40 UTC
Am Fri, 21 Feb 2025 15:31:53 +0200
Eugene Pereviazko <john@dnepro.net> schrieb:

> 21.02.25 08:52, A FreeBSD User пише:
> > Hello,
> >
> > 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.
> >
> > 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).  
> 
> Am I correct that you want your host to combine predefined host part 
> (instead of eui64) with dynamically received prefix?
> 
> Like, set host part to ::DEAD:1 then receive 2001:db8:1234:4321::/64 
> prefix from router and get your address of 2001:db8:1234:4321::DEAD:1?

Correct.

> 
> Then rtadvd is not a tool for that. rtadvd is for advertising, not 
> receiving advertisements.

Yes, also correct, realised that AFTER sending my posting.

> 
> If I'm not mistaken You should try dhcpcd from ports or packages, 
> specifically "slaac token" verb, as I don't know of similar feature in 
> base system.

I'm using what others recommend and also use: KAME 2008 dhcp6c. Now clue how to achive the
desired with this ancient tool ...

> 
> > Linux has this feature since a while and I can not believe that FreeBSD lacks such a
> > feature.
> >
> > Thank you very much in advance,
> >
> > O. Hartmann
> >
> >  



-- 

A FreeBSD user