On 29/8/22 18:43, Hamish Moffatt wrote:
I've got dnsmasq listening on multiple interfaces (two VLANs), and at
least one client that is also on both VLANs at once. The client has
the same MAC address on both VLANs. I'd like to assign an IP address
on each VLAN via DHCP.
I have the following in my config:
dhcp-host=38:C9:86:40:86:37,192.168.42.18,[::0:18],potoroo
dhcp-host=38:C9:86:40:86:37,192.168.66.18,potoroo-iotlan
dnsmasq (v2.80, in OpenWRT 19.07) seems to allocate the IP addresses
ok, but only the most recently leased hostname requested works.
I've now got v2.85 (OpenWRT 21.02) and the behaviour has changed - I now
get IPv6 addresses from both subnets returned for the host name. Only
the latest IPv4 address leased is returned still though.
Hamish
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss