Been running IPv4 only with reserved DHCP provided address.
Recently have enabled IPv6 on the WAN & LAN.
Noticed today that the HDHR4-2US has assigned itself an IPv6 address based on the LAN prefix (not link-local) and it's MAC address.
How can I make it obtain it's IPv6 address from the DHCPv6 server?
HDHomeRun CONNECT
Model: HDHR4-2US
Firmware: 20250506
Self-assigned IPv6 address vs DHCP
-
- Silicondust
- Posts: 64
- Joined: Thu Mar 02, 2023 10:48 am
- Device ID: 108042A1, 10814D8E
- Location: Portugal
- x 1
Re: Self-assigned IPv6 address vs DHCP
make sure you set up your router to advertise the DHCPv6 server and NOT prefix information within the Router Advertisement.
Re: Self-assigned IPv6 address vs DHCP
DHCPv6 server is configured to handout addresses for the LAN and works with other DHCPv6 clients for reserved and non-reserved addresses.
LAN Prefix: xxxx:xxxx:xxxx:xxx1
Reserved Host: HDHR4-2US ::200
HDHR4-2US should get xxxx:xxxx:xxxx:xxx1::200
Instead is has xxxx:xxxx:xxxx:xxx1: + IPv6 converted MAC address. Presumably via SSDP.
"...NOT prefix information within the Router Advertisement."
Not sure what is meant by that.
Router is OPNsense using ISC DHCPv6.
LAN Prefix: xxxx:xxxx:xxxx:xxx1
Reserved Host: HDHR4-2US ::200
HDHR4-2US should get xxxx:xxxx:xxxx:xxx1::200
Instead is has xxxx:xxxx:xxxx:xxx1: + IPv6 converted MAC address. Presumably via SSDP.
"...NOT prefix information within the Router Advertisement."
Not sure what is meant by that.
Router is OPNsense using ISC DHCPv6.
-
- Silicondust
- Posts: 64
- Joined: Thu Mar 02, 2023 10:48 am
- Device ID: 108042A1, 10814D8E
- Location: Portugal
- x 1
Re: Self-assigned IPv6 address vs DHCP
on OPNSense you need to modify the Router Advertisement mode to 'managed' if you want to use ONLY the DHCPv6 on the network, which is what you'll need for address reservation
All other modes (other than 'router only') will provide prefix info for SLAAC configuration which is how the HDHomeRun is creating its IPv6 address.
EDIT: checking if we actually support DHCPv6
All other modes (other than 'router only') will provide prefix info for SLAAC configuration which is how the HDHomeRun is creating its IPv6 address.
EDIT: checking if we actually support DHCPv6
-
- Silicondust
- Posts: 64
- Joined: Thu Mar 02, 2023 10:48 am
- Device ID: 108042A1, 10814D8E
- Location: Portugal
- x 1
Re: Self-assigned IPv6 address vs DHCP
confirmed 
we do not support DHCPv6 client at this time.
On our list of things to do.
So.. in this scenario the HDHomerun cannot support a reserved IPv6 address and will make use of the prefix information in the Router Advertisement to use SLAAC to generate a valid IPv6 address for the network. This means you will need to ensure the OPNSense has the Router Advertisement mode set to one of unmanaged, or stateless for the HDHomerun to generate an IPv6 using the address prefix (will always generate the link local).

we do not support DHCPv6 client at this time.
On our list of things to do.
So.. in this scenario the HDHomerun cannot support a reserved IPv6 address and will make use of the prefix information in the Router Advertisement to use SLAAC to generate a valid IPv6 address for the network. This means you will need to ensure the OPNSense has the Router Advertisement mode set to one of unmanaged, or stateless for the HDHomerun to generate an IPv6 using the address prefix (will always generate the link local).
Re: Self-assigned IPv6 address vs DHCP
Router Advertisement "Assisted" mode will also support autoconfiguration. Sort of a DHCPv6 and SLACC mix.
Did notice though that with autoconfiguration it didn't seem to get the local dns server. Maybe there is some additional config needed for that. I force all dns to use local resolver. All other dns is blocked.
Did notice though that with autoconfiguration it didn't seem to get the local dns server. Maybe there is some additional config needed for that. I force all dns to use local resolver. All other dns is blocked.
-
- Silicondust
- Posts: 64
- Joined: Thu Mar 02, 2023 10:48 am
- Device ID: 108042A1, 10814D8E
- Location: Portugal
- x 1
Re: Self-assigned IPv6 address vs DHCP
from opnsense docs, assisted is:
Stateful configuration, address configuration provided by DHCPv6, although advertised routes can also be used on Stateless Address Autoconfiguration setups (SLAAC).
pfsense is similar.
wasn't clear if the prefix info would still be in the RA, or just the routing info.
I'll investigate the DNS server info from the RA options issue. I suspect not supported at this time, just the IPv6 allocation from the prefix info. If so then will enable the DNS along with the DHCPv6 client enablement.
Stateful configuration, address configuration provided by DHCPv6, although advertised routes can also be used on Stateless Address Autoconfiguration setups (SLAAC).
pfsense is similar.
wasn't clear if the prefix info would still be in the RA, or just the routing info.
I'll investigate the DNS server info from the RA options issue. I suspect not supported at this time, just the IPv6 allocation from the prefix info. If so then will enable the DNS along with the DHCPv6 client enablement.
Re: Self-assigned IPv6 address vs DHCP
I was running assisted mode when it self-assigned the MAC based address with the LAN prefix. So the prefix info must have been available.