Comment 2 for bug 1465513

Revision history for this message
Sridhar Gaddam (sridhargaddam) wrote :

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.