1
General Discussion / Re: Issue with internal IPv6 testing network
« on: August 12, 2024, 04:35:43 am »
OK. Think I figured it out. It will take some explaining.
So for the purposes of this exercise VM #1 should have a /64 address assigned to its LAN interface. Under Services->ISC DHCPv6->LAN a prefix delegation range can be configured and for routing a delegated prefix to VM #2 through the LAN link-local address of VM #1 as the default gateway a DHCPv6 static mapping should be defined on VM #1 with the DUID and link-local address of the WAN interface of VM #2. Having tested connectivity between servers accessible from the simulated WAN interface of the VM #1 and behind the LAN interface of VM #2, this configuration works.
Thank you
Quote from: OPNSense manual
Static mapping: If the DUID of an active prefix lease matches the DUID of a DHCPv6 static mapping, the delegated prefix will be unconditionally routed to the static mapping’s IPv6 address. The DHCPv6 service doesn’t have to be configured with an address range and the downstream router doesn’t have to request an address. The address in the static mapping may be a GUA, ULA or link-local address. This allows downstream prefix delegation to routers which only request a prefix, not an address.
So for the purposes of this exercise VM #1 should have a /64 address assigned to its LAN interface. Under Services->ISC DHCPv6->LAN a prefix delegation range can be configured and for routing a delegated prefix to VM #2 through the LAN link-local address of VM #1 as the default gateway a DHCPv6 static mapping should be defined on VM #1 with the DUID and link-local address of the WAN interface of VM #2. Having tested connectivity between servers accessible from the simulated WAN interface of the VM #1 and behind the LAN interface of VM #2, this configuration works.
Thank you