[Dnsmasq-discuss] RE: two subnets on one interface

Simon Kelley simon@thekelleys.org.uk
Thu, 23 Dec 2004 20:58:37 +0000


Richard wrote:

> 
> A follow up question, on the 10.1.1/24 subnet, how do I only allow static
> mac to ip mapping. I add a bunch of dhcp-host and comment out dhcp-range.
> Then the server won't even hand out dhcp to any mac.
> 

You still need a dhcp-range option to enable DHCP on a subnet, to enable 
only hosts with a static address mapping, it looks like this

dhcp-range=192.168.0.0,static

HTH

Simon.