免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1217 | 回复: 9
打印 上一主题 下一主题

请问:为什么我的网卡总有down掉的现象呢? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-08-28 21:44 |只看该作者 |倒序浏览
起初在机子上安装redhat 9.0(2.4.20-8smp)时,只有一块网卡,网卡工作正常,后来又加了一块网卡,就出现了第一块网卡有时会down掉的现象,请问这是为什么呢,是很多帖子说的双网卡造成的吗?怎么解决呢?(我的第一块网卡是内网卡,后加的一块是外网卡)

以下是一些网卡信息:
#dmesg | grep eth
divert: allocating divert_blk for eth0
eth0: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter
eth0: network connection up using port A
divert: allocating divert_blk for eth1
eth1: VIA VT6105 Rhine-III at 0xa000, 00xxxxx, IRQ 21.
eth1: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000.
eth0: network connection down
eth0: network connection up using port A
eth1: Setting full-duplex based on MII #1 link partner capability of 45e1.

#mii-tool -v
SIOCGMIIPHY on 'eth0' failed: Bad address
eth1: negotiated 100baseTx-FD flow-control, link ok
  product info: vendor 00:40:63, model 52 rev 4
  basic mode:   autonegotiation enabled
  basic status: autonegotiation complete, link ok
  capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
  advertising:  100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
  link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control

另外 ifconfig eth0  发现 TX packets:479 errors:5 (这是刚开机时的情况,之后error数越来越大)

论坛徽章:
0
2 [报告]
发表于 2005-08-28 21:50 |只看该作者

请问:为什么我的网卡总有down掉的现象呢?

也许是网卡的问题,也许是与驱动不兼容
换个网卡试试看

论坛徽章:
33
荣誉会员
日期:2011-11-23 16:44:17天秤座
日期:2014-08-26 16:18:20天秤座
日期:2014-08-29 10:12:18丑牛
日期:2014-08-29 16:06:45丑牛
日期:2014-09-03 10:28:58射手座
日期:2014-09-03 16:01:17寅虎
日期:2014-09-11 14:24:21天蝎座
日期:2014-09-17 08:33:55IT运维版块每日发帖之星
日期:2016-04-17 06:23:27操作系统版块每日发帖之星
日期:2016-04-18 06:20:00IT运维版块每日发帖之星
日期:2016-04-24 06:20:0015-16赛季CBA联赛之天津
日期:2016-05-06 12:46:59
3 [报告]
发表于 2005-08-28 22:18 |只看该作者

请问:为什么我的网卡总有down掉的现象呢?

不会是把两个网卡接到一个 switch 了吧?

论坛徽章:
0
4 [报告]
发表于 2005-08-28 22:45 |只看该作者

请问:为什么我的网卡总有down掉的现象呢?

另外 ifconfig eth0  发现 TX packets:479 errors:5 (这是刚开机时的情况,之后error数越来越大)

物理层有点问题

论坛徽章:
0
5 [报告]
发表于 2005-08-28 23:25 |只看该作者

请问:为什么我的网卡总有down掉的现象呢?

是不是Route的问题。?

论坛徽章:
0
6 [报告]
发表于 2005-08-29 08:28 |只看该作者

请问:为什么我的网卡总有down掉的现象呢?

建议换PCI槽试试

论坛徽章:
0
7 [报告]
发表于 2005-08-29 10:38 |只看该作者

请问:为什么我的网卡总有down掉的现象呢?

谢谢大家的帮助:
1 没有插到同一个switch上
2 # netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
xx.xx.xx.0   0.0.0.0         255.255.255.0   U         0 0          0 eth1
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth1
192.168.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
0.0.0.0         xx.xx.xx.55  0.0.0.0         UG        0 0          0 eth1
路由表有什么问题吗?
3 我现在想安装一下第一块网卡的驱动,因为安装redhat时,并没有安装网卡驱动就认出来了,不知道双网卡后,会不会就得安装一下?另外想请问一下:redhat 9.0 (2.4.20-8smp)对千兆网卡(marvell Yukon Gigabit Ethernet 10/100/1000Base-T Adapter)支持的好吗,需不需要重新编译内核或者升级到2.6?还没找到从哪下载该驱动,谁能告诉我个下载地址吗?

论坛徽章:
0
8 [报告]
发表于 2005-08-29 10:39 |只看该作者

请问:为什么我的网卡总有down掉的现象呢?

[quote]原帖由 "q1208c"]不会是把两个网卡接到一个 switch 了吧?[/quote 发表:



接同一个switch会有什么不利的后果
为什么可以影响到另外一块

论坛徽章:
0
9 [报告]
发表于 2005-08-29 10:44 |只看该作者

请问:为什么我的网卡总有down掉的现象呢?

接到同一个switch上有可能形成网络环路,导致网络不可用

论坛徽章:
0
10 [报告]
发表于 2005-08-29 10:54 |只看该作者

请问:为什么我的网卡总有down掉的现象呢?

如果你ifconfig中收到error并不断增大,那是物理层的故障
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP