mound 发表于 2003-6-16 10:22:01

在RH-7.2下安装Ipv6协议栈后为什么不能激活网卡?

具体配置步骤如下:
1.重新编译新的内核
系统为Redhat7.2的内核为2.4.7-10版本,内核默认没有支持Ipv6。重新编译新的内核,安装新的协议栈,按照如下步骤:
1)以root身份登陆,进入源码所在的目录:cd /usr/src/linux2.4;
2)运行 make clean,清除一些可能过期的中间代码;
3)然后配置内核选项:make menuconfig,将下面的支持IPv6的选项选上;
Code maturity level options
Prompt for development and/or incomplete code/drivers Yes
Networking options
Packet socket               yes
Unix domain sockets            yes
TCP/IP networking             yes
The IPv6 protocol             yes
File systems
/ procfilesystem support                                         yes
4)然后运行make dep;
5)make clean;
6)make bzImage
7)没有错误,现在已经编译成功了支持IPv6协议的内核了。将该内核拷贝到Linux的启动目录下:cp        arch/i386/boot/zImage /boot/vmlinuz-IPv6
8)编辑etc/lilo.conf使新的内核成为boot的选择
9)重启系统:reboot

2.安装net-tools
Linux的网络配置,基本上是通过ifconfig和route等命令实现的,需要安装编译新版本的支持IPv6的net-tools,我们采用了net-tools-1.60-4.i386。
安装后,选择下面的内容,其他选项内容请根据自己系统情况选择:
编译主选项          子选项          选择
GNU gettext                    Yes(如果使用的是glibc2)
Protocol Families  UNIX protocol family              Yes
INET (TCP/IP) protocol family Yes
INET6 (IPv6) protocol familyYes
Device hardware types SIT (IPv6-inIPv4) support   Yes
运行ifconfig,可以看到在网络接口lo,生成了一个IPv6地址为::1,这是它的本地链路地址。

3.安装Inet6-applications
编译新版本的支持IPv6的网络应用程序我们采用的是inet6-apps-0.36-2.i386.rpm。安装完成之后就可以使用命令ping6,tracepath6,tracert6。

问题:
1.        用新的内核启动后,有几项FAILED,并且没有出现信息:Bringing up eth0;
2.        在图形方式中的start here窗口中,点击network configure,没有反映;但是点击hardware show中可以看到网卡;
3.        运行# ifconfig,后,只有lo的信息,没有有关第一块物理网卡etho的信息,我的网卡是Realtek RTL8029(AS);
4.        以下文件或者目录都存在
/proc/net/ipv6_route
/proc/net/if_inet6
/proc/sys/net/ipv6
5.        如果我现在只需要通过双绞线,利用运行Ipv6上的应用,在两台机子进行通信,是不是只需要配置以下两项就可以了?
1)配置Ipv6全球地址:ifconfigetho        add        Ipv6-address
2)设置对方的ipv6地址为缺省网关:

Dragonfly 发表于 2003-6-16 10:33:26

there are some posts about ipv6 in this branch. try to search it and ask theauthor about these questions.
页: [1]
查看完整版本: 在RH-7.2下安装Ipv6协议栈后为什么不能激活网卡?