Original default route in DVR SNAT namespace is not recovered after creating and deleting /0 extraroute
Bug #1901992 reported by
gao yu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Triaged
|
Medium
|
gao yu |
Bug Description
Pre-conditions: After add a static route with 0.0.0.0/0 destination and nexthop
is an internal network ip in case of DVR.
results:In the case of DVR the static routes for local internal router networks
will be added to the snat_namespace and router_
default route with nexthop is external gateway ip, supporting VMs which did not
binding a fip to go external.But after add a static route with 0.0.0.0/0 destination,
the new static route will replace the default route.
so I think neutron should not allow to create static routes with 0.0.0.0/0 destination.
Changed in neutron: | |
assignee: | nobody → gao yu (gaoyublack) |
To post a comment you must log in.
Hi,
Thx for reporting that bug. I think we had similar discussion regarding e.g allowed_ address_ pairs and security groups. Basically it's up to the user what routes he will configure in own router.
If we will forbid route to 0.0.0.0/0 but allow e.g. 1.0.0.0/8 we will basically still allow them to break connectivity to significant part of the Internet, right?
So IMHO this should be documented but not disallowed in the code.