Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

code for local subnet definitions #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chuhn
Copy link

@chuhn chuhn commented Feb 3, 2016

This is required if the DHCP server is only queried by relays and does not serve its local subnet(s).
Without such a definition it refuses to start:

dhcpd: No subnet declaration for eth0 (…).
dhcpd: ** Ignoring requests on eth0. If this is not what
dhcpd: you want, please write a subnet declaration
dhcpd: in your dhcpd.conf file for the network segment
dhcpd: to which interface eth0 is attached. **
dhcpd:
dhcpd:
dhcpd: Not configured to listen on any interfaces!

The proposed canonical solution is to add an empty definition: subnet … netmask … {}.

But this patch calls subnet_conf which inserts the complete subnet definition with DHCP options etc. That works for me. Anyhow I can extend the patch to generate empty definitions if you prefer.

This is required if the DHCP server is only queried by relays and does not serve its local subnet(s)
@chuhn
Copy link
Author

chuhn commented Mar 5, 2024

Ping?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant