Closed aque closed 1 year ago
@aque thanks for the report. Does this help? 819689d
Cheers, Franco
Thanks @fichtner for looking into this and for that quick fix. I loaded it into my lab and it is working. Is this issue safe to close, or do you prefer to keep it open until released?
Safe to close. I’ll add this to 23.7.4 because 23.7.3 comes out today already.
Cheers, Franco
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug
I get a "You specified an IPv6 prefix ID that is out of range." error on interfaces with Prefix ID > 0x0, even though the WAN is delegated a /62 prefix. This is caused by
dhcp6-ia-pd-len == 0
. In Basic DHCPv6 configuration mode, changing "Prefix delegation size" affectsdhcp6-ia-pd-len
, but I could not find an equivalent under Advanced configuration.I checked 23.1.11 and 23.7.2, and both versions are affected.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Prefix ID 0x2 on LAN is acceptable with a /62 PD under Advanced configuration mode.
dhcp6-ia-pd-len
is set to 2.Describe alternatives you considered
Two workarounds:
<dhcp6-ia-pd-len>
to the correct value (2).Possible solution: If configuration mode is Advanced,
adv_dhcp6_prefix_interface_statement_sla_len
could setdhcp6-ia-pd-len
. It would have a value of 0 ifadv_dhcp6_prefix_interface_statement_sla_len
is blank.Additional context
Advanced Configuration Mode is required to request a specific IPv6 prefix.
Environment
Lab is VMware: OPNsense 23.1.11_1-amd64 FreeBSD 13.1-RELEASE-p8 OpenSSL 1.1.1u 30 May 2023 em interface driver
Production is bare metal: OPNsense 23.7.2-amd64 FreeBSD 13.2-RELEASE-p2 OpenSSL 1.1.1v 1 Aug 2023 igb interface driver