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 <[email protected]> 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 > [email protected] > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss >
