I have successfully configured DHCPv6-PD, but my LAN interface is getting the full /56 from the PD, instead of breaking it down into multiple /64 for multiple LAN interfaces.
In a different FreeBSD-based install, I have this dhcp6c.conf:
interface em1 {
send ia-na 1;
send ia-pd 1;
send rapid-commit;
script "/root/bin/dhcp6cupdate";
};
id-assoc pd 1 {
prefix ::/56 3600;
prefix-interface br100 {
sla-len 8; # break down /56 into /64
sla-id 0;
};
};
id-assoc na 1 {
};
The OpnSense generated dhcp6c.conf looks like this:
interface vlan02 {
send ia-na 5; # request stateful address
send ia-pd 5; # request prefix delegation
request domain-name-servers;
request domain-name;
script "/var/etc/dhcp6c_opt3_script.sh"; # we'd like some nameservers please
};
id-assoc na 5 { };
id-assoc pd 5 {
prefix ::/64 infinity;
prefix-interface vlan0.2774 {
sla-id 0;
sla-len 0;
};
};
I can't seem to find any info on how to adjust sla-len.
So went to look a bit more, and suddently sla-len is set to 8, and I'm getting the appriopriate /64 on the LAN interface. Very weird.
I think a bit more documentation on the settings would be really helpful...