linux-stable/Documentation
Tom Herbert 35a256fee5 ipv6: Nonlocal bind
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-07-09 21:09:10 -07:00
..
2015-07-01 18:55:34 -07:00
2015-06-26 11:54:29 -07:00
2015-06-24 20:01:36 -07:00
2015-07-01 19:40:18 -07:00
2015-06-30 20:16:08 -07:00
2015-06-24 20:01:36 -07:00
2015-06-08 16:43:09 -06:00
2014-12-10 17:41:10 -08:00
2015-02-11 13:03:11 -08:00
2015-06-26 14:51:15 -07:00
2015-06-25 17:00:38 -07:00
2014-06-11 08:35:34 -07:00
2015-07-09 21:09:10 -07:00
2015-06-08 23:15:45 +02:00
2015-06-26 11:23:38 -04:00
2015-06-22 09:59:28 -06:00
2015-06-24 20:01:36 -07:00
2015-06-23 15:55:44 -07:00
2015-05-13 15:39:04 -04:00
2015-06-26 15:59:26 -07:00
2015-06-25 17:00:37 -07:00
2015-06-24 20:01:36 -07:00
2015-02-27 11:44:24 -08:00
2015-05-29 17:21:45 -05:00
2015-06-24 18:17:40 +02:00
2014-12-08 09:07:11 -05:00
2015-06-23 06:49:44 -06:00
2014-09-23 23:44:16 -07:00