next up previous contents
Next: net-tools and iproute Up: IPv6-ready kernel. Enable IPv6 Previous: IPv6-ready kernel. Enable IPv6   Índice General

Compile kernel with IPv6

We can use the native IPv6 kernel iomplemetation of the linux kernel or try the http://www.linux-ipv6.org/USAGI patches (in this document i am going to use the linux kernel implentation, but i recommend you to use the USAGI patches. I wanted to describe the installation of the USAGI patches, but i didn't have got enought time, sorry) You should use kernel series 2.4.x or above (in this example i use 2.4.20), because the IPv6 support in series 2.2.x needs some pathes for ICMPv6 and 6to4 support. We recomend the 2.4.x series. To configure the kernel for IPv6 we have to do these steps (i suppose you know how to compile the kernel): make config or make menuconfig or make xconfig

and enable the following options:

Loadable module support  --->
    [*] Enable loadable module support
    [ ]   Set version information on all module symbols 
    [*]   Kernel module loader

  Note: I have to uncheck the second option, because when i tried to insert 
        the module i get unresolved Symbol errors. To avoid these errors 
        unset the "Set version information on all module symbols"

Networking options --->
    <M> The IPv6 protocol (EXPERIMENTAL)

  Note: You can select it as a module or directly compiled inside the kernel

Save the changes and compile the kernel:

make dep, make bzImage, make modules, make modules_install

Install the new kernel, add a line to lilo.conf, install lilo and reboot (all of you know how to make this ;-) ) The next time we reboot we will have an IPv6-ready kernel (if we have compiled IPv6 as module we have to insert this in the kernel: modprobe IPv6). To check if our intefaces have an IPv6 direction associated, we can use the command ifconfig -a (This tool may be able to support IPv6, we will going to see it in the next subsection)


next up previous contents
Next: net-tools and iproute Up: IPv6-ready kernel. Enable IPv6 Previous: IPv6-ready kernel. Enable IPv6   Índice General
ismak 2003-06-18