[openstack-dev] [neutron] Add static routes on neutron router to devices in the external network
Ricardo Carrillo Cruz
ricardo.carrillo.cruz at gmail.com
Tue Jul 22 13:55:05 UTC 2014
Hello guys
I have the following network setup at home:
[openstack instances] -> [neutron router] -> [ [home router] [vpn gw] ]
TENANT NETWORK EXTERNAL NETWORK
I need my instances to connect to machines that are connected thru the vpn
gw server.
By default, all traffic that comes from openstack instances go thru the
neutron router, and then hop onto the home router.
I've seen there's an extra routes extension for neutron routers that would
allow me to do that, but apparently I can't add extra routes to
destinations in the external network, only subnets known by neutron.
This can be seen from the neutron CLI command:
<snip>
neutron router-update <router name> --routes type=dict list=true
destination=<network connected by VPN in CIDR>,nexthop=<vpn gw IP>
Invalid format for routes: [{u'nexthop': u'<vpn gw IP>', u'destination':
u'<network connected by VPN in CIDR>'}], the nexthop is not connected with
router
</snip>
Is this use case not being possible to do at all?
P.S.
I found Heat BP
https://blueprints.launchpad.net/heat/+spec/router-properties-object that
in the description reads this can be done on Neutron, but can't figure out
how.
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140722/4759a72d/attachment.html>
More information about the OpenStack-dev
mailing list