specify IP address when running router-gateway-set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Wishlist
|
Kevin Benton |
Bug Description
Short question:
is it possible to control the IP address that is given to a router
by the quantum router-gateway-set command ?
In my setup, I have a physical Provider Network associated to a public (routable) IP address range used at my site (X.Y.Z.0/24).
I have created an ExternalNet network by the CLI commands:
quantum net-create ExternalNet --router:
quantum subnet-create ExternalNet X.Y.Z.0/24 --enable_dhcp=False --gateway_
When I issue the quantum router-gateway-set command, the public interface
of the router gets the first address of the X.Y.Z.0/24 range, i.e. X.Y.Z.1,
which, by pure chance, is not used in my physical network.
My setup seems to work OK, VMs are able to ping any other host
in the external network X.Y.Z.0/24, as well as any other Internet host,
through the physical router X.Y.Z.254.
I wonder if is possible to assign to the "virtual" router implemented in Quantum a given address in the range of addresses associated to the external subnet, e.g. X.Y.Z.33.
This might also be useful in the "Per-tenant Routers with Private Networks" use case.
Many thanks in advance for your replies.
Roberto
Changed in quantum: | |
status: | New → Confirmed |
Changed in neutron: | |
assignee: | nobody → Lawrance (jing) |
Changed in neutron: | |
milestone: | none → kilo-2 |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | kilo-2 → 2015.1.0 |
https:/ /answers. launchpad. net/quantum/ +question/ 230193