Chinaunix

标题: 网卡在linux接收有很多错包(最高达到30%),在windows下正常 [打印本页]

作者: tomtforever    时间: 2010-04-06 12:53
标题: 网卡在linux接收有很多错包(最高达到30%),在windows下正常
在linux ifconfig
ifconfig:
eth0 Link encap:Ethernet HWaddr 05:1h:5c:21:79:f3
inet6 addr: fe80::25e:8cff:ae11:69e3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20719 errors:6087 dropped:0 overruns:0 frame:6087
TX packets:18245 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:16489192 (15.7 MiB) TX bytes:2639673 (2.5 MiB)
Interrupt:19 Base address:0xdead

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:592 (592.0 B) TX bytes:592 (592.0 B)

ppp0 Link encapoint-to-Point Protocol
inet addr.x.x.x P-t-P:y.y.y.y Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1452 Metric:1
RX packets:17752 errors:0 dropped:0 overruns:0 frame:0
TX packets:17763 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:15854998 (15.1 MiB) TX bytes:2234103 (2.1 MiB)

十M的网通,在windows下网卡正常,这是怎么回事?
作者: water_snow    时间: 2010-04-06 14:29
可能是双工不匹配。
作者: yuhuohu    时间: 2010-04-06 15:37
和ls一个看法
作者: tomtforever    时间: 2010-04-06 16:09
之前试过在linux下改10M全双工没有用,改100M半双工和全双工,改不了。
在windows下,改10M 半双工的时候匹配,速度达到10M,其余无法工作或者速度很慢。
所以linux下的工作模式没有问题啊???

作者: mqk    时间: 2010-04-07 20:37
还是网线质量问题。虽然1 2 3 6 四根线通但是有串扰。
作者: tomtforever    时间: 2010-04-07 20:52
还有什么原因吗?如果是链路层的原因的话,不理解在windows下为什么能达到10M, 难道是驱动的原因? 用的驱动是sis190.ko。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2