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

richardvoigt at gmail.com richardvoigt at gmail.com
Mon Jun 27 17:23:52 BST 2011


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