2005-04-16 22:20:36 +00:00
|
|
|
#
|
|
|
|
# IPv6 configuration
|
2005-07-12 04:13:56 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# IPv6 as module will cause a CRASH if you try to unload it
|
2008-04-14 06:30:47 +00:00
|
|
|
menuconfig IPV6
|
2005-07-12 04:13:56 +00:00
|
|
|
tristate "The IPv6 protocol"
|
|
|
|
default m
|
|
|
|
---help---
|
|
|
|
This is complemental support for the IP version 6.
|
|
|
|
You will still be able to do traditional IPv4 networking as well.
|
|
|
|
|
|
|
|
For general information about IPv6, see
|
|
|
|
<http://playground.sun.com/pub/ipng/html/ipng-main.html>.
|
|
|
|
For Linux IPv6 development information, see <http://www.linux-ipv6.org>.
|
|
|
|
For specific information about IPv6 under Linux, read the HOWTO at
|
|
|
|
<http://www.bieringer.de/linux/IPv6/>.
|
|
|
|
|
|
|
|
To compile this protocol support as a module, choose M here: the
|
|
|
|
module will be called ipv6.
|
|
|
|
|
2008-04-14 06:30:47 +00:00
|
|
|
if IPV6
|
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
config IPV6_PRIVACY
|
2009-01-26 10:12:25 +00:00
|
|
|
bool "IPv6: Privacy Extensions (RFC 3041) support"
|
2005-04-16 22:20:36 +00:00
|
|
|
---help---
|
|
|
|
Privacy Extensions for Stateless Address Autoconfiguration in IPv6
|
2009-01-26 10:12:25 +00:00
|
|
|
support. With this option, additional periodically-altered
|
|
|
|
pseudo-random global-scope unicast address(es) will be assigned to
|
2005-04-16 22:20:36 +00:00
|
|
|
your interface(s).
|
|
|
|
|
2009-01-26 10:12:25 +00:00
|
|
|
We use our standard pseudo-random algorithm to generate the
|
|
|
|
randomized interface identifier, instead of one described in RFC 3041.
|
2006-03-21 00:54:09 +00:00
|
|
|
|
2009-01-26 10:12:25 +00:00
|
|
|
By default the kernel does not generate temporary addresses.
|
2005-04-16 22:20:36 +00:00
|
|
|
To use temporary addresses, do
|
|
|
|
|
|
|
|
echo 2 >/proc/sys/net/ipv6/conf/all/use_tempaddr
|
|
|
|
|
|
|
|
See <file:Documentation/networking/ip-sysctl.txt> for details.
|
|
|
|
|
2006-03-21 01:04:53 +00:00
|
|
|
config IPV6_ROUTER_PREF
|
|
|
|
bool "IPv6: Router Preference (RFC 4191) support"
|
|
|
|
---help---
|
|
|
|
Router Preference is an optional extension to the Router
|
2009-01-26 10:12:25 +00:00
|
|
|
Advertisement message which improves the ability of hosts
|
|
|
|
to pick an appropriate router, especially when the hosts
|
|
|
|
are placed in a multi-homed network.
|
2006-03-21 01:04:53 +00:00
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
2006-03-21 01:06:24 +00:00
|
|
|
config IPV6_ROUTE_INFO
|
|
|
|
bool "IPv6: Route Information (RFC 4191) support (EXPERIMENTAL)"
|
|
|
|
depends on IPV6_ROUTER_PREF && EXPERIMENTAL
|
|
|
|
---help---
|
|
|
|
This is experimental support of Route Information.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
2007-04-26 00:08:10 +00:00
|
|
|
config IPV6_OPTIMISTIC_DAD
|
|
|
|
bool "IPv6: Enable RFC 4429 Optimistic DAD (EXPERIMENTAL)"
|
2008-04-14 06:30:47 +00:00
|
|
|
depends on EXPERIMENTAL
|
2007-04-26 00:08:10 +00:00
|
|
|
---help---
|
|
|
|
This is experimental support for optimistic Duplicate
|
|
|
|
Address Detection. It allows for autoconfigured addresses
|
|
|
|
to be used more quickly.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
config INET6_AH
|
|
|
|
tristate "IPv6: AH transformation"
|
|
|
|
select XFRM
|
|
|
|
select CRYPTO
|
|
|
|
select CRYPTO_HMAC
|
|
|
|
select CRYPTO_MD5
|
|
|
|
select CRYPTO_SHA1
|
|
|
|
---help---
|
|
|
|
Support for IPsec AH.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
|
|
|
|
|
|
|
config INET6_ESP
|
|
|
|
tristate "IPv6: ESP transformation"
|
|
|
|
select XFRM
|
|
|
|
select CRYPTO
|
2008-03-04 22:29:21 +00:00
|
|
|
select CRYPTO_AUTHENC
|
2005-04-16 22:20:36 +00:00
|
|
|
select CRYPTO_HMAC
|
|
|
|
select CRYPTO_MD5
|
2006-07-30 05:41:01 +00:00
|
|
|
select CRYPTO_CBC
|
2005-04-16 22:20:36 +00:00
|
|
|
select CRYPTO_SHA1
|
|
|
|
select CRYPTO_DES
|
|
|
|
---help---
|
|
|
|
Support for IPsec ESP.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
|
|
|
|
|
|
|
config INET6_IPCOMP
|
|
|
|
tristate "IPv6: IPComp transformation"
|
2006-03-28 09:12:13 +00:00
|
|
|
select INET6_XFRM_TUNNEL
|
2008-07-25 09:54:40 +00:00
|
|
|
select XFRM_IPCOMP
|
2005-04-16 22:20:36 +00:00
|
|
|
---help---
|
|
|
|
Support for IP Payload Compression Protocol (IPComp) (RFC3173),
|
|
|
|
typically needed for IPsec.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
|
|
|
|
2006-08-24 02:13:46 +00:00
|
|
|
config IPV6_MIP6
|
2007-06-27 06:56:32 +00:00
|
|
|
tristate "IPv6: Mobility (EXPERIMENTAL)"
|
2008-04-14 06:30:47 +00:00
|
|
|
depends on EXPERIMENTAL
|
2006-08-24 02:13:46 +00:00
|
|
|
select XFRM
|
|
|
|
---help---
|
|
|
|
Support for IPv6 Mobility described in RFC 3775.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
2006-03-28 09:12:13 +00:00
|
|
|
config INET6_XFRM_TUNNEL
|
|
|
|
tristate
|
|
|
|
select INET6_TUNNEL
|
|
|
|
default n
|
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
config INET6_TUNNEL
|
2006-03-28 09:12:13 +00:00
|
|
|
tristate
|
|
|
|
default n
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2006-05-28 06:05:54 +00:00
|
|
|
config INET6_XFRM_MODE_TRANSPORT
|
|
|
|
tristate "IPv6: IPsec transport mode"
|
|
|
|
default IPV6
|
|
|
|
select XFRM
|
|
|
|
---help---
|
|
|
|
Support for IPsec transport mode.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
|
|
|
|
|
|
|
config INET6_XFRM_MODE_TUNNEL
|
|
|
|
tristate "IPv6: IPsec tunnel mode"
|
|
|
|
default IPV6
|
|
|
|
select XFRM
|
|
|
|
---help---
|
|
|
|
Support for IPsec tunnel mode.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
|
|
|
|
2006-10-04 06:47:05 +00:00
|
|
|
config INET6_XFRM_MODE_BEET
|
|
|
|
tristate "IPv6: IPsec BEET mode"
|
|
|
|
default IPV6
|
|
|
|
select XFRM
|
|
|
|
---help---
|
|
|
|
Support for IPsec BEET mode.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
|
|
|
|
2006-08-24 00:59:44 +00:00
|
|
|
config INET6_XFRM_MODE_ROUTEOPTIMIZATION
|
|
|
|
tristate "IPv6: MIPv6 route optimization mode (EXPERIMENTAL)"
|
2008-04-14 06:30:47 +00:00
|
|
|
depends on EXPERIMENTAL
|
2006-08-24 00:59:44 +00:00
|
|
|
select XFRM
|
|
|
|
---help---
|
|
|
|
Support for MIPv6 route optimization mode.
|
|
|
|
|
2006-10-10 21:47:44 +00:00
|
|
|
config IPV6_SIT
|
|
|
|
tristate "IPv6: IPv6-in-IPv4 tunnel (SIT driver)"
|
2007-02-13 20:55:25 +00:00
|
|
|
select INET_TUNNEL
|
2008-03-16 03:59:18 +00:00
|
|
|
select IPV6_NDISC_NODETYPE
|
2006-10-10 21:47:44 +00:00
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Tunneling means encapsulating data of one protocol type within
|
|
|
|
another protocol and sending it over a channel that understands the
|
|
|
|
encapsulating protocol. This driver implements encapsulation of IPv6
|
2008-04-27 05:50:57 +00:00
|
|
|
into IPv4 packets. This is useful if you want to connect two IPv6
|
2006-10-10 21:47:44 +00:00
|
|
|
networks over an IPv4-only path.
|
|
|
|
|
2009-06-04 22:44:53 +00:00
|
|
|
Saying M here will produce a module called sit. If unsure, say Y.
|
2006-10-10 21:47:44 +00:00
|
|
|
|
2009-09-22 23:43:14 +00:00
|
|
|
config IPV6_SIT_6RD
|
2009-10-07 21:50:30 +00:00
|
|
|
bool "IPv6: IPv6 Rapid Deployment (6RD) (EXPERIMENTAL)"
|
2009-09-22 23:43:14 +00:00
|
|
|
depends on IPV6_SIT && EXPERIMENTAL
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
IPv6 Rapid Deployment (6rd; draft-ietf-softwire-ipv6-6rd) builds upon
|
|
|
|
mechanisms of 6to4 (RFC3056) to enable a service provider to rapidly
|
|
|
|
deploy IPv6 unicast service to IPv4 sites to which it provides
|
|
|
|
customer premise equipment. Like 6to4, it utilizes stateless IPv6 in
|
|
|
|
IPv4 encapsulation in order to transit IPv4-only network
|
|
|
|
infrastructure. Unlike 6to4, a 6rd service provider uses an IPv6
|
|
|
|
prefix of its own in place of the fixed 6to4 prefix.
|
|
|
|
|
|
|
|
With this option enabled, the SIT driver offers 6rd functionality by
|
|
|
|
providing additional ioctl API to configure the IPv6 Prefix for in
|
|
|
|
stead of static 2002::/16 for 6to4.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
2008-03-16 03:59:18 +00:00
|
|
|
config IPV6_NDISC_NODETYPE
|
|
|
|
bool
|
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
config IPV6_TUNNEL
|
2008-03-20 23:13:58 +00:00
|
|
|
tristate "IPv6: IP-in-IPv6 tunnel (RFC2473)"
|
2006-03-28 09:12:13 +00:00
|
|
|
select INET6_TUNNEL
|
2005-04-16 22:20:36 +00:00
|
|
|
---help---
|
2008-03-20 23:13:58 +00:00
|
|
|
Support for IPv6-in-IPv6 and IPv4-in-IPv6 tunnels described in
|
|
|
|
RFC 2473.
|
2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
2006-10-17 05:12:21 +00:00
|
|
|
config IPV6_MULTIPLE_TABLES
|
|
|
|
bool "IPv6: Multiple Routing Tables"
|
2008-04-14 06:30:47 +00:00
|
|
|
depends on EXPERIMENTAL
|
2006-10-17 05:12:21 +00:00
|
|
|
select FIB_RULES
|
|
|
|
---help---
|
|
|
|
Support multiple routing tables.
|
|
|
|
|
2006-08-24 00:23:39 +00:00
|
|
|
config IPV6_SUBTREES
|
|
|
|
bool "IPv6: source address based routing"
|
2006-10-17 05:12:21 +00:00
|
|
|
depends on IPV6_MULTIPLE_TABLES
|
2006-08-24 00:23:39 +00:00
|
|
|
---help---
|
|
|
|
Enable routing by source address or prefix.
|
|
|
|
|
|
|
|
The destination address is still the primary routing key, so mixing
|
|
|
|
normal and source prefix specific routes in the same routing table
|
|
|
|
may sometimes lead to unintended routing behavior. This can be
|
|
|
|
avoided by defining different routing tables for the normal and
|
|
|
|
source prefix specific routes.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
2008-04-03 00:22:53 +00:00
|
|
|
config IPV6_MROUTE
|
|
|
|
bool "IPv6: multicast routing (EXPERIMENTAL)"
|
|
|
|
depends on IPV6 && EXPERIMENTAL
|
|
|
|
---help---
|
|
|
|
Experimental support for IPv6 multicast forwarding.
|
|
|
|
If unsure, say N.
|
|
|
|
|
ipv6: ip6mr: support multiple tables
This patch adds support for multiple independant multicast routing instances,
named "tables".
Userspace multicast routing daemons can bind to a specific table instance by
issuing a setsockopt call using a new option MRT6_TABLE. The table number is
stored in the raw socket data and affects all following ip6mr setsockopt(),
getsockopt() and ioctl() calls. By default, a single table (RT6_TABLE_DFLT)
is created with a default routing rule pointing to it. Newly created pim6reg
devices have the table number appended ("pim6regX"), with the exception of
devices created in the default table, which are named just "pim6reg" for
compatibility reasons.
Packets are directed to a specific table instance using routing rules,
similar to how regular routing rules work. Currently iif, oif and mark
are supported as keys, source and destination addresses could be supported
additionally.
Example usage:
- bind pimd/xorp/... to a specific table:
uint32_t table = 123;
setsockopt(fd, SOL_IPV6, MRT6_TABLE, &table, sizeof(table));
- create routing rules directing packets to the new table:
# ip -6 mrule add iif eth0 lookup 123
# ip -6 mrule add oif eth0 lookup 123
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-05-11 12:40:55 +00:00
|
|
|
config IPV6_MROUTE_MULTIPLE_TABLES
|
|
|
|
bool "IPv6: multicast policy routing"
|
|
|
|
depends on IPV6_MROUTE
|
|
|
|
select FIB_RULES
|
|
|
|
help
|
|
|
|
Normally, a multicast router runs a userspace daemon and decides
|
|
|
|
what to do with a multicast packet based on the source and
|
|
|
|
destination addresses. If you say Y here, the multicast router
|
|
|
|
will also be able to take interfaces and packet marks into
|
|
|
|
account and run multiple instances of userspace daemons
|
|
|
|
simultaneously, each one handling a single table.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
2008-04-03 00:22:54 +00:00
|
|
|
config IPV6_PIMSM_V2
|
|
|
|
bool "IPv6: PIM-SM version 2 support (EXPERIMENTAL)"
|
|
|
|
depends on IPV6_MROUTE
|
|
|
|
---help---
|
|
|
|
Support for IPv6 PIM multicast routing protocol PIM-SMv2.
|
|
|
|
If unsure, say N.
|
|
|
|
|
2008-04-14 06:30:47 +00:00
|
|
|
endif # IPV6
|