ITPUB论坛-专业的IT技术社区

标题: linux的网卡配置问题_光纤 [打印本页]

作者: pluse4303    时间: 2005-7-5 17:58
标题: linux的网卡配置问题_光纤
[root@localhost /]# dmesg |grep eth0
divert: allocating divert_blk for eth0
eth0: Tigon3 [partno(N/A) rev 2100 PHY(5704)] (PCIX:133MHz:64-bit) 10/100/1000BaseT Ethernet 00:12:79:cf:3e:bb
eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[1] Split[0] WireSpeed[1] TSOcap[0]
divert: freeing divert_blk for eth0
divert: allocating divert_blk for eth0
eth0: Tigon3 [partno(N/A) rev 2100 PHY(5704)] (PCIX:133MHz:64-bit) 10/100/1000BaseT Ethernet 00:12:79:cf:3e:bb
eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[1] Split[0] WireSpeed[1] TSOcap[0]
tg3: eth0: Link is up at 100 Mbps, full duplex.
tg3: eth0: Flow control is off for TX and off for RX.
tg3: eth0: Link is up at 100 Mbps, full duplex.
tg3: eth0: Flow control is off for TX and off for RX.

[root@localhost /]# dmesg |grep eth1
divert: allocating divert_blk for eth1
eth1: Tigon3 [partno(N/A) rev 2100 PHY(5704)] (PCIX:133MHz:64-bit) 10/100/1000BaseT Ethernet 00:12:79:cf:3e:ba
eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1] TSOcap[0]
divert: freeing divert_blk for eth1
divert: allocating divert_blk for eth1
eth1: Tigon3 [partno(N/A) rev 2100 PHY(5704)] (PCIX:133MHz:64-bit) 10/100/1000BaseT Ethernet 00:12:79:cf:3e:ba
eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1] TSOcap[0]

[root@localhost /]# dmesg |grep eth2
e1000: eth2: e1000_probe: Intel(R) PRO/1000 Network Connection
divert: allocating divert_blk for eth2
divert: freeing divert_blk for eth2
e1000: eth2: e1000_probe: Intel(R) PRO/1000 Network Connection
divert: allocating divert_blk for eth2

[root@localhost /]# dmesg |grep eth3
e1000: eth3: e1000_probe: Intel(R) PRO/1000 Network Connection
divert: allocating divert_blk for eth3
divert: freeing divert_blk for eth3
e1000: eth3: e1000_probe: Intel(R) PRO/1000 Network Connection
divert: allocating divert_blk for eth3

0和1 是服务器的网卡 2和3是加上去的光纤网卡.有两个网口.每个网口都配有同网段的IP.eth0是RJ45.接了网线 eth3是光纤口.接了光纤.重启网卡
[root@localhost /]# /etc/rc.d/init.d/network restart
Shutting down interface eth0:                              [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Setting network parameters:                                [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:                                [  OK  ]
Bringing up interface eth3:  ./ifup: line 3: 15:28:48: command not found
./ifup: line 4: USER: command not found

Determining IP information for eth3... failed; no link present.  Check cable?
                                                           [FAILED]

为什么光纤的网口不能启用.也设置不了IP.
而用ifconfig-a 4个网口都能看的到:只看到eth0启用.是UP..别的网口都是DOWN
作者: lfree    时间: 2005-7-6 08:59
看看ifup的line 3是什么命令。




欢迎光临 ITPUB论坛-专业的IT技术社区 (http://www.itpub.net/) Powered by Discuz! X3.2