DHCPv6c not assigning the delegated prefix
-
Hi all,
I am on PFSense Plus 22.01 with Swisscom as the ISP via fiber.
Swisscom started moving from 6rd to native IPv6 that is assigned via DHCPv6 on VLAN10 (same VLAN as IPv4, also assigned via DHCP).
With the following options, I am able to see dhcp6c get assigned a /56 prefix:Send Options:
- rapid-commit
- ia-pd 4262913557
Request Options:
-
domain-name-servers, refreshtime, domain-name, ntp-servers
-
id-assoc pd ID: 4262913557
-
IPv6 Prefix: ::/56
-
pltime: infinity
-
vltime: infinity
From the dhcp6c logs:
2022-04-28T17:01:28+02:00 172.22.28.254 dhcp6c[86008]: make an IA: PD-4262913557
2022-04-28T17:01:28+02:00 172.22.28.254 dhcp6c[86008]: make an IA: PD-4262913557
2022-04-28T17:01:28+02:00 172.22.28.254 dhcp6c[86008]: create a prefix 2a02:1210:4252:7500::/56 pltime=7200, vltime=21600
2022-04-28T17:01:28+02:00 172.22.28.254 dhcp6c[86008]: create a prefix 2a02:1210:4252:7500::/56 pltime=7200, vltime=21600
2022-04-28T17:01:28+02:00 172.22.28.254 dhcp6c[86008]: status code for PD-4262913557: success
2022-04-28T17:01:28+02:00 172.22.28.254 dhcp6c[86008]: status code for PD-4262913557: successFrom there, I cannot do much more. The WAN interface (igb0.10) is not assigned any addresses, so delegation to LAN does not work.
One interesting thing is that the script called from dhcp6c when received the IPv6 prefix is outdated; it does not expect the event that is passed, which is SOLICIT.
Any ideas welcome...
-
Do they use DHCPv6-PD? Or some other method to provide the prefix. Also, you don't need a WAN address as link local addresses are commonly used for routing IPv6.
-
@jknott They use DHCPv6-PD and not NA.
I see the link-local address set as the default gateway, so that is used for routing, but how do I delegate the prefixes to the local networks? -
You set a unique prefix ID for each interface. You do this in theIPv6 Prefix ID box. With a /56, your choices range 0 - ff.