get rid of the eui64 address

Victor Sudakov vas at mpeks.tomsk.su
Thu Oct 18 15:56:08 UTC 2018


Andrey V. Elsukov wrote:
> > 
> > I have a static IPv6 address configured on a host. However, an
> > autoconfigured eui64 address keeps popping up even if I delete it
> > manually.  It's marked by the "autoconf" flag in the ifconfig output.
> > 
> > Can I get rid of the autoconf'ed address for good, but still keep the
> > rtsold running (for the sake of the default gateway)?
> > 
> > Or should I leave it alone? I just want to make sure that the static
> > IPv6 address is used for outgoing connections.
> 
> You can use prefer_source flag for your static address, and for most
> cases it will be chosen by IPv6 SAS algorithm (if it is from the same
> prefix as autoconfigured one).

Thank you Andrey, you made my day! I'm beginning to love IPv6 more and
more.

How would the prefer_source flag look like in rc.conf? Is the following approach correct:

ifconfig_fxp0_ipv6="inet6 accept_rtadv"
ifconfig_fxp0_alias0="inet6 2001:19f0:8001:1219::10 prefer_source"





-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49 at fidonet http://vas.tomsk.ru/


More information about the freebsd-net mailing list