4.1. IPv6-ready kernelModern Linux distributions already contain IPv6-ready kernels, the IPv6 capability is generally compiled as a module, but it's possible that this module is not loaded automatically on startup. See IPv6+Linux-Status-Distribution page for most up-to-date information. Note: you shouldn't anymore use kernel series 2.2.x, because it's not IPv6-up-to-date anymore. 4.1.1. Check for IPv6 support in the current running kernelTo check, whether your current running kernel supports IPv6, take a look into your /proc-file-system. Following entry must exists:
A short automatical test looks like:
If this fails, it is quite likely, that the IPv6 module is not loaded. 4.1.2. Try to load IPv6 moduleYou can try to load the IPv6 module executing
If this is successful, this module should be listed, testable with following auto-magically line:
And the check shown above should now run successfully. Note: unloading the module is currently not supported and can result, under some circumstances, in a kernel crash. 4.1.2.1. Automatically loading of moduleIts possible to automatically load the IPv6 module on demand. You only have to add following line in the configuration file of the kernel module loader (normally /etc/modules.conf or /etc/conf.modules):
It's also possible to disable automatically loading of the IPv6 module using following line
Additional note: in future kernels (newer 2.5 series and above), the module loader mechanism was changed. The new configuration file has to be named /etc/modprobe.conf instead of /etc/modules.conf but there is a translate-script available. For further details see module-init-tool. 4.1.3. Compile kernel with IPv6 capabilitiesIf both above shown results were negative and your kernel has no IP6 support, than you have the following options:
If you decide to compile a kernel, you should have previous experience in kernel compiling and read the Linux Kernel HOWTO. A mostly up-to-time comparison between vanilla and USAGI extended kernels is available on IPv6+Linux-Status-Kernel. 4.1.3.1. Compiling a vanilla kernelMore detailed hints about compiling an IPv6-enabled kernel can be found e.g. on IPv6-HOWTO-2#kernel. Note: you should use whenever possible kernel series 2.4.x or above, because the IPv6 support in series 2.2.x is not so in current state and needs some patches for ICMPv6 and 6to4 support (can be found on kernel series 2.2.x IPv6 patches). 4.1.3.2. Compiling a kernel with USAGI extensionsSame as for vanilla kernel, only recommend for advanced users, which are already familiar with IPv6 and kernel compilation. See also USAGI project / FAQ and Obtaining the best IPv6 support with Linux (Article) (Mirror). 4.1.4. IPv6-ready network devicesNot all existing network devices have already (or ever) the capability to transport IPv6 packets. A current status can be found at IPv6+Linux-status-kernel.html#transport. A major issue is that because of the network layer structure of kernel implementation an IPv6 packet isn't really recognized by it's IP header number (6 instead of 4). It's recognized by the protocol number of the Layer 2 transport protocol. Therefore any transport protocol which doesn't use such protocol number cannot dispatch IPv6 packets. Note: the packet is still transported over the link, but on receivers side, the dispatching won't work (you can see this e.g. using tcpdump). 4.1.4.1. Currently known never "IPv6 capable links"
Linux HOWTO full list |
|
This document, LDP HOWTO-INDEX, is copyrighted (c) 1995 - 2002 by Tim Bynum, Guylhem Aznar, Joshua Drake and Greg Ferguson. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is available at http://www.gnu.org/copyleft/fdl.html. If you have questions, please contact the LDP.
Web Design Copyright © 1999-2003. Chrisranjana Software Solutions Pvt Ltd. syndicate rss feed |