[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150709.210933.1879950273189399588.davem@davemloft.net>
Date: Thu, 09 Jul 2015 21:09:33 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: tom@...bertland.com
Cc: netdev@...r.kernel.org, kernel-team@...com
Subject: Re: [PATCH net-next] ipv6: Nonlocal bind
From: Tom Herbert <tom@...bertland.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@...bertland.com>
This seems reasonable, applied, thanks Tom.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists