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

Static binding not reserved ? #25

Open
fazega opened this issue Apr 27, 2018 · 0 comments
Open

Static binding not reserved ? #25

fazega opened this issue Apr 27, 2018 · 0 comments

Comments

@fazega
Copy link

fazega commented Apr 27, 2018

It seems that the static bindings are not "reserved".
In the _selectAdress function, if a static binding exists, then the IP is returned, but it's never checked if the IP is already in lease or not.

Two possibilities to solve :

  • Let the static return like that, but if the address is already in lease, force the client who owns this address to change (renew)

  • Get all the static addresses and add them in the "known addresses" so that it is reserved to the binded MAC, something like :

for(var bind in static) {
    ips.push(static[bind]);
}

This solution seems impossible if the static option in the config is a function ...

Let me know if I'm wrong on this issue.

@UrielCh UrielCh mentioned this issue Jul 24, 2019
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

No branches or pull requests

1 participant