Is it possible to disable SLAAC but install the default via RAs?

Hi,

I want to statically configure server IP6 addresses but continue to allow the installation of the default route as learnt from RAs. Is this possible?

ifconfig_vmx0_ipv6="inet6 2001:0DB8:10::10.10.10.10 prefer_source accept_rtadv -autoconf"

creates the correct IP6 address and installs the default router as learnt via RAs, but also configures a SLAAC address (which I'd prefer not to have).

Or must I also turn off accept_rtadv and hard code a default?

Also a side question - is there a way to dynamically learn the link's network but hard code the host part? ie:, learn 2001:0DB8:10::/64 from an RA but specify just ::10.10.10.10 in rc.conf? My servers all use their IPv4 address as their host part of the IP6 address.

Thanks.

ps. I couldn't add any tags when I created this post (field was not allowing text entry) and then I couldn't figure out how to add tags after.
 
Back
Top