netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Ahern <dsahern@gmail.com>
To: Toerless Eckert <tte@cs.fau.de>, Sowmini Varadhan <sowmini05@gmail.com>
Cc: Bill Fink <billfink@mindspring.com>,
	Cong Wang <cwang@twopensource.com>,
	netdev <netdev@vger.kernel.org>
Subject: Re: vnet problem (bug? feature?)
Date: Mon, 16 Feb 2015 08:30:12 -0700	[thread overview]
Message-ID: <54E20D04.8050409@gmail.com> (raw)
In-Reply-To: <20150216101309.GB25792@faui40p.informatik.uni-erlangen.de>

On 2/16/15 3:13 AM, Toerless Eckert wrote:
> I fail to find a good reference explaining why linux would default to
> rp_filtering = 1 (more appropriate for routers) even if forwarding defaults to 0
> (more appropriate for multi-homed hosts).

It's a userspace default. For Fedora/Red Hat based systems see 
/etc/sysctl.conf (older releases) and /usr/lib/sysctl.d/50-default.conf 
(newer ones).

I recall it defaulting to 1 in the early 2000's so it has been that way 
for a long time.

 From Documentation/networking/ip-sysctl.txt:

rp_filter - INTEGER
...
         Default value is 0. Note that some distributions enable it
         in startup scripts.

David

  reply	other threads:[~2015-02-16 15:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-13 11:41 vnet problem (bug? feature?) Toerless Eckert
2015-02-13 23:48 ` Cong Wang
2015-02-14 10:15   ` Toerless Eckert
2015-02-14 18:17     ` Bill Fink
2015-02-15 10:12       ` Toerless Eckert
2015-02-15 19:00       ` Toerless Eckert
2015-02-15 21:16         ` Sowmini Varadhan
2015-02-16 10:13           ` Toerless Eckert
2015-02-16 15:30             ` David Ahern [this message]
2015-02-16 19:54             ` David Miller
2015-02-16 21:51         ` Bill Fink

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54E20D04.8050409@gmail.com \
    --to=dsahern@gmail.com \
    --cc=billfink@mindspring.com \
    --cc=cwang@twopensource.com \
    --cc=netdev@vger.kernel.org \
    --cc=sowmini05@gmail.com \
    --cc=tte@cs.fau.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).