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

Allow forced DHCP thread restart #265

Open
enkidu opened this issue Jun 9, 2024 · 0 comments
Open

Allow forced DHCP thread restart #265

enkidu opened this issue Jun 9, 2024 · 0 comments
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@enkidu
Copy link

enkidu commented Jun 9, 2024

Hello. I haven't find a way to refresh DHCP lease after cable has been reconnected. In the ideal way DHCP should be restarted. As this is not the case for most users, there could be method to force restart of DHCP instance. Why is it important?

  1. If you replug device into another vlan and want to keep its uptime for any reason
  2. For deployments where mac-auth is present - device has to send packet to even authorize to the network. That may be problematic if you even restart the switch.
  3. To force IP refresh remotely after it has been changed in DHCP server binding lists - often you would take the interface down for a few seconds.

basic logic could be embedded into maintain() method or be kept separately.

@per1234 per1234 added topic: code Related to content of the project itself type: enhancement Proposed improvement labels Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

2 participants