亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 11744 | 回復(fù): 3
打印 上一主題 下一主題

tcp重傳率過高 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2006-08-12 21:34 |只看該作者 |倒序瀏覽
通過netstat -I enX -sp tcp
收集發(fā)送的TCP包數(shù)和retransmit的包數(shù),間隔一定時間過后
再次收集這兩個數(shù)值,分別相減后相除,可得出在此采樣時間內(nèi)的TCP重傳率,通過一段時間的監(jiān)控數(shù)據(jù)收集
發(fā)現(xiàn)如下怪異現(xiàn)象:
某主機A幾乎沒有重傳,而主機B卻受到大量重傳率告警郵件(自己編寫腳本收集數(shù)據(jù),閾值30%)
主機A和主機B接入同一臺交換機,又經(jīng)過ping測試(從其它主機)
主機A大包小包都能ping通,但主機B ping >=1473字節(jié)的包不能ping通
已確認兩臺主機TCP/IP協(xié)議棧配置一樣(IBM 小型機,操作系統(tǒng)AIX5.3),網(wǎng)卡MTU和配置參數(shù)一樣,網(wǎng)卡型號,網(wǎng)卡微碼,主機微碼等環(huán)境一樣,后又測試交換兩臺小機光纖網(wǎng)卡所連光纖線,主機B仍然是TCP重傳率很高,請大家?guī)兔纯,多謝!

[ 本帖最后由 eryk 于 2006-8-13 21:11 編輯 ]

論壇徽章:
0
2 [報告]
發(fā)表于 2006-08-13 11:08 |只看該作者
網(wǎng)絡(luò)封幀的問題 ? 或者ieee 802.1q 的trunk設(shè)置?

論壇徽章:
0
3 [報告]
發(fā)表于 2006-08-15 00:20 |只看該作者
使用iptrace抓包如下(查看網(wǎng)絡(luò)重傳監(jiān)控郵件,截取在那個時間段內(nèi)通信包)
Packet Number 14031
ETH: ====( 60 bytes received on interface en2 )==== 20:07:00.579927920
ETH:    [ 00:e0:fc:3d:45:83 -> 00:11:25:bd:3c:1b ]  type 800  (IP)
IP:          < SRC =     10.195.0.68 >  
IP:          < DST =    172.18.32.78 >  (market)
IP:          ip_v=4, ip_hl=20, ip_tos=0, ip_len=40, ip_id=1282, ip_off=0
IP:          ip_ttl=62, ip_sum=a067, ip_p = 6 (TCP)
TCP:         <source port=10235, destination port=80(http) >
TCP:         th_seq=683658311, th_ack=0
TCP:         th_off=5, flags<SYN>
TCP:         th_win=1400, th_sum=b5b1, th_urp=0

Packet Number 14032
ETH: ====( 60 bytes transmitted on interface en2 )==== 20:07:00.579969131
ETH:    [ 00:11:25:bd:3c:1b -> 00:00:5e:00:01:20 ]  type 800  (IP)
IP:          < SRC =    172.18.32.78 >  (market)
IP:          < DST =     10.195.0.68 >  
IP:          ip_v=4, ip_hl=20, ip_tos=0, ip_len=44, ip_id=25947, ip_off=0 DF
IP:          ip_ttl=60, ip_sum=20a, ip_p = 6 (TCP)
TCP:         <source port=80(http), destination port=10235 >
TCP:         th_seq=3816961830, th_ack=683658312
TCP:         th_off=6, flags<SYN | ACK>
TCP:         th_win=65535, th_sum=88b3, th_urp=0
TCP:                 mss 1460

Packet Number 14033
ETH: ====( 60 bytes received on interface en2 )==== 20:07:00.580263558
ETH:    [ 00:e0:fc:3d:45:83 -> 00:11:25:bd:3c:1b ]  type 800  (IP)
IP:          < SRC =     10.195.0.68 >  
IP:          < DST =    172.18.32.78 >  (market)
IP:          ip_v=4, ip_hl=20, ip_tos=0, ip_len=40, ip_id=1283, ip_off=0
IP:          ip_ttl=62, ip_sum=a066, ip_p = 6 (TCP)
TCP:         <source port=10235, destination port=80(http) >
TCP:         th_seq=683658312, th_ack=3816961831
TCP:         th_off=5, flags<FIN | ACK>
TCP:         th_win=1400, th_sum=9af7, th_urp=0

Packet Number 14034
ETH: ====( 60 bytes transmitted on interface en2 )==== 20:07:00.580268565
ETH:    [ 00:11:25:bd:3c:1b -> 00:00:5e:00:01:20 ]  type 800  (IP)
IP:          < SRC =    172.18.32.78 >  (market)
IP:          < DST =     10.195.0.68 >  
IP:          ip_v=4, ip_hl=20, ip_tos=0, ip_len=40, ip_id=25948, ip_off=0 DF
IP:          ip_ttl=60, ip_sum=20d, ip_p = 6 (TCP)
TCP:         <source port=80(http), destination port=10235 >
TCP:         th_seq=3816961831, th_ack=683658313
TCP:         th_off=5, flags<ACK>
TCP:         th_win=65535, th_sum=a06f, th_urp=0

Packet Number 14035
ETH: ====( 60 bytes received on interface en2 )==== 20:07:00.580271855
ETH:    [ 00:e0:fc:3d:45:83 -> 00:11:25:bd:3c:1b ]  type 800  (IP)
IP:          < SRC =     10.195.0.68 >  
IP:          < DST =    172.18.32.78 >  (market)
IP:          ip_v=4, ip_hl=20, ip_tos=0, ip_len=40, ip_id=1284, ip_off=0
IP:          ip_ttl=62, ip_sum=a065, ip_p = 6 (TCP)
TCP:         <source port=10235, destination port=80(http) >
TCP:         th_seq=683658312, th_ack=3816961831
TCP:         th_off=5, flags<FIN | ACK>
TCP:         th_win=1400, th_sum=9af7, th_urp=0

Packet Number 14036
ETH: ====( 60 bytes transmitted on interface en2 )==== 20:07:00.580275395
ETH:    [ 00:11:25:bd:3c:1b -> 00:00:5e:00:01:20 ]  type 800  (IP)
IP:          < SRC =    172.18.32.78 >  (market)
IP:          < DST =     10.195.0.68 >  
IP:          ip_v=4, ip_hl=20, ip_tos=0, ip_len=40, ip_id=25949, ip_off=0 DF
IP:          ip_ttl=60, ip_sum=20c, ip_p = 6 (TCP)
TCP:         <source port=80(http), destination port=10235 >
TCP:         th_seq=3816961831, th_ack=683658313
TCP:         th_off=5, flags<ACK>
TCP:         th_win=65535, th_sum=a06f, th_urp=0

Packet Number 14037
ETH: ====( 60 bytes transmitted on interface en2 )==== 20:07:00.580337749
ETH:    [ 00:11:25:bd:3c:1b -> 00:00:5e:00:01:20 ]  type 800  (IP)
IP:          < SRC =    172.18.32.78 >  (market)
IP:          < DST =     10.195.0.68 >  
IP:          ip_v=4, ip_hl=20, ip_tos=0, ip_len=40, ip_id=25950, ip_off=0 DF
IP:          ip_ttl=60, ip_sum=20b, ip_p = 6 (TCP)
TCP:         <source port=80(http), destination port=10235 >
TCP:         th_seq=3816961831, th_ack=683658313
TCP:         th_off=5, flags<FIN | ACK>
TCP:         th_win=65535, th_sum=a06e, th_urp=0

Packet Number 14038
ETH: ====( 60 bytes received on interface en2 )==== 20:07:00.580728020
ETH:    [ 00:e0:fc:3d:45:83 -> 00:11:25:bd:3c:1b ]  type 800  (IP)
IP:          < SRC =     10.195.0.68 >  
IP:          < DST =    172.18.32.78 >  (market)
IP:          ip_v=4, ip_hl=20, ip_tos=0, ip_len=40, ip_id=1285, ip_off=0
IP:          ip_ttl=62, ip_sum=a064, ip_p = 6 (TCP)
TCP:         <source port=10235, destination port=80(http) >
TCP:         th_seq=683658313, th_ack=3816961832
TCP:         th_off=5, flags<ACK>
TCP:         th_win=1400, th_sum=9af6, th_urp=0

Packet Number 14039
ETH: ====( 60 bytes received on interface en2 )==== 20:07:00.580828012
ETH:    [ 00:e0:fc:3d:45:83 -> 00:11:25:bd:3c:1b ]  type 800  (IP)
IP:          < SRC =     10.195.0.68 >  
IP:          < DST =    172.18.32.78 >  (market)
IP:          ip_v=4, ip_hl=20, ip_tos=0, ip_len=40, ip_id=1286, ip_off=0
IP:          ip_ttl=62, ip_sum=a063, ip_p = 6 (TCP)
TCP:         <source port=10235, destination port=80(http) >
TCP:         th_seq=683658313, th_ack=0
TCP:         th_off=5, flags<RST>
TCP:         th_win=1400, th_sum=b5ad, th_urp=0

目前比較疑惑的地方
1、為什么3步握手時發(fā)送SYN標(biāo)志的客戶端10.195.0.68MAC地址與
服務(wù)器172.18.32.78返回SYN+ACK的包對應(yīng)的MAC地址不是一樣
使用lscfg -vl 看服務(wù)器網(wǎng)卡MAC為001125BD3C1B
網(wǎng)關(guān)171.18.32.1 MAC使用arp -a查看為
? (172.18.32.1) at 0:0:5e:0:1:20 [ethernet] stored in bucket 102
? (172.18.32.2) at 0:e0:fc:3d:45:83 [ethernet] stored in bucket 103
返回SYN+ACK的MAC地址對應(yīng)的IP地址卻為172.18.32.2
2、為什么3步握手還未結(jié)束,客戶端10.195.0.68馬上發(fā)送FIN+SYN的包

請大家?guī)兔﹃P(guān)注!

論壇徽章:
0
4 [報告]
發(fā)表于 2006-08-22 22:16 |只看該作者
.... 看了一下  你的tcp 回報走的不是同一個線路

來的是00:e0:fc:3d:45:83 -> 00:11:25:bd:3c:1b
00:11:25:bd:3c:1b -> 00:00:5e:00:01:20

ip 占會選擇一條比較好的路由走。 看來這條路又不好。

你嘗試調(diào)整一下路由呢?
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP