[Dnsmasq-discuss] How to configure 2 different nets: 1 guestnet, 1 "known-host net"?

Simon Kelley simon at thekelleys.org.uk
Thu Feb 18 10:17:20 GMT 2010


richardvoigt at gmail.com wrote:
> On Tue, Feb 16, 2010 at 3:11 PM, Simon Kelley <simon at thekelleys.org.uk> wrote:
>> richardvoigt at gmail.com wrote:
>>
>>> I think it's this line, which appears in the dhcp-host description,
>>> that is somewhat confusing:
>>>
>>> "--dhcp-host=lap,192.168.0.199 tells dnsmasq to always allocate the
>>> machine lap the IP address 192.168.0.199. Addresses allocated like
>>> this are not constrained to be in the range given by the --dhcp-range
>>> option, but they must be on the network being served by the DHCP
>>> server."
>>>
>> How about this:
>>
>> Addresses allocated like this are not constrained to be in the range
>> given by the --dhcp-range option, but they must be
>> in  a  subnet  which  has a dhcp-range associated with it. For subnets
>> which don’t have a dynamically allocated address
>> range, this is achieved by using the "static" keyword in the dhcp-range
>> declaration.
> 
> I'd suggest replacing the last part with:
> 
> but they must be in the same subnet as some valid dhcp-range.  For
> subnets which don’t need a pool of dynamically allocated addresses,
> use the "static" keyword in the dhcp-range declaration.
> 
> Are tag (netname) conditions on the dhcp-range enforced on dhcp-hosts
> falling in the same subnet?
> 
>> Cheers,
>>
>> Simon.
>>
> 
Thats an improvement, thanks.


Simon.




More information about the Dnsmasq-discuss mailing list