[Dnsmasq-discuss] load balancing with interfaces

richardvoigt at gmail.com richardvoigt at gmail.com
Wed Apr 11 14:37:44 BST 2012


On Wed, Apr 11, 2012 at 4:31 AM, Helmut Hullen <Hullen at t-online.de> wrote:

> 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?
>

If the client is physically connected to eth1, it will get an address which
is usable on that network.  Your static range will only be given out to
client physically connected to eth0, because you've configured it that way.


>
> Viele Gruesse!
> Helmut
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20120411/8c54b229/attachment.html>


More information about the Dnsmasq-discuss mailing list