[Dnsmasq-discuss] How to configure 2 different nets: 1 guestnet, 1 "known-host net"?
Lars Rohwedder
L.Rohwedder at mocotec.de
Tue Feb 16 12:10:33 GMT 2010
Simon Kelley schrieb:
> Lars Rohwedder wrote:
>>> You need a dhcp-range for the the "known hosts" net too
>>>
>>> dhcp-range=192.168.8.0,static
>>>
>>> should do the trick.
>> Thanks, that works fine! :-)
>>
>> Perhaps the man-page or example-config should mention this use case
>> explicitly, because it is a quite common setup, I think.
>
> It's in the man page:
>
> "The end address may be replaced by the keyword static which tells
> dnsmasq to enable DHCP for the network specified, but not to
> dynamically allocate IP addresses: only hosts which have
> static addresses given via dhcp-host or from /etc/ethers will be
> served."
Yes, it is written there, but I didn't find it there because I didn't
know that such lines are _necessary_ and not optional.
So skipped this chapter because I thought the dynamic IP range and the
hard-coded addresses are enough. :-(
> I'll add an example too.
Good idea! Thank you, in the name of all the guys who are enlighted by
such a short example. :-)
Lars R.
More information about the Dnsmasq-discuss
mailing list