How do you terminate a DHCP lease in OpenWrt?
1 answer
+0
−0
There is not a way to do this from the Web UI (LuCI). Instead:
- SSH into the router
- Delete the corresponding line from
/tmp/dhcp.leases
However, note that this is not enough to get a new IP. Clients tend to request a renewal of the IP they had before, and the router will grant it if it does not conflict with settings (eg. outside IP range). To get a new IP you need to do steps on the client: https://linux.codidact.com/posts/289619
0 comment threads