I’m presently messing-around with some PXE software on my NAS, but found the QTS DHCP server is interfering with the port I need (67).
How can I disable the DHCP server? There doesn’t seem to be a way to do this via the QTS interface (Network & Virtual Switch → Network → DHCP Server). I can kill the processes of-course, but there should be a neater way to handle this. I don’t run any containers on this NAS.
Also, the DHCP service isn’t shown as a system service in the UI (Control Panel → System → System Status → System Service). Can this be added please?
Thank you very much for your detailed discussion and testing.
We truly appreciate the time and effort you’ve taken to share your findings.
Our internal team is currently reviewing and testing this behavior.
We will provide an update here once further information or improvements become available.
Hi @OneCD The DHCP server is a crucial service in our system. It’s used for things like distributing IPs to containers from the Container Station, the Network Virtual Switch service, and establishing vSwitch connections between different virtual machines.
While removing the Container Station, as you tested, frees up the port, but it might still affect the operation of PXE applications if they use it. For example, if DHCP is enabled on PXE, the Container Station may experience interference.
I would suggest trying to create a separate Virtual Machine with its own IP address, or even use a different VLAN, to prevent PXE DHCP from impacting system operation and even the DHCP function on your gateway/router.
I’ve also looked at the GitHub project you provided, and it seems pretty good.
I agree, and it should probably be listed in the system services status display. It uses a port, why not admit it in the display?
I understand, it could even be considered a part of the Network & Virtual Switch application.
Of course.
Maybe QNAP could ensure the dhcpd service can only be seen by localhost (i.e. the NAS)?
I’d like to make this application available to as-many QNAP users as-possible. Even those with NAS unable to run VMs or containers. On low-end NAS models, port 67 won’t be claimed by Network & Virtual Switch (so there’s no issue), but requiring a VM on high-end models is messy. If QNAP didn’t allow dhcpd to listen on 0.0.0.0 there wouldn’t be an issue at-all.