[Dnsmasq-discuss] load balancing with interfaces

Helmut Hullen Hullen at t-online.de
Wed Apr 11 10:31:00 BST 2012


Hallo,

in a school I want to run all schoolish clients (about 150) over eth0,  
with quasi static IP addresses ("dhcp-host=...") and all private clients  
(private netbooks, smartphones etc.) over eth1 (completely DHCP, lease  
time 2 days).

eth0: 192.168.0.0/24
eth1: 192.168.16.0/20

My dnsmasq configuration:

dhcp-range=192.168.0.1,static,300d
dhcp-range=192.168.18.10,192.168.31.250,2d

--------------------------------

It doesn't work as expected.

Changing the "range" definitions to

dhcp-range=eth0,192.168.0.1,static,300d
dhcp-range=eth1,192.168.18.10,192.168.31.250,2d

also doesn't work as expected.

Users who use a schoolish client with (p.e.)

  dhcp-host=00:11:22:33:44:55:66,192.168.0.101,b100-pc1

get a DHCP address from the eth1 range, p.e. 192.168.21.22

What goes wrong?

Viele Gruesse!
Helmut



More information about the Dnsmasq-discuss mailing list