Actions
Todo #12175
closedError after enable DHCP on Wiregurd
Start date:
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Description
After enabling Wireguard DHCP server, I see error loading DHCP, red status and in the log php-fpm error:
Jul 29 10:35:22 php-fpm 55219 /services_dhcp.php: The command '/usr/local/sbin/dhcpd -user dhcpd -group _dhcp -chroot /var/dhcpd -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid igb1 igb2 tun_wg0' returned exit code '1', the output was 'Internet Systems Consortium DHCP Server 4.4.2-P1 Copyright 2004-2021 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Config file: /etc/dhcpd.conf Database file: /var/db/dhcpd.leases PID file: /var/run/dhcpd.pid Wrote 0 class decls to leases file. Wrote 0 deleted host decls to leases file. Wrote 0 new dynamic host decls to leases file. Wrote 126 leases to leases file. 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.'
Updated by Christian McDonald over 3 years ago
- Status changed from New to Rejected
This is not a bug. WireGuard is a layer3 tunnel. DHCP operates at layer2. Disable DHCP on your WireGuard interfaces.
Ideally the UI shouldn't allow you to enable DHCP on WireGuard interfaces, but that's not something a package can enforce without modifying code in base
Updated by Christian McDonald over 3 years ago
- Assignee set to Christian McDonald
Updated by Christian McDonald over 3 years ago
- Tracker changed from Bug to Todo
Todo: Consider this case when working on improvements to base for better handling pseudo-interface types.
Updated by Yuri Weinstein over 3 years ago
It’d be great to make this impossible to use then
Updated by Viktor Gurov over 3 years ago
Actions