<div dir="ltr">Hello guys<div><br></div><div>I have the following network setup at home:</div><div><br></div><div>[openstack instances] -> [neutron router] -> [ [home router] [vpn gw] ]</div><div> TENANT NETWORK EXTERNAL NETWORK</div>
<div><br></div><div>I need my instances to connect to machines that are connected thru the vpn gw server.</div><div>By default, all traffic that comes from openstack instances go thru the neutron router, and then hop onto the home router.</div>
<div><br></div><div>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.</div>
<div>This can be seen from the neutron CLI command:</div><div><br></div><div><snip></div><div>neutron router-update <router name> --routes type=dict list=true destination=<network connected by VPN in CIDR>,nexthop=<vpn gw IP><br>
</div><div>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<br></div><div>
</snip></div><div><br></div><div>Is this use case not being possible to do at all?</div><div><br></div><div>P.S.</div><div>I found Heat BP <a href="https://blueprints.launchpad.net/heat/+spec/router-properties-object">https://blueprints.launchpad.net/heat/+spec/router-properties-object</a> that in the description reads this can be done on Neutron, but can't figure out how.</div>
<div><br></div><div>Regards </div></div>