]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/ipv6/route.c
ipv6: Implement Any-IP support for IPv6.
authorMaciej Żenczykowski <maze@google.com>
Mon, 27 Sep 2010 00:07:02 +0000 (00:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Sep 2010 06:38:15 +0000 (23:38 -0700)
commitab79ad14a2d51e95f0ac3cef7cd116a57089ba82
treebfe0887548935354c671103e9718965e208db652
parent4465b469008bc03b98a1b8df4e9ae501b6c69d4b
ipv6: Implement Any-IP support for IPv6.

AnyIP is the capability to receive packets and establish incoming
connections on IPs we have not explicitly configured on the machine.

An example use case is to configure a machine to accept all incoming
traffic on eth0, and leave the policy of whether traffic for a given IP
should be delivered to the machine up to the load balancer.

Can be setup as follows:
  ip -6 rule from all iif eth0 lookup 200
  ip -6 route add local default dev lo table 200
(in this case for all IPv6 addresses)

Signed-off-by: Maciej Żenczykowski <maze@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c