<div dir="ltr">Hi Salvatore,<div><br></div><div>thank you for your reply. I'm aware that it works with static routes, I would like to know if it does source routing <a href="http://www.linuxhorizon.ro/iproute2.html" target="_blank">http://www.linuxhorizon.ro/iproute2.html</a> </div><div><br></div><div>Anyway I solved it using a script inside the instance.</div><div><br></div><div>Regards,</div><div>Pedro Sousa</div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 29, 2015 at 7:29 AM, Salvatore Orlando <span dir="ltr"><<a href="mailto:salv.orlando@gmail.com" target="_blank">salv.orlando@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Pedro,<div><br></div><div>Neutron has some (limited) capabilities for injecting static routes into instances.</div><div>You can try whether the subnet's host_routes attribute [1] can satisfy your requirement.</div><div>Routes can however be specified only in the form destination CIDR/next hop.</div><div>Note: the host_routes option leverages DHCP option 121 in the reference implementation and therefore requires DHCP on network interfaces.</div><div><br></div><div>Salvatore</div><div><br></div><div>[1] <a href="http://git.openstack.org/cgit/openstack/neutron/tree/neutron/api/v2/attributes.py#n808" target="_blank">http://git.openstack.org/cgit/openstack/neutron/tree/neutron/api/v2/attributes.py#n808</a></div><div>(sorry for the link to the code, the API spec does not render anymore correctly the subnet page)</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 18 November 2015 at 12:23, Pedro Sousa <span dir="ltr"><<a href="mailto:pgsousa@gmail.com" target="_blank">pgsousa@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi all,<div><br></div><div>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.</div><div><br></div><div>My question is if this can be done with neutron or do I need to configure it inside the instances? </div><div><br></div><div>Thanks,</div><div>Pedro Sousa</div></div>
<br></div></div>_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>