Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
removing an interface does not remove the dhcp entry #3382
So the error is: "DHCP Server is currently enabled. Cannot enable the DHCP Relay service while the DHCP Server is enabled on any interface."
Well it's not enabled.
After googling that I found this: https://forum.netgate.com/topic/42997/can-t-enable-dhcp-relay
So I made a config backup and searched for dhcp and found:
That opt2 config with the enabled dhcp entry is from an old removed interface. So apparently removing an interface does not remove the dhcp entry and after that you can't remove the matching dhcp entry.
After downloading the config and editing it, as mentioned in the linked URL, the problem was gone.