<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:arial">On 26 June 2014 12:45, Albert ARIBAUD </span><span dir="ltr" style="font-family:arial"><<a href="mailto:albert.aribaud@free.fr" target="_blank">albert.aribaud@free.fr</a>></span><span style="font-family:arial"> wrote:</span><br>

</div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Bonjour David,<br>
<br><div><div class="h5">><br>
> ​Here's the configuration for the DHCP range used on one VLAN (on interface<br>
> br1).<br>
>   interface=br1<br>
>   dhcp-range=tag:br1,10.10.20.101,10.10.20.200,255.255.255.0,1440m<br>
>   dhcp-option=tag:br1,3,10.10.20.1​<br>
><br>
> ​Here's the configuration for a couple of hosts on that VLAN.<br>
>   dhcp-host=60:03:08:9D:3D:08,10.10.20.99<br>
>   dhcp-host=F0:CB:A1:86:D1:6E,10.10.20.100​<br>
<br>
</div></div>You're using 'tag:' in both dhcp-range and dhcp-host; I believe you<br>
should use 'set:' in dhcp-range with a different tag for each vlan, and<br>
'tag:' in dhcp-host.<br></blockquote><div><br></div><div><div class="gmail_default" style="font-family:tahoma,sans-serif">​Thanks Albert.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br>

</div><div class="gmail_default" style="font-family:tahoma,sans-serif">According to the man page, dnsmasq only allows you to ​'set' tags on dhcp-host lines. It doesn't allow you to match tags like you can on dhcp-range lines. This is what's confusing me. I know the tag matching option works when I use it with 'dhcp-range' but it doesn't appear it can be used with 'dhcp-host'. If it could I think my problem would be solved.</div>

<div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Maybe I'm still missing something!</div><div class="gmail_default" style="font-family:tahoma,sans-serif">

<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">David</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:arial"> </span></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<br>
> What I thought Simon was suggesting was to allocate specific static<br>
> addresses to the access points that are outside the ranges that are<br>
> allocated to other clients. This would avoid the problem of dnsmasq<br>
> allocating addresses to other clients that had already been allocated to<br>
> the access points. What I'm missing here is how to reserve several<br>
> addresses for a particular access point when all the requests use the same<br>
> mac address. The requests will arrive on different interfaces (br0, br1,<br>
> br2 etc) but I can't see how to use that in the dhcp-host configuration.<br>
> That's why I think I'm missing something!<br>
><br>
> Thanks for your help.<br>
><br>
> David<br>
<br>
Amicalement,<br>
<span class="HOEnZb"><font color="#888888">--<br>
Albert.<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>
</font></span></blockquote></div><br></div></div>