[Quantum] Control the public IP address assigned to a router by quantum router-gateway-set
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
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- neutron Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- yong sheng gong
- Solved:
- Last query:
- Last reply: