- 論壇徽章:
- 0
|
30可用積分
我這里有一臺機器,裝的debian 4.0的操作系統(tǒng)。
ping它,發(fā)現(xiàn)丟包率有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的機器,上面跑了生產(chǎn)系統(tǒng)
現(xiàn)在有這樣的一個問題,就是機器運行個1個月的樣子,網(wǎng)卡的網(wǎng)速會由100M變成10-100k的樣子
重啟網(wǎng)絡服務網(wǎng)速會恢復,還有可以把現(xiàn)在運行的網(wǎng)卡切換到備用網(wǎng)卡上,網(wǎng)速也會恢復
說明一下,機器是裝Tru64 5.1b操作系統(tǒng)
網(wǎng)卡用了tru64上面的工具,做了網(wǎng)卡冗余,就是2個網(wǎng)卡綁定一個ip
交換機用的cisco 2960的交換機,網(wǎng)線重做過,現(xiàn)在就是沒有換過網(wǎng)卡
還有該機器老報swap交換區(qū)不足,這個會不會對網(wǎng)卡有些影響?
請各位老大幫忙看看,有沒有遇到過這種情況?
這種問題該從何處下手?
-----------------------------------------------------------
09-07-21
我登陸交換機報如下信息
1y11w: %CDP-4-DUPLEX_MISMATCH: duplex mismatch discovered on FastEthernet0/48 (n
ot half duplex), with Switch FastEthernet0/7 (half duplex).
------------------------------------------------------------
這是網(wǎng)速經(jīng)常變慢的端口的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機器的網(wǎng)卡模式改成一致后(均為100M半雙工),
一直到現(xiàn)在(8月11日)機器的網(wǎng)速均未出現(xiàn)變慢的情況
困擾一年多的問題就此解決,深層次的原因還望各位高手解惑
^_^
非常感謝ssffzz1 和kentchoi 大俠
附修改方法:
將2960上交換機上的4個和DS20網(wǎng)卡相連端口強制改成100M 半雙工,網(wǎng)卡以前設置的是100M半雙工
[ 本帖最后由 gawk 于 2009-8-11 17:59 編輯 ] |
最佳答案
查看完整內(nèi)容
errors:2345出現(xiàn)這個問題的原因是網(wǎng)卡上面收到了錯誤的幀,可能的問題一般是硬件問題比較多。嘗試更換網(wǎng)線,還有檢查一下網(wǎng)口等。另外在ping丟包的時候看看這個參數(shù)增加不,如果增加的話,可以考慮觸碰網(wǎng)線的各個接頭,看是否有改善。如果排除網(wǎng)線問題的話,可以嘗試更換網(wǎng)卡。和軟件的關系不是很大,但也不排除驅(qū)動的問題。另外這個狀況還有和另一端網(wǎng)卡工作模式不匹配有關系,如果可以貼出另一端網(wǎng)卡的ifconfig數(shù)據(jù),或者直接強 ...
|