<div dir="ltr"><div>I am running dnsmasq on a multiple port box. Following are dhcp config for the lan and dmz ports:</div><div><br></div><div>---</div><div><br></div><div>## LAN<br>dhcp-range=tag:lan,::1,constructor:lan,ra-names,72h       # IPv6<br>dhcp-range=tag:lan,172.16.168.130,172.16.168.250,72h    # IPv4<br>dhcp-option=tag:lan,option:router,172.16.168.1 # option 3 default gw<br>dhcp-option=tag:lan,option:dns-server,172.16.168.1</div><div><br></div><div>## DMZ<br>dhcp-range=tag:dmz,::1,constructor:dmz,ra-names,72h     # IPv6<br>dhcp-range=tag:dmz,10.10.10.100,10.10.10.120,72h        # IPv4<br>dhcp-option=tag:dmz,option:router,10.10.10.1 # option 3 default gw<br>dhcp-option=tag:dmz,option:dns-server,10.10.10.1</div><div><br></div><div>---</div><div><br></div><div style="background-color:transparent">They work correctly for network connected to those ports. However, I am having issue with the switch which connect to both dmz and lan ports with different VLANs. As those VLAN ports share the same mac address, sometimes the switch will pick up IP from the lan side, and sometimes from the dmz side.</div><div><br></div><div>How can I make dnsmasq only serve IP on the lan side for this specific mac address?</div><div><br></div><div>Thank you!</div></div>