[Dnsmasq-discuss] Fwd: Replicate "deny unknown-clients" from dhcpd

Didster didster at gmail.com
Wed Feb 28 00:14:08 GMT 2007


Hi,

I have been using dnsmasq for a while and it's great.  I am trying to
install it now on a friends machine who wants to replicate the
behavior of dhcpd's "deny unknown-clients" for his server.

I know you can do something like:

dhcp-range=thelan,192.168.0.20,static,infinite

And then:

dhcp-host=01:30:46:51:ca:48,laptop,192.168.0.4

To allow IPs to be given out to machines that have dhcp-host entires
(this is what I do) and deny unknown clients.

But he is not happy having to provide the IP address of each machine.
Basically, he doesn't want each machines IP to be static, but only
wants dnsmasq to hand out IPs to machines that have known MAC
addresses.  You can do this in dhcpd by having "deny unknown-clients"
and then not having a fixed-address: for each host.

Is this possiable in dnsmasq?  I have tried removing the IP from the
dhcp-host lines - I just get "no address available" errors in syslog.

Is there a solution to this?

Thanks,
Simon



More information about the Dnsmasq-discuss mailing list