11da177e4SLinus Torvalds# 21da177e4SLinus Torvalds# IPv6 configuration 31da177e4SLinus Torvalds# 46a2e9b73SSam Ravnborg 56a2e9b73SSam Ravnborg# IPv6 as module will cause a CRASH if you try to unload it 60b18542bSJan Engelhardtmenuconfig IPV6 76a2e9b73SSam Ravnborg tristate "The IPv6 protocol" 8de551f2eSTom Herbert default y 96a2e9b73SSam Ravnborg ---help--- 10de551f2eSTom Herbert Support for IP version 6 (IPv6). 116a2e9b73SSam Ravnborg 126a2e9b73SSam Ravnborg For general information about IPv6, see 13242260fbSChristian Kujau <https://en.wikipedia.org/wiki/IPv6>. 14de551f2eSTom Herbert For specific information about IPv6 under Linux, see 15de551f2eSTom Herbert Documentation/networking/ipv6.txt and read the HOWTO at 16de551f2eSTom Herbert <http://www.tldp.org/HOWTO/Linux+IPv6-HOWTO/> 176a2e9b73SSam Ravnborg 186a2e9b73SSam Ravnborg To compile this protocol support as a module, choose M here: the 196a2e9b73SSam Ravnborg module will be called ipv6. 206a2e9b73SSam Ravnborg 210b18542bSJan Engelhardtif IPV6 220b18542bSJan Engelhardt 23ebacaaa0SYOSHIFUJI Hideakiconfig IPV6_ROUTER_PREF 24ebacaaa0SYOSHIFUJI Hideaki bool "IPv6: Router Preference (RFC 4191) support" 25ebacaaa0SYOSHIFUJI Hideaki ---help--- 26ebacaaa0SYOSHIFUJI Hideaki Router Preference is an optional extension to the Router 27692105b8SMatt LaPlante Advertisement message which improves the ability of hosts 28692105b8SMatt LaPlante to pick an appropriate router, especially when the hosts 29692105b8SMatt LaPlante are placed in a multi-homed network. 30ebacaaa0SYOSHIFUJI Hideaki 31ebacaaa0SYOSHIFUJI Hideaki If unsure, say N. 32ebacaaa0SYOSHIFUJI Hideaki 3370ceb4f5SYOSHIFUJI Hideakiconfig IPV6_ROUTE_INFO 34f9ceb16eSKees Cook bool "IPv6: Route Information (RFC 4191) support" 35f9ceb16eSKees Cook depends on IPV6_ROUTER_PREF 3670ceb4f5SYOSHIFUJI Hideaki ---help--- 3770ceb4f5SYOSHIFUJI Hideaki This is experimental support of Route Information. 3870ceb4f5SYOSHIFUJI Hideaki 3970ceb4f5SYOSHIFUJI Hideaki If unsure, say N. 4070ceb4f5SYOSHIFUJI Hideaki 4195c385b4SNeil Hormanconfig IPV6_OPTIMISTIC_DAD 42f9ceb16eSKees Cook bool "IPv6: Enable RFC 4429 Optimistic DAD" 4395c385b4SNeil Horman ---help--- 4495c385b4SNeil Horman This is experimental support for optimistic Duplicate 4595c385b4SNeil Horman Address Detection. It allows for autoconfigured addresses 4695c385b4SNeil Horman to be used more quickly. 4795c385b4SNeil Horman 4895c385b4SNeil Horman If unsure, say N. 4995c385b4SNeil Horman 501da177e4SLinus Torvaldsconfig INET6_AH 511da177e4SLinus Torvalds tristate "IPv6: AH transformation" 527e152524SJan Beulich select XFRM_ALGO 531da177e4SLinus Torvalds select CRYPTO 541da177e4SLinus Torvalds select CRYPTO_HMAC 551da177e4SLinus Torvalds select CRYPTO_MD5 561da177e4SLinus Torvalds select CRYPTO_SHA1 571da177e4SLinus Torvalds ---help--- 581da177e4SLinus Torvalds Support for IPsec AH. 591da177e4SLinus Torvalds 601da177e4SLinus Torvalds If unsure, say Y. 611da177e4SLinus Torvalds 621da177e4SLinus Torvaldsconfig INET6_ESP 631da177e4SLinus Torvalds tristate "IPv6: ESP transformation" 647e152524SJan Beulich select XFRM_ALGO 651da177e4SLinus Torvalds select CRYPTO 66ed58dd41SHerbert Xu select CRYPTO_AUTHENC 671da177e4SLinus Torvalds select CRYPTO_HMAC 681da177e4SLinus Torvalds select CRYPTO_MD5 696b7326c8SHerbert Xu select CRYPTO_CBC 701da177e4SLinus Torvalds select CRYPTO_SHA1 711da177e4SLinus Torvalds select CRYPTO_DES 721da177e4SLinus Torvalds ---help--- 731da177e4SLinus Torvalds Support for IPsec ESP. 741da177e4SLinus Torvalds 751da177e4SLinus Torvalds If unsure, say Y. 761da177e4SLinus Torvalds 771da177e4SLinus Torvaldsconfig INET6_IPCOMP 781da177e4SLinus Torvalds tristate "IPv6: IPComp transformation" 79d2acc347SHerbert Xu select INET6_XFRM_TUNNEL 806fccab67SHerbert Xu select XFRM_IPCOMP 811da177e4SLinus Torvalds ---help--- 821da177e4SLinus Torvalds Support for IP Payload Compression Protocol (IPComp) (RFC3173), 831da177e4SLinus Torvalds typically needed for IPsec. 841da177e4SLinus Torvalds 851da177e4SLinus Torvalds If unsure, say Y. 861da177e4SLinus Torvalds 87ee538268SMasahide NAKAMURAconfig IPV6_MIP6 88f9ceb16eSKees Cook tristate "IPv6: Mobility" 89ee538268SMasahide NAKAMURA select XFRM 90ee538268SMasahide NAKAMURA ---help--- 91ee538268SMasahide NAKAMURA Support for IPv6 Mobility described in RFC 3775. 92ee538268SMasahide NAKAMURA 93ee538268SMasahide NAKAMURA If unsure, say N. 94ee538268SMasahide NAKAMURA 9565d7ab8dSTom Herbertconfig IPV6_ILA 9665d7ab8dSTom Herbert tristate "IPv6: Identifier Locator Addressing (ILA)" 97*8cb964daSArnd Bergmann depends on NETFILTER 9865d7ab8dSTom Herbert select LWTUNNEL 9965d7ab8dSTom Herbert ---help--- 10065d7ab8dSTom Herbert Support for IPv6 Identifier Locator Addressing (ILA). 10165d7ab8dSTom Herbert 10265d7ab8dSTom Herbert ILA is a mechanism to do network virtualization without 10365d7ab8dSTom Herbert encapsulation. The basic concept of ILA is that we split an 10465d7ab8dSTom Herbert IPv6 address into a 64 bit locator and 64 bit identifier. The 10565d7ab8dSTom Herbert identifier is the identity of an entity in communication 10665d7ab8dSTom Herbert ("who") and the locator expresses the location of the 10765d7ab8dSTom Herbert entity ("where"). 10865d7ab8dSTom Herbert 10965d7ab8dSTom Herbert ILA can be configured using the "encap ila" option with 11065d7ab8dSTom Herbert "ip -6 route" command. ILA is described in 11165d7ab8dSTom Herbert https://tools.ietf.org/html/draft-herbert-nvo3-ila-00. 11265d7ab8dSTom Herbert 11365d7ab8dSTom Herbert If unsure, say N. 11465d7ab8dSTom Herbert 115d2acc347SHerbert Xuconfig INET6_XFRM_TUNNEL 116d2acc347SHerbert Xu tristate 117d2acc347SHerbert Xu select INET6_TUNNEL 118d2acc347SHerbert Xu default n 1191da177e4SLinus Torvalds 120d2acc347SHerbert Xuconfig INET6_TUNNEL 121d2acc347SHerbert Xu tristate 122d2acc347SHerbert Xu default n 1231da177e4SLinus Torvalds 124b59f45d0SHerbert Xuconfig INET6_XFRM_MODE_TRANSPORT 125b59f45d0SHerbert Xu tristate "IPv6: IPsec transport mode" 126b59f45d0SHerbert Xu default IPV6 127b59f45d0SHerbert Xu select XFRM 128b59f45d0SHerbert Xu ---help--- 129b59f45d0SHerbert Xu Support for IPsec transport mode. 130b59f45d0SHerbert Xu 131b59f45d0SHerbert Xu If unsure, say Y. 132b59f45d0SHerbert Xu 133b59f45d0SHerbert Xuconfig INET6_XFRM_MODE_TUNNEL 134b59f45d0SHerbert Xu tristate "IPv6: IPsec tunnel mode" 135b59f45d0SHerbert Xu default IPV6 136b59f45d0SHerbert Xu select XFRM 137b59f45d0SHerbert Xu ---help--- 138b59f45d0SHerbert Xu Support for IPsec tunnel mode. 139b59f45d0SHerbert Xu 140b59f45d0SHerbert Xu If unsure, say Y. 141b59f45d0SHerbert Xu 1420a69452cSDiego Beltramiconfig INET6_XFRM_MODE_BEET 1430a69452cSDiego Beltrami tristate "IPv6: IPsec BEET mode" 1440a69452cSDiego Beltrami default IPV6 1450a69452cSDiego Beltrami select XFRM 1460a69452cSDiego Beltrami ---help--- 1470a69452cSDiego Beltrami Support for IPsec BEET mode. 1480a69452cSDiego Beltrami 1490a69452cSDiego Beltrami If unsure, say Y. 1500a69452cSDiego Beltrami 1511d71627dSMasahide NAKAMURAconfig INET6_XFRM_MODE_ROUTEOPTIMIZATION 152f9ceb16eSKees Cook tristate "IPv6: MIPv6 route optimization mode" 1531d71627dSMasahide NAKAMURA select XFRM 1541d71627dSMasahide NAKAMURA ---help--- 1551d71627dSMasahide NAKAMURA Support for MIPv6 route optimization mode. 1561d71627dSMasahide NAKAMURA 157ed1efb2aSSteffen Klassertconfig IPV6_VTI 158ed1efb2aSSteffen Klasserttristate "Virtual (secure) IPv6: tunneling" 159ed1efb2aSSteffen Klassert select IPV6_TUNNEL 160876fc03aSSteffen Klassert select NET_IP_TUNNEL 161ed1efb2aSSteffen Klassert depends on INET6_XFRM_MODE_TUNNEL 162ed1efb2aSSteffen Klassert ---help--- 163ed1efb2aSSteffen Klassert Tunneling means encapsulating data of one protocol type within 164ed1efb2aSSteffen Klassert another protocol and sending it over a channel that understands the 165ed1efb2aSSteffen Klassert encapsulating protocol. This can be used with xfrm mode tunnel to give 166ed1efb2aSSteffen Klassert the notion of a secure tunnel for IPSEC and then use routing protocol 167ed1efb2aSSteffen Klassert on top. 168ed1efb2aSSteffen Klassert 169989e5b96SJoerg Roedelconfig IPV6_SIT 170989e5b96SJoerg Roedel tristate "IPv6: IPv6-in-IPv4 tunnel (SIT driver)" 171c73cb5a2SKazunori MIYAZAWA select INET_TUNNEL 172f61dd388SPravin B Shelar select NET_IP_TUNNEL 173de357cc0SYOSHIFUJI Hideaki select IPV6_NDISC_NODETYPE 174989e5b96SJoerg Roedel default y 175989e5b96SJoerg Roedel ---help--- 176989e5b96SJoerg Roedel Tunneling means encapsulating data of one protocol type within 177989e5b96SJoerg Roedel another protocol and sending it over a channel that understands the 178989e5b96SJoerg Roedel encapsulating protocol. This driver implements encapsulation of IPv6 1795c5d6dabSDavid S. Miller into IPv4 packets. This is useful if you want to connect two IPv6 180989e5b96SJoerg Roedel networks over an IPv4-only path. 181989e5b96SJoerg Roedel 1824737f097SPavel Machek Saying M here will produce a module called sit. If unsure, say Y. 183989e5b96SJoerg Roedel 184fa857afcSYOSHIFUJI Hideaki / 吉藤英明config IPV6_SIT_6RD 185f9ceb16eSKees Cook bool "IPv6: IPv6 Rapid Deployment (6RD)" 186f9ceb16eSKees Cook depends on IPV6_SIT 187fa857afcSYOSHIFUJI Hideaki / 吉藤英明 default n 188fa857afcSYOSHIFUJI Hideaki / 吉藤英明 ---help--- 189fa857afcSYOSHIFUJI Hideaki / 吉藤英明 IPv6 Rapid Deployment (6rd; draft-ietf-softwire-ipv6-6rd) builds upon 190fa857afcSYOSHIFUJI Hideaki / 吉藤英明 mechanisms of 6to4 (RFC3056) to enable a service provider to rapidly 191fa857afcSYOSHIFUJI Hideaki / 吉藤英明 deploy IPv6 unicast service to IPv4 sites to which it provides 192fa857afcSYOSHIFUJI Hideaki / 吉藤英明 customer premise equipment. Like 6to4, it utilizes stateless IPv6 in 193fa857afcSYOSHIFUJI Hideaki / 吉藤英明 IPv4 encapsulation in order to transit IPv4-only network 194fa857afcSYOSHIFUJI Hideaki / 吉藤英明 infrastructure. Unlike 6to4, a 6rd service provider uses an IPv6 195fa857afcSYOSHIFUJI Hideaki / 吉藤英明 prefix of its own in place of the fixed 6to4 prefix. 196fa857afcSYOSHIFUJI Hideaki / 吉藤英明 197fa857afcSYOSHIFUJI Hideaki / 吉藤英明 With this option enabled, the SIT driver offers 6rd functionality by 198fa857afcSYOSHIFUJI Hideaki / 吉藤英明 providing additional ioctl API to configure the IPv6 Prefix for in 199fa857afcSYOSHIFUJI Hideaki / 吉藤英明 stead of static 2002::/16 for 6to4. 200fa857afcSYOSHIFUJI Hideaki / 吉藤英明 201fa857afcSYOSHIFUJI Hideaki / 吉藤英明 If unsure, say N. 202fa857afcSYOSHIFUJI Hideaki / 吉藤英明 203de357cc0SYOSHIFUJI Hideakiconfig IPV6_NDISC_NODETYPE 204de357cc0SYOSHIFUJI Hideaki bool 205de357cc0SYOSHIFUJI Hideaki 2061da177e4SLinus Torvaldsconfig IPV6_TUNNEL 20738fe999eSYOSHIFUJI Hideaki tristate "IPv6: IP-in-IPv6 tunnel (RFC2473)" 208d2acc347SHerbert Xu select INET6_TUNNEL 2091da177e4SLinus Torvalds ---help--- 21038fe999eSYOSHIFUJI Hideaki Support for IPv6-in-IPv6 and IPv4-in-IPv6 tunnels described in 21138fe999eSYOSHIFUJI Hideaki RFC 2473. 2121da177e4SLinus Torvalds 2131da177e4SLinus Torvalds If unsure, say N. 2141da177e4SLinus Torvalds 215c12b395aSxeb@mail.ruconfig IPV6_GRE 216c12b395aSxeb@mail.ru tristate "IPv6: GRE tunnel" 217c12b395aSxeb@mail.ru select IPV6_TUNNEL 218f61dd388SPravin B Shelar select NET_IP_TUNNEL 219c12b395aSxeb@mail.ru ---help--- 220c12b395aSxeb@mail.ru Tunneling means encapsulating data of one protocol type within 221c12b395aSxeb@mail.ru another protocol and sending it over a channel that understands the 222c12b395aSxeb@mail.ru encapsulating protocol. This particular tunneling driver implements 223c12b395aSxeb@mail.ru GRE (Generic Routing Encapsulation) and at this time allows 224c12b395aSxeb@mail.ru encapsulating of IPv4 or IPv6 over existing IPv6 infrastructure. 225c12b395aSxeb@mail.ru This driver is useful if the other endpoint is a Cisco router: Cisco 226c12b395aSxeb@mail.ru likes GRE much better than the other Linux tunneling driver ("IP 227c12b395aSxeb@mail.ru tunneling" above). In addition, GRE allows multicast redistribution 228c12b395aSxeb@mail.ru through the tunnel. 229c12b395aSxeb@mail.ru 230c12b395aSxeb@mail.ru Saying M here will produce a module called ip6_gre. If unsure, say N. 231c12b395aSxeb@mail.ru 232264e91b6SVille Nuorvalaconfig IPV6_MULTIPLE_TABLES 233264e91b6SVille Nuorvala bool "IPv6: Multiple Routing Tables" 234264e91b6SVille Nuorvala select FIB_RULES 235264e91b6SVille Nuorvala ---help--- 236264e91b6SVille Nuorvala Support multiple routing tables. 237264e91b6SVille Nuorvala 2384e96c2b4SYOSHIFUJI Hideakiconfig IPV6_SUBTREES 2394e96c2b4SYOSHIFUJI Hideaki bool "IPv6: source address based routing" 240264e91b6SVille Nuorvala depends on IPV6_MULTIPLE_TABLES 2414e96c2b4SYOSHIFUJI Hideaki ---help--- 2424e96c2b4SYOSHIFUJI Hideaki Enable routing by source address or prefix. 2434e96c2b4SYOSHIFUJI Hideaki 2444e96c2b4SYOSHIFUJI Hideaki The destination address is still the primary routing key, so mixing 2454e96c2b4SYOSHIFUJI Hideaki normal and source prefix specific routes in the same routing table 2464e96c2b4SYOSHIFUJI Hideaki may sometimes lead to unintended routing behavior. This can be 2474e96c2b4SYOSHIFUJI Hideaki avoided by defining different routing tables for the normal and 2484e96c2b4SYOSHIFUJI Hideaki source prefix specific routes. 2494e96c2b4SYOSHIFUJI Hideaki 2504e96c2b4SYOSHIFUJI Hideaki If unsure, say N. 2514e96c2b4SYOSHIFUJI Hideaki 2527bc570c8SYOSHIFUJI Hideakiconfig IPV6_MROUTE 253f9ceb16eSKees Cook bool "IPv6: multicast routing" 254f9ceb16eSKees Cook depends on IPV6 2557bc570c8SYOSHIFUJI Hideaki ---help--- 2567bc570c8SYOSHIFUJI Hideaki Experimental support for IPv6 multicast forwarding. 2577bc570c8SYOSHIFUJI Hideaki If unsure, say N. 2587bc570c8SYOSHIFUJI Hideaki 259d1db275dSPatrick McHardyconfig IPV6_MROUTE_MULTIPLE_TABLES 260d1db275dSPatrick McHardy bool "IPv6: multicast policy routing" 261d1db275dSPatrick McHardy depends on IPV6_MROUTE 262d1db275dSPatrick McHardy select FIB_RULES 263d1db275dSPatrick McHardy help 264d1db275dSPatrick McHardy Normally, a multicast router runs a userspace daemon and decides 265d1db275dSPatrick McHardy what to do with a multicast packet based on the source and 266d1db275dSPatrick McHardy destination addresses. If you say Y here, the multicast router 267d1db275dSPatrick McHardy will also be able to take interfaces and packet marks into 268d1db275dSPatrick McHardy account and run multiple instances of userspace daemons 269d1db275dSPatrick McHardy simultaneously, each one handling a single table. 270d1db275dSPatrick McHardy 271d1db275dSPatrick McHardy If unsure, say N. 272d1db275dSPatrick McHardy 27314fb64e1SYOSHIFUJI Hideakiconfig IPV6_PIMSM_V2 274f9ceb16eSKees Cook bool "IPv6: PIM-SM version 2 support" 27514fb64e1SYOSHIFUJI Hideaki depends on IPV6_MROUTE 27614fb64e1SYOSHIFUJI Hideaki ---help--- 27714fb64e1SYOSHIFUJI Hideaki Support for IPv6 PIM multicast routing protocol PIM-SMv2. 27814fb64e1SYOSHIFUJI Hideaki If unsure, say N. 27914fb64e1SYOSHIFUJI Hideaki 2800b18542bSJan Engelhardtendif # IPV6 281