Comment 5 for bug 1549860

Revision history for this message
Sreenivas (sreenivas-pothukanoori) wrote :

Alex, I am trying to reproduce the issue but I have the following queries. Could you please check answer to the below queries.

Created a router and attached a network port to it ( same network) .

Q: When same network with no gateway option is attached to router, What is the value given for the interface that is connected to the router. I am using horizon to attach same subnet to router, however add interface fails as the subnet configured did not have a gateway IP.

Q. Do I have to modify the subnet with gateway option before attaching it to the subnet? or I can assign any IP from subnet with no gateway option?

My observation is the subnet has a gateway in dhcp namespace. If a IP from subnet range is configured at router interface. DHCP would never come to know about this gateway and always the default route at VM would poing to gateway in dhcp name space.
Ex
The subnet I created is 172.17.17.0/24. DHCP interface has 172.17.17.1. This is the gateway at VM. However if I cannot give the same gateway for router interface.

With a different IP (same subnet)configured as router interface, even with dhcp agent restart static route still remains in opts.

Could you also please provide the exact steps to reproduce the issue with configuration changes.