There are couple of options to address this issue.
1. In router-interface-add with port, if port-ip does not match the subnet gateway_ip, update the subnet[gateway_ip] to the port-ip.
2. Disable the router-interface-add with port when port-ip does not match the subnet[gateway_ip].
3. Currently dnsmasq uses subnet[gateway_ip] in its offer messages. So, modify dnsmasq to advertise the port-ip as default_gw instead of the subnet[gateway_ip].
I would like to hear about the recommended option before proposing a patch.
Appreciate any comments on this, thanks.
There are couple of options to address this issue.
1. In router- interface- add with port, if port-ip does not match the subnet gateway_ip, update the subnet[gateway_ip] to the port-ip. interface- add with port when port-ip does not match the subnet[gateway_ip].
2. Disable the router-
3. Currently dnsmasq uses subnet[gateway_ip] in its offer messages. So, modify dnsmasq to advertise the port-ip as default_gw instead of the subnet[gateway_ip].
I would like to hear about the recommended option before proposing a patch.
Appreciate any comments on this, thanks.