[Dnsmasq-discuss] How do I tell dnsmasq not to use certain IPs?

Simon Kelley simon at thekelleys.org.uk
Sat Feb 16 17:16:22 GMT 2008


wdt wrote:
> Here is my current command-line configuration:
> 
> dnsmasq -k -K -F 192.168.1.200,192.168.1.249,255.255.255.0,12h
> 
> So I've given dnsmasq the IP range 192.168.1.200 to 192.168.1.249 to
> use for DHCP.
> 
> But I have two specific IP addresses within that range that are being
> used by clients with pre-set fixed IP addresses.  For example
> 192.168.1.203 and 192.168.1.234.
> 
> In my setup it is quite awkward to change the 2 clients' fixed IPs to
> be outside the DHCP range.  Is there a dnsmasq option that lets me
> exclude specific IPs from being used within a given DHCP range of
> addresses?

No need. dnsmasq already does what you want.

Cheers,

Simon.

> 
> My version of dnsmasq is:
> Dnsmasq version 2.35  Copyright (C) 2000-2006 Simon Kelley
> Compile time options IPv6 GNU-getopt ISC-leasefile no-DBus no-I18N
> 
> Thanks very much,
> Bill
> 
> _______________________________________________
> 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