Is there a simple solution for assigning different static IP for the same MAC host basing on network it is connected to?
For example there is a wlan 192.168.1.0/24 and wlan2 192.168.2.0/24, I'd like the host to get static IP 192.168.1.10 when connected to lan and 192.168.2.10 when connected to lan2.
There probably could be two dhcp host entries, each using different 'instance' parameter to bound to specific dnsmasq. But this enforces 2nd dnsmasq instance which I don't need.
Is there any simpler way to classify which dhcp host entry to use?