- 論壇徽章:
- 0
|
在RH9.0下面安裝多塊網(wǎng)卡:
在安裝之前查了一下網(wǎng)路資料,多網(wǎng)卡的安裝是:
********************************
摘于----http://www.douzhe.com/linux/
當(dāng)你有兩塊網(wǎng)卡時,在lilo.conf里加上
append = "ether=0,0,eth1"
當(dāng)你插了三塊, 則為:
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
這是不知道網(wǎng)卡irq和iobase時的做法(尤其是PCI網(wǎng)卡時,象3c590...)當(dāng)知道網(wǎng)卡irq和iobase時,還是指定的好:例如:兩塊3c590:
append="ether=9,0xfce0,eth0 ether=5,0xfcc0,eth1"
注:如果已經(jīng)編譯成模塊的話,應(yīng)該在/etc/rc.d/rc.modules(在Redhat里是/etc/conf.modules)加上類似的一行:
/sbin/modprobe ne io=io1,io2
**********************************************************
因為沒有指出版本,所以就先按他指示做,可是發(fā)現(xiàn)并沒有成功,只有重來了。
1、安裝好硬件(PCI)
2、啟動機器
在系統(tǒng)探測新硬件時,系統(tǒng)會提示找到新硬件(我用的是DL_528TX),因為用的中文的,所以出現(xiàn)各亂碼,看到系統(tǒng)說什么,我就直接按回車過去
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'
從上面信息可以得知,網(wǎng)卡已正常安裝。
5、啟動Xwindows,到系統(tǒng)設(shè)置-->;網(wǎng)絡(luò),增加eth1,并設(shè)置IP。當(dāng)然這部份也可以在命令行用ipconfig完成。
6、用PING測試,OK!!到此網(wǎng)卡已安裝好。
總結(jié):1、linux檢測網(wǎng)卡是從第一個PCI(靠近AGP那個)開始,并把檢測到的第一個設(shè)為eth0,以后類推。
2、當(dāng)保存設(shè)置后再調(diào)換兩塊網(wǎng)卡,重啟,系統(tǒng)會提示網(wǎng)卡的MAC 地址不匹配,且不會UP eth。
粗略簡述,且全為個人測試,如有不當(dāng)之處,還請各位指出。 |
|