📄 install.kernel
字号:
INTRODUCTIONMobile IPv6 (or Mobility support in IPv6) provides transparentmobility for Internet Protocol version 6. Protocols above IP shouldnot be affected.This file describes how to install MIPL Mobile IPv6 for Linux in theLinux kernel. See INSTALL for the userspace part.INSTALLATIONMIPL Mobile IPv6 comes as a kernel patch for the 2.4.x series. It hasbeen tested with various 2.4.x kernels. The kernel patch is namedmipv6-a.b-v2.4.x.patch (where a and b are the major and minor versionnumbers of MIPL and x is the kernel version sub-level against whichthe patch was made). This patch should only be applied against fresh2.4.x tree (or later; provided no changes have been made in thenet/ipv6 directory).MIPL MIPv6 has only been tested on Redhat system but should work onany Linux system assuming you already have working 2.4.x kernel andIPv6 environment.Assuming you have a fresh 2.4.x kernel tree in /usr/src/linux do thefollowing:cd /usr/src/linuxpatch -p1 --dry-run < mipv6-a.b-v2.4.x.patchThis does not actually do anything but display errors if any. If youget any failed hunks, you should NOT proceed. If everything went finedo:patch -p1 < mipv6-a.b-v2.4.x.patchNow your kernel tree is ready for configuration. Run your favorite'make *config'. Make sure you have at least the following optionsset. For easy checking use chkconf_kernel.sh in userspace. CONFIG_EXPERIMENTAL=y CONFIG_SYSCTL=y CONFIG_PROC_FS=y CONFIG_MODULES=y CONFIG_NET=y CONFIG_NETFILTER=y CONFIG_UNIX=y CONFIG_INET=y CONFIG_IPV6=m CONFIG_IPV6_SUBTREES=y CONFIG_IPV6_IPV6_TUNNEL=m CONFIG_IPV6_MOBILITY=mYou may choose 'y' instead of 'm' if you don't want to build MobileIPv6 as a module. The last configuration option is the newly addedMobility Support. Selecting this enables Mobile IPv6 Correspondentnode operation. You may also select following options: CONFIG_IPV6_MOBILITY_MN CONFIG_IPV6_MOBILITY_HA CONFIG_IPV6_MOBILITY_DEBUGFirst two control whether you want to have Mobile node or Home agentfunctionality enabled in addition to Correspondent node. MN and HAcan be enabled but not used at the same time. The last one turns ondebugging messages for MIPL. Since MIPL is still work-in-progress youmight want to enable this. With debug messages it is easier to figureout what happened when something goes wrong. Also when reporting abug debug messages are very helpful.After you are satisfied with your configuration save changes and exit.Run 'make dep' and compile and install the new kernel and modules.The kernel part is now done. See INSTALL for how to install userspacetools.CONFIGURATIONUserspace tool mipdiag(8) is used for configuration. See INSTALL,network-mip6.conf(5), and mipdiag(8) for more information.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -