Comment 0 for bug 1520775

Revision history for this message
Hong Hui Xiao (xiaohhui) wrote : Update the gateway of external net won't affect router

I found this one when build up a test env.

Steps to reproduce:
1) I create a set of external network, internal network and router. The external network has gateway ip in its subnet.
2) connect the external, internal network and router, by using router-gateway-set, router-interface-add.
3) Then I realize my physical network doesn't have a gateway. So I update the subnet of external network with --no-gateway.
4) I can't see the default route be deleted in router namespace, even if I restart l3-agent.

Then I try another way:
a) The same as 1), except that the subnet of external network don't have gateway ip when creation.
b) The same as 2)
c) I update the subnet of external network with --gateway-ip AA:BB:CC:DD .
d) I can't see the default route be added to router namespace, until I restart l3-agent.

I try it in legacy router and DVR, they both have this problem, and I believe HA router will have this problem.