netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: tom@herbertland.com
Cc: netdev@vger.kernel.org, kernel-team@fb.com
Subject: Re: [PATCH net-next] ipv6: Nonlocal bind
Date: Thu, 09 Jul 2015 21:09:33 -0700 (PDT)	[thread overview]
Message-ID: <20150709.210933.1879950273189399588.davem@davemloft.net> (raw)
In-Reply-To: <1436399902-3049471-1-git-send-email-tom@herbertland.com>

From: Tom Herbert <tom@herbertland.com>
Date: Wed, 8 Jul 2015 16:58:22 -0700

> Add support to allow non-local binds similar to how this was done for IPv4.
> Non-local binds are very useful in emulating the Internet in a box, etc.
> 
> This add the ip_nonlocal_bind sysctl under ipv6.
> 
> Testing:
> 
> Set up nonlocal binding and receive routing on a host, e.g.:
> 
> ip -6 rule add from ::/0 iif eth0 lookup 200
> ip -6 route add local 2001:0:0:1::/64 dev lo proto kernel scope host table 200
> sysctl -w net.ipv6.ip_nonlocal_bind=1
> 
> Set up routing to 2001:0:0:1::/64 on peer to go to first host
> 
> ping6 -I 2001:0:0:1::1 peer-address -- to verify
> 
> Signed-off-by: Tom Herbert <tom@herbertland.com>

This seems reasonable, applied, thanks Tom.

      reply	other threads:[~2015-07-10  4:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-08 23:58 [PATCH net-next] ipv6: Nonlocal bind Tom Herbert
2015-07-10  4:09 ` David Miller [this message]

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=20150709.210933.1879950273189399588.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=kernel-team@fb.com \
    --cc=netdev@vger.kernel.org \
    --cc=tom@herbertland.com \
    /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).