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

DHCP pool bypass of reservations #10

Open
t3therdev opened this issue Jun 5, 2020 · 3 comments
Open

DHCP pool bypass of reservations #10

t3therdev opened this issue Jun 5, 2020 · 3 comments
Assignees

Comments

@t3therdev
Copy link

Hi, is there a way to prevent the dhcp server from issuing ip's referenced in the list of reservations? it seems that if the reservations are within the pool, there can still be a conflict as the server will issue an ip that can also be taken by a reservation.

@jpmikkers
Copy link
Owner

In the config file the normal pool start-end range should not overlap the reservation ranges, but it's true there's no validation or warning when they do. To fix this I could choose one of these:

  • validate and warn if there's an overlap
  • allow overlap but automatically exclude reservation ranges from the normal pool

I should have a look and see what's a common way of handling this in other dhcp servers.

@jpmikkers jpmikkers self-assigned this Jun 6, 2020
@t3therdev
Copy link
Author

@t3therdev
Copy link
Author

It seems that we should allow overlap of reservations and the pool. But we need to make sure that the dhcp server will NOT assign ip's that are reserved. This would allow both scenarios to be covered. Users that are keeping it outside the range could validate the reservations and not allow overlap. But to keep users from having to power cycle their devices, the server should never assign an IP that has a reservation. Can we do it that way?

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

No branches or pull requests

2 participants