- 论坛徽章:
- 0
|
在RH9.0下面安装多块网卡:
在安装之前查了一下网路资料,多网卡的安装是:
********************************
摘于----http://www.douzhe.com/linux/
当你有两块网卡时,在lilo.conf里加上
append = "ether=0,0,eth1"
当你插了三块, 则为:
append = "ether=0,0,eth1 ether=0,0,eth2"
举例如下:
boot = /dev/hda
#compact # faster, but won't work on all systems.
delay = 50
vga = normal # force sane state
append= "ether=0,0,eth1"
# ramdisk = 0 # paranoia setting
# End LILO global section
# linux bootable partition config begins
image = /zImage
root = /dev/hda1
label = linux
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# linux bootable partition config ends
这是不知道网卡irq和iobase时的做法(尤其是PCI网卡时,象3c590...)当知道网卡irq和iobase时,还是指定的好:例如:两块3c590:
append="ether=9,0xfce0,eth0 ether=5,0xfcc0,eth1"
注:如果已经编译成模块的话,应该在/etc/rc.d/rc.modules(在Redhat里是/etc/conf.modules)加上类似的一行:
/sbin/modprobe ne io=io1,io2
**********************************************************
因为没有指出版本,所以就先按他指示做,可是发现并没有成功,只有重来了。
1、安装好硬件(PCI)
2、启动机器
在系统探测新硬件时,系统会提示找到新硬件(我用的是DL_528TX),因为用的中文的,所以出现各乱码,看到系统说什么,我就直接按回车过去
3、正常,ok,那LOGIN
4、查看启动信息:#dmesg |grep eth
eth0: RealTek RTL8139 Fast Ethernet at 0xe08ea000, 00:e0:4c:5d:1f:cb, IRQ 5
eth0: Identified 8139 chip type 'RTL-8139C'
divert: allocating divert_blk for eth1
eth1: D-Link DFE-538TX (RealTek RTL8139) at 0xe08f4000, 00:05:5d:28:2e:c9, IRQ 11
eth1: Identified 8139 chip type 'RTL-8139C'
从上面信息可以得知,网卡已正常安装。
5、启动Xwindows,到系统设置-->;网络,增加eth1,并设置IP。当然这部份也可以在命令行用ipconfig完成。
6、用PING测试,OK!!到此网卡已安装好。
总结:1、linux检测网卡是从第一个PCI(靠近AGP那个)开始,并把检测到的第一个设为eth0,以后类推。
2、当保存设置后再调换两块网卡,重启,系统会提示网卡的MAC 地址不匹配,且不会UP eth。
粗略简述,且全为个人测试,如有不当之处,还请各位指出。 |
|