Dan Alderman wrote:
Hi,

Can anyone tell me if it's possible to tell the dhcp server in dnsmasq
not to serve addresses to MAC addresses not listed in the config file?

Thanks and regards,

Dan.

Replace the second IP address in the dhcp-range config with the keyword "static".


So

dhcp-range=192.168.1.10,192,168.1.20

means "give out DHCP leases on the 199.268.1.xxx subnet, anything not specifically listed gets an address from the range 192.168.1.10-192,168.1.20"

dhcp-range=192.168.1.10,static

means "give out DHCP leases on the 199.268.1.xxx subnet, anything not specifically listed doesn't get an address.

HTH

Simon.


Reply via email to