- 论坛徽章:
- 0
|
30可用积分
我这里有一台机器,装的debian 4.0的操作系统。
ping它,发现丢包率有40%
ifconfig -a显示
bond0 Link encap:Ethernet HWaddr 00:10:18:31:6C:63
inet addr:192.168.1.61 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::210:18ff:fe31:6c63/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:228939416 errors:216633 dropped:60 overruns:0 frame:6
TX packets:9457743 errors:0 dropped:0 overruns:0 carrier:0
collisions:238335 txqueuelen:0
RX bytes:800666214 (763.5 MiB) TX bytes:1980557081 (1.8 GiB)
eth0 Link encap:UNSPEC HWaddr 80-4F-1E-00-3D-0F-AA-00-00-00-00-00-00-00-00-00
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
eth1 Link encap:Ethernet HWaddr 00:10:18:31:6C:63
UP BROADCAST SLAVE MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:169
eth2 Link encap:Ethernet HWaddr 00:10:18:31:6C:63
inet addr:169.254.30.78 Bcast:169.254.255.255 Mask:255.255.0.0
inet6 addr: fe80::210:18ff:fe31:6c63/64 Scope:Link
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:228939416 errors:216633 dropped:60 overruns:0 frame:6
TX packets:9457743 errors:0 dropped:0 overruns:0 carrier:0
collisions:238335 txqueuelen:1000
RX bytes:800666214 (763.5 MiB) TX bytes:1980557081 (1.8 GiB)
Interrupt:169
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:757994464 errors:0 dropped:0 overruns:0 frame:0
TX packets:757994464 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3071203309 (2.8 GiB) TX bytes:3071203309 (2.8 GiB)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
上google找了很多一般说可能是配置的问题,
但是用户说把程序重启了一下,就不丢包了
我想问一下,errors表示啥意思,
硬件什么情况下会导致这个问题?
软件什么情况下会导致这个问题?
--------------------------------------------------------------------------------------------------------
以前的帖子
http://bbs2.chinaunix.net/thread-1372876-1-1.html
我这里有2台DS20E的机器,上面跑了生产系统
现在有这样的一个问题,就是机器运行个1个月的样子,网卡的网速会由100M变成10-100k的样子
重启网络服务网速会恢复,还有可以把现在运行的网卡切换到备用网卡上,网速也会恢复
说明一下,机器是装Tru64 5.1b操作系统
网卡用了tru64上面的工具,做了网卡冗余,就是2个网卡绑定一个ip
交换机用的cisco 2960的交换机,网线重做过,现在就是没有换过网卡
还有该机器老报swap交换区不足,这个会不会对网卡有些影响?
请各位老大帮忙看看,有没有遇到过这种情况?
这种问题该从何处下手?
-----------------------------------------------------------
09-07-21
我登陆交换机报如下信息
1y11w: %CDP-4-DUPLEX_MISMATCH: duplex mismatch discovered on FastEthernet0/48 (n
ot half duplex), with Switch FastEthernet0/7 (half duplex).
------------------------------------------------------------
这是网速经常变慢的端口的show int f0/44 和46的输出
FastEthernet0/44 is down, line protocol is down (notconnect)
Hardware is Fast Ethernet, address is 001e.bda4.ce2c (bia 001e.bda4.ce2c)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Auto-duplex, Auto-speed, media type is 10/100BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output 01:43:00, outp
1y20w: %CDP-4-DUPLEX_MISMATCH: duplex mismatch discovered on FastEthernet0/48 (n
ot half duplex), with Switch FastEthernet0/1 (half duplex).ut hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
792114824 packets input, 579970955607 bytes, 0 no buffer
Received 251830408 broadcasts (0 multicasts)
0 runts, 6326 giants, 0 throttles
3157240 input errors, 1552225 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 2 multicast, 1920254 pause input
0 input packets with dribble condition detected
1908412976 packets output, 936317846492 bytes, 0 underruns
0 output errors, 25957907 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
FastEthernet0/46 is down, line protocol is down (notconnect)
Hardware is Fast Ethernet, address is 001e.bda4.ce2e (bia 001e.bda4.ce2e)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Auto-duplex, Auto-speed, media type is 10/100BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output 02:10:41, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
1687137142 packets input, 1276909676693 bytes, 0 no buffer
Received 706110934 broadcasts (0 multicasts)
0 runts, 719 giants, 0 throttles
461097 input errors, 228038 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 6 multicast, 0 pause input
0 input packets with dribble condition detected
1998364888 packets output, 735360128887 bytes, 0 underruns
----------------------------------------------------------------------------------------
自从7月23号将交换机的端口和DS20机器的网卡模式改成一致后(均为100M半双工),
一直到现在(8月11日)机器的网速均未出现变慢的情况
困扰一年多的问题就此解决,深层次的原因还望各位高手解惑
^_^
非常感谢ssffzz1 和kentchoi 大侠
附修改方法:
将2960上交换机上的4个和DS20网卡相连端口强制改成100M 半双工,网卡以前设置的是100M半双工
[ 本帖最后由 gawk 于 2009-8-11 17:59 编辑 ] |
最佳答案
查看完整内容
errors:2345出现这个问题的原因是网卡上面收到了错误的帧,可能的问题一般是硬件问题比较多。尝试更换网线,还有检查一下网口等。另外在ping丢包的时候看看这个参数增加不,如果增加的话,可以考虑触碰网线的各个接头,看是否有改善。如果排除网线问题的话,可以尝试更换网卡。和软件的关系不是很大,但也不排除驱动的问题。另外这个状况还有和另一端网卡工作模式不匹配有关系,如果可以贴出另一端网卡的ifconfig数据,或者直接强 ...
|