Bug #11930
closedDHCPV6 does not work with L3 Interfaces (tun_wg)
0%
Description
If i use the tun_wg interface with DHCPV6 to push prefixes to peers DHPCV6 stops:
/services_dhcpv6.php: The command '/usr/local/sbin/dhcpd -6 -user dhcpd -group _dhcp -chroot /var/dhcpd -cf /etc/dhcpdv6.conf -pf /var/run/dhcpdv6.pid em1.172 tun_wg0' returned exit code '1', the output was 'Internet Systems Consortium DHCP Server 4.4.2 Copyright 2004-2020 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Config file: /etc/dhcpdv6.conf Database file: /var/db/dhcpd6.leases PID file: /var/run/dhcpdv6.pid Wrote 5 NA, 0 TA, 5 PD leases to lease file. **Bound to *:547 Unsupported device type 23 for "tun_wg0"** If you think you have received this message due to a bug rather than a configuration issue please read the section on submitting bugs on either our web page at www.isc.org or in the README file before submitting a bug. These pages explain the proper process and the information we find helpful for debugging. exiting.'
Already asked for package support here: https://github.com/theonemcdonald/pfSense-pkg-WireGuard/issues/79
But this is a more general issue. It should be no problem to use DHCPV6 with L3 interfaces.
Updated by Jim Pingle over 3 years ago
- Project changed from pfSense to pfSense Packages
- Category changed from DHCP (IPv6) to WireGuard
- Status changed from New to Needs Patch
- Release Notes deleted (
Default)
Last I saw, WireGuard on FreeBSD did not support broadcast/multicast traffic yet. DHCPv6 may work on L3 interfaces but odds are it doesn't work on WireGuard specifically due to that behavior.
If it does work, then something may need changed upstream in ISC DHCPv6 to allow that type of interface, but either way, unlikely to be anything fixable here in pfSense.