I know i can add static lease in gui, by adding mac adress and ip adress
How do do it in cli, or which file to edit if i want to make reservation for new client without gui (examle massive reservations)?
How do do it in cli, or which file to edit if i want to make reservation for new client without gui (examle massive reservations)?
In DHCP Server
Share this post:
Responses (1)
-
Accepted Answer
/etc/ethers then reload dnsmasq. Not so easy to force the IP change if they already have a lease. You would also have to stop dnsmasq, remove the relevant line in /var/lib/dnsmasq/dnsmasq.leases then restart dnsmasq. Then release and renew on your workstation. You cannot edit /var/lib/dnsmasq/dnsmasq.lease while dnsmasq is running as it flushes the cache to the file when it stops which would overwrite any changes you'd made.
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »