dnsmasq, serve different ip addresses based on interface used
You can run two instances of dnsmasq, each with a different interface it listens on. You can use the –interface=X and –bind-interfaces options for that. By default, it also binds the loopback device lo and will fail if two processes try to bind it. Use –except-interface=lo to avoid that. dnsmasq –interface=eth0 –except-interface=lo –bind-interfaces –dhcp-range=192.168.0.2,192.168.0.10,12h dnsmasq … Read more