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 http://www.linuxhorizon.ro/iproute2.html
Anyway I solved it using a script inside the instance. Regards, Pedro Sousa On Sun, Nov 29, 2015 at 7:29 AM, Salvatore Orlando <salv.orla...@gmail.com> wrote: > 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 <pgso...@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@lists.openstack.org >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators >> >> >
_______________________________________________ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators