<br><br><div class="gmail_quote">On Wed, Apr 11, 2012 at 4:31 AM, Helmut Hullen <span dir="ltr"><<a href="mailto:Hullen@t-online.de">Hullen@t-online.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hallo,<br>
<br>
in a school I want to run all schoolish clients (about 150) over eth0,<br>
with quasi static IP addresses ("dhcp-host=...") and all private clients<br>
(private netbooks, smartphones etc.) over eth1 (completely DHCP, lease<br>
time 2 days).<br>
<br>
eth0: <a href="http://192.168.0.0/24" target="_blank">192.168.0.0/24</a><br>
eth1: <a href="http://192.168.16.0/20" target="_blank">192.168.16.0/20</a><br>
<br>
My dnsmasq configuration:<br>
<br>
dhcp-range=192.168.0.1,static,300d<br>
dhcp-range=192.168.18.10,192.168.31.250,2d<br>
<br>
--------------------------------<br>
<br>
It doesn't work as expected.<br>
<br>
Changing the "range" definitions to<br>
<br>
dhcp-range=eth0,192.168.0.1,static,300d<br>
dhcp-range=eth1,192.168.18.10,192.168.31.250,2d<br>
<br>
also doesn't work as expected.<br>
<br>
Users who use a schoolish client with (p.e.)<br>
<br>
dhcp-host=00:11:22:33:44:55:66,192.168.0.101,b100-pc1<br>
<br>
get a DHCP address from the eth1 range, p.e. 192.168.21.22<br>
<br>
What goes wrong?<br></blockquote><div><br></div><div>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.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Viele Gruesse!<br>
Helmut<br>
<br>
_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>
</blockquote></div><br>