兩port互ping的問題 - Linux

By Skylar Davis
at 2011-08-17T21:37
at 2011-08-17T21:37
Table of Contents
hi 大家好
現在有一台電腦上面有兩個網路孔, 互接, 有設定arp table, 讓他認mac
然後我想要測兩個port的throughput
因為一些原因, 我撐高流量的方式只能用ping
於是我用一個script, 大概是這樣
for 0~30
do
ping -I eth0 -f eth1 -w 0 -Q 0x08 -s 60000 &
ping -I eth1 -f eth0 -w 0 -Q 0x08 -s 60000 &
done
理論上ifconfig的值, 兩個port的TX, RX都應該大幅增加才對(有誤會嗎?)
但是觀察ifconfig的值發現, 結果都是
eth0的RX會動, TX不動, 或RX不動, TX會動
eth1的RX會動, TX不動, 或RX不動, TX會動
是兩個port不能同時互相ping嗎?
謝謝
--
Tags:
Linux
All Comments

By Zanna
at 2011-08-22T17:55
at 2011-08-22T17:55

By Dorothy
at 2011-08-27T16:58
at 2011-08-27T16:58

By Donna
at 2011-08-31T01:12
at 2011-08-31T01:12

By Eartha
at 2011-09-03T16:37
at 2011-09-03T16:37

By Ida
at 2011-09-07T11:57
at 2011-09-07T11:57

By Joe
at 2011-09-08T12:25
at 2011-09-08T12:25

By Xanthe
at 2011-09-12T05:27
at 2011-09-12T05:27
Related Posts
刪除包含某字串的整行

By Delia
at 2011-08-17T13:27
at 2011-08-17T13:27
Dovecot x sendmail

By Yedda
at 2011-08-17T12:17
at 2011-08-17T12:17
當機原因 怎麼查?

By Rebecca
at 2011-08-17T08:47
at 2011-08-17T08:47
用VM安裝完UBUNTU變醜???

By Charlotte
at 2011-08-17T02:27
at 2011-08-17T02:27
判斷文字檔是否出現 "i=0" 字串

By Puput
at 2011-08-16T23:26
at 2011-08-16T23:26