It was then suggested I really should use "Track interface", which I had originally tried when I first decided to play with IPv6, but that has never worked because nothing except the WAN gets an IPv6 address.
(...)Apr 27 12:17:45 bart dhcp6c[34719]: failed to open /usr/local/etc/dhcp6cctlkey: No such file or directoryApr 27 12:17:45 bart dhcp6c[34719]: failed initialize control message authenticationApr 27 12:17:45 bart dhcp6c[34719]: skip opening control port(...)
Were you by any chance using Advanced mode for the DHCPv6 client options? Because advanced mode will not work properly, because it doesn't actually write out the config sections for tracked interfaces, if you stick to basic mode, it should work properly while using track interface.
@Taomyn How do you get step 2 of your bullet list done if not via rtsold/radvd then? Indeed, the address is build from the prefix obtained on WAN and the derived address part which is usually defined related to the Mac address (SLACC). Or do you config that manually/set up radvd.conf manuallyBr br
Can you please check whether your rtsold and radvd agents are running?
And how do your /var/etc/dhcp6c_wan.conf and your /var/etc/radvd.conf look like?
interface pppoe0 { send ia-na 0; # request stateful address send ia-pd 0; # request prefix delegation request domain-name-servers; request domain-name; script "/var/etc/dhcp6c_wan_script.sh"; # we'd like some nameservers please};id-assoc na 0 { };id-assoc pd 0 { prefix ::/56 infinity; prefix-interface em3 { sla-id 1; sla-len 8; }; prefix-interface em0 { sla-id 0; sla-len 8; };};
# Automatically Generated, do not edit# Generated config for dhcp6 delegation from wan on opt1interface em3 { AdvSendAdvert on; MinRtrAdvInterval 3; MaxRtrAdvInterval 10; AdvLinkMTU 1500; AdvOtherConfigFlag on; prefix ::/64 { AdvOnLink on; AdvAutonomous on; AdvRouterAddr on; }; DNSSL star-one.co.uk { };};# Generated config for dhcp6 delegation from wan on laninterface em0 { AdvSendAdvert on; MinRtrAdvInterval 3; MaxRtrAdvInterval 10; AdvLinkMTU 1500; AdvOtherConfigFlag on; prefix ::/64 { AdvOnLink on; AdvAutonomous on; AdvRouterAddr on; }; DNSSL star-one.co.uk { };};
interface em0 { AdvSendAdvert on; MinRtrAdvInterval 3; MaxRtrAdvInterval 10; AdvLinkMTU 1500; AdvOtherConfigFlag on; prefix 200X:XXXX:XXXX:XXXX::/64 { AdvOnLink on; AdvAutonomous on; AdvRouterAddr on; }; DNSSL star-one.co.uk { };};
interface em0 { AdvSendAdvert on; MinRtrAdvInterval 3; MaxRtrAdvInterval 10; AdvLinkMTU 1500; AdvOtherConfigFlag on; prefix ::/64 { AdvOnLink on; AdvAutonomous on; AdvRouterAddr on; }; DNSSL star-one.co.uk { };};