OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: kpwn on May 19, 2021, 06:47:03 PM

Title: DHCPv6 Issues on LAN side
Post by: kpwn on May 19, 2021, 06:47:03 PM
Hi everyone,

i am having some trouble with my opnsense, more specific the integrated DHCPv6 Server.
My setup: WAN Interface of opnsense uses DHCPv4 and DHCPv6. Receives single dynamik IPv4 Adress and a dynamik IPv6/58 prefix
LAN v4 is static, LAN v6 tracks Wan interface.
The LAN has 2 VLANs, VLAN1 which is ipv4 only, uses DHCPv4 and works fine and VLAN2 which is IPv6 only and doesnt work with DHCP6. If i use SLAAC (RA=unmanaged or assisted) for VLAN2 it works fine, hosts get a global IPv6 adress and everything works. If i set RA to managed (use DHCPv6) the Host to not get an IPv6 Adress. the DHCPv6 service is activated for VLAN2, i can see the hosts sending request to it but no answers.
anyone has an idea?
Title: Re: DHCPv6 Issues on LAN side
Post by: kpwn on May 20, 2021, 06:03:38 PM
For some reason it works now ;D even tho no configuration change was made....
Title: Re: DHCPv6 Issues on LAN side
Post by: kpwn on May 23, 2021, 03:23:47 PM
found out what is was.....
DHCPv6 does not work if no range is given. If a range is given the range needs to be within the subnet