yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #27838
[Bug 1188427] Re: specify IP address when running router-gateway-set
** Changed in: neutron
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1188427
Title:
specify IP address when running router-gateway-set
Status in OpenStack Neutron (virtual network service):
Fix Released
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:external=True
quantum subnet-create ExternalNet X.Y.Z.0/24 --enable_dhcp=False --gateway_ip=X.Y.Z.254
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1188427/+subscriptions