[Dnsmasq-discuss] How to configure dnsmasq to answer only bootp requests?

Simon Kelley simon at thekelleys.org.uk
Mon Jan 8 19:51:39 GMT 2007


Gerald Dachs wrote:
> How can I configure dnsmasq to only answer bootp requests?
> I want that normal dhcp requests gets answered by my dsl router, because
> the machine with dnsmasq is not allways on.
> Is this possible?


If you are using static address allocations for BOOTP, you could tell 
dnsmasq not to do dynmic address allocation. Then only the machines 
whose MAC addresses are in the dnsmasq config will get replies from dnsmasq.

do something like,

dhcp-range=192.168.1.0,static

dhcp-host=<MAC 1>,<ip-1>
dhcp-host=<MAC 2>,<ip-2>


If you want to do dynamic address allocation for BOOTP, then it's not 
possible, there is no way to distinguish BOOTP from DHCP.

Cheers,

Simon.

> Gerald
> 
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 




More information about the Dnsmasq-discuss mailing list