<div dir="ltr"><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"><div><div class="h5"><span style="color:rgb(34,34,34)">Ok, pulling back a level or two in the discussion tree since I'd</span><br>

</div></div>
gonethe wrong path, I have now tried the following:<br>
<br>
dhcp-range=<start1>,<stop1>...<br>
dhcp-range=tag:<vlan-if>,<start2>,<stop2>...<br>
dhcp-host=<eth-addr>,<ethwlan-addr>,<name1>,<ip-in-range1><br>
dhcp-host=<eth-addr>,<ethwlan-addr>,<name2>,<ip-in-range2><br>
<br>
I deleted the dnsmasq lease file in /var, ran dnsmasq -d, and from the<br>
host with given eth (or wlan) addr, did a dhclient on the main interface<br>
and on the VLAN-ed one. Each interface got its own IP as specified in<br>
the dhcp-host for the IP range corresponding to the interface, and both<br>
names got registered in DNS with the right IP address.<br>
<br>
It appears no tag is needed, and the right dhcp-option is found based<br>
on the subnet where the static IP belongs.<br>
<br>
Does this fulfill your requirements?<br>
<br>
I did not try with IPv6 and especially with auto-addition of SLAAC<br>
IPv6 addresses to the DNS zone, though.<br></blockquote><div><br></div><div><div class="gmail_default" style="font-family:tahoma,sans-serif">​Bonjour Albert.</div><div class="gmail_default" style="font-family:tahoma,sans-serif">

<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Well what do you know! It works! I had assumed that some sort of tag matching was needed to get the right address for the right VLAN/interface. But I followed what you suggested and included multiple dhcp-host lines, all with the same mac address, but with different IPs from the different subnets and the right addresses got allocated. It must be a bit of dhcp magic in Simon's code!</div>

<div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Thanks for all your help.</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>
> Thanks for your help.<br>
><br>
> David<br>
<br>
Amicalement,<br>
<span class="HOEnZb"><font color="#888888">--<br>
Albert.<br>
</font></span></blockquote></div><br></div></div>