[Openstack-operators] Neutron Multiple gateways instances source routing

Pedro Sousa pgsousa at gmail.com
Mon Nov 30 15:39:51 UTC 2015

Hi Salvatore,

thank you for your reply. I'm aware that it works with static routes, I
would like to know if it does source routing

Anyway I solved it using a script inside the instance.

Pedro Sousa

On Sun, Nov 29, 2015 at 7:29 AM, Salvatore Orlando <salv.orlando at gmail.com>

> Hello Pedro,
> Neutron has some (limited) capabilities for injecting static routes into
> instances.
> You can try whether the subnet's host_routes attribute [1] can satisfy
> your requirement.
> Routes can however be specified only in the form destination CIDR/next hop.
> Note: the host_routes option leverages DHCP option 121 in the reference
> implementation and therefore requires DHCP on network interfaces.
> Salvatore
> [1]
> http://git.openstack.org/cgit/openstack/neutron/tree/neutron/api/v2/attributes.py#n808
> (sorry for the link to the code, the API spec does not render anymore
> correctly the subnet page)
> On 18 November 2015 at 12:23, Pedro Sousa <pgsousa at gmail.com> wrote:
>> Hi all,
>> I've a couple of linux instances with multiple interfaces (different
>> networks and gateways) and I would like to setup source routing, meaning
>> for example that packet that enters interface eth0 should be routed to it's
>> correspondent gateway interface and not default gateway.
>> My question is if this can be done with neutron or do I need to configure
>> it inside the instances?
>> Thanks,
>> Pedro Sousa
>> _______________________________________________
>> OpenStack-operators mailing list
>> OpenStack-operators at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20151130/064f3dcc/attachment.html>

More information about the OpenStack-operators mailing list