DHCPv6 Message type: Solicit (1) Transaction ID: 0x1566a5 Elapsed time Client Identifier Identity Association for Prefix Delegation Option: Identity Association for Prefix Delegation (25) Length: 41 IAID: 117794bc T1: 0 T2: 0 IA Prefix Option: IA Prefix (26) Length: 25 Preferred lifetime: 0 Valid lifetime: 0 Prefix length: 0 Prefix address: :: Reconfigure Accept Option: Reconfigure Accept (20) Length: 0 Option Request Option: Option Request (6) Length: 18 Requested Option code: DNS recursive name server (23) Requested Option code: NTP Server (56) Requested Option code: Simple Network Time Protocol Server (31) Requested Option code: Identity Association for Prefix Delegation (25) Requested Option code: Prefix Exclude (67) Requested Option code: Vendor-specific Information (17) Requested Option code: SOL_MAX_RT (82) Requested Option code: INF_MAX_RT (83) Requested Option code: PCP Server (86) Vendor Class
interface em4 { # Request a single IPv6 address for WAN interface (RG responds with 2600:1702:xxxx:yyy0::48) send ia-na 0; # Request 8x /64 prefix delegations: send ia-pd 0; send ia-pd 1; send ia-pd 2; send ia-pd 3; send ia-pd 4; send ia-pd 5; send ia-pd 6; send ia-pd 7; request domain-name-servers; request domain-name; script "/var/etc/dhcp6c_opt5_script.sh"; #script "/conf/set_wan_static_v6.sh";};# These blocks are required, and I should probably# assign the prefixes to the LAN interfaces here.# Since my /60 has not changed since I implemented# this, I treat them as static and assign them as such.id-assoc na 0 { };id-assoc pd 0 { prefix-interface em0 { sla-id 0; sla-len 0; }; };id-assoc pd 1 { prefix-interface em0_vlan8 { sla-id 0; sla-len 0;# prefix 2600:1700:210:b18e::/64 600 200; };};id-assoc pd 2 { prefix-interface em0_vlan2 { sla-id 0; sla-len 0;# prefix 2600:1700:210:b18d::/64 600 200; };};id-assoc pd 3 { prefix-interface em0_vlan10 { sla-id 0; sla-len 0; };};id-assoc pd 4 { };id-assoc pd 5 { };id-assoc pd 6 { };id-assoc pd 7 { };root@home-fw:~ #
man dhcp6c.conf