..you will need to disable rp_filter on the inbound interface. rp_filter has been enabled by default since Ubuntu 12.04, so even if it worked in earlier versions, you’ll need this setting.

You can add an “ip_rp_filter 0” line to the relevant interface in /etc/network/interfaces, and you’re golden.

Tagged with:
 

3 Responses to If you’re trying to do asymmetric routing in Ubuntu 12.04..

  1. mathrock says:

    The default behavior in RHEL6+ also changed. https://www.redhat.com/archives/rhelv6-list/2011-January/msg00080.html

  2. Rik says:

    Hi,

    Would it not be better to set it to 2 instead of turning it off?

    Regards,

    Rik

  3. Soren says:

    Possibly. It’s not entirely clear to me in what situations setting it to 2 would suffice and when I need to disable it entirely.

    I should have pointed out that you should try with 2 first, and if that failed, go all the way to 0.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Looking for something?

Use the form below to search the site:


Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...

Linux2Go is Stephen Fry proof thanks to caching by WP Super Cache