[Openstack] [SOLVED]: Multiple private nets and routing

Dmitry Makovey dmitry at athabascau.ca
Fri Jun 26 15:19:34 UTC 2015


On 05/26/2015 02:52 AM, Cynthia Lopes wrote:
> Hi,
> 
> Just one thing that my be helpful... You don't have to add theses routes
> manually in each VM, you can have neutron do that for you.
> 
> It is possible to configure the subnet to inject static routes on the VMs...
> 
> When you create the subnet, you can pass the addres of the subnet you want
> to reach as "destination", and the IP of the router as "nexthop":
> 
> # neutron subnet-create  --host-route destination=CIDR,nexthop=IP_ADDR
> 
> Additional route (This option can be repeated if you need multiple routes)
> 
> Then, all the VMs created on the subnet will be injected with the route(s)
> you specified.

thank you so very much. I finally got back to this project and tried out
your suggestion - it works as expected.


-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245
---
Confidence is what you have before you understand the problem
    Woody Allen

When in trouble when in doubt run in circles scream and shout
     http://www.wordwizard.com/phpbb3/viewtopic.php?f=16&t=19330

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 173 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150626/3e0881c2/attachment.sig>


More information about the Openstack mailing list