[Dnsmasq-discuss] DHCP - One IP Range per interface

richardvoigt at gmail.com richardvoigt at gmail.com
Mon Jun 27 17:32:41 BST 2011


Part of the syntax for dhcp-range allows you to set a tag on clients
that get a request from that pool.

The tag can then be matched by many other dnsmasq options, including
dhcp-option.

Have you looked at the man page?  It's really quite good, Simon
updates documentation and code together.

On Mon, Jun 27, 2011 at 12:30 PM, Conrad Kostecki <ConiKost at gmx.de> wrote:
> Hi!
> Thanks for your fast answer.
> So, if I add 3 dhcp-range options, how do I set the dhcp-option? Are they
> working the same way as with dhcp-range?
>
> Thanks!
> Conrad
>
> Am 27.06.2011 18:23, schrieb richardvoigt at gmail.com:
>>
>> Yes.
>>
>> If you write multiple dhcp-range lines in your configuration, dnsmasq
>> will pair them with interfaces according to the local interface
>> address (i.e. if eth1 is 192.168.1.x then dnsmasq will serve addresses
>> from the 192.168.1.0/24 pool in response to requests received at
>> eth1).
>>
>> On Mon, Jun 27, 2011 at 12:11 PM, Conrad Kostecki<ConiKost at gmx.de>  wrote:
>>>
>>> Hi!
>>> I would like to know, if I can create multiple dhcp ranges spread over
>>> multiple interfaces?
>>>
>>> My plan would be:
>>> eth0: 192.168.0.0/24 dhcp range and additional static dhcp leases
>>> eth1: 192.168.1.0/24 dhcp range and additional static dhcp leases
>>> eth2: 192.168.2.0/24 dhcp range and additional static dhcp leases
>>>
>>> How can I setup this in my dnsmasq.conf?
>>>
>>> Thanks!
>>> Conrad
>>>
>>> _______________________________________________
>>> 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