Trying to test multi-homed board with iperf


Hi,

I am new to iperf. I have a board with two Ethernet ports, I would like to loop them back with an external cable, and use payloads that
I specify to shake out my communication hardware. I have configured eth0 as 192.168.1.102 and eth1 as 192.168.1.132.
I seem to be able to use iperf to bind the two ports together and then run the default payload. If I introduce the -F qualifier to tell iperf to use my file MyTestPattern.txt, it seems to work. If I add  the -t qualifier to run the test for 60 seconds, it does not appear to affect the duration of the test. That is, the test only runs for 0.3 to 0.4 seconds.

How can I get iperf to run with my payload for an extended time period(e.g. 24 hours)? Is there a size limitation to the payload file?


Thanks

--Gunther

Some console output:


 
Linux 192.168.1.102 2.6.12 #2 Sat May 26 10:18:16 EDT 2007 ppc GNU/Linux
192:/# iperf -s -B 192.168.1.102 &
[1] 892
192:/# ------------------------------------------------------------
Server listening on TCP port 5001
Binding to local address 192.168.1.102
TCP window size: 42.7 KByte (default)
------------------------------------------------------------

192:/# iperf -c 192.168.1.102 -B 192.168.1.132
[  4] local 192.168.1.102 port 5001 connected with 192.168.1.132 port 5001
------------------------------------------------------------
Client connecting to 192.168.1.102, TCP port 5001
Binding to local address 192.168.1.132
TCP window size: 49.1 KByte (default)
------------------------------------------------------------
[  3] local 192.168.1.132 port 5001 connected with 192.168.1.102 port 5001
[  3]  0.0-10.0 sec    116 MBytes  97.4 Mbits/sec
[  4]  0.0-10.0 sec    116 MBytes  97.4 Mbits/sec

 
192:/# iperf -c 192.168.1.102 -B 192.168.1.132 -t 60
[  4] local 192.168.1.102 port 5001 connected with 192.168.1.132 port 5001
------------------------------------------------------------
Client connecting to 192.168.1.102, TCP port 5001
Binding to local address 192.168.1.132
TCP window size: 49.1 KByte (default)
------------------------------------------------------------
[  3] local 192.168.1.132 port 5001 connected with 192.168.1.102 port 5001
[  3]  0.0-60.0 sec    754 MBytes    105 Mbits/sec
[  4]  0.0-60.0 sec    754 MBytes    105 Mbits/sec


 

192:/# iperf -c 192.168.1.102 -B 192.168.1.132 -t 60 -F MyTestPattern.txt
[  4] local 192.168.1.102 port 5001 connected with 192.168.1.132 port 5001
------------------------------------------------------------
Client connecting to 192.168.1.102, TCP port 5001
Binding to local address 192.168.1.132
TCP window size: 49.1 KByte (default)
------------------------------------------------------------
[  4] local 192.168.1.132 port 5001 connected with 192.168.1.102 port 5001
[  4]  0.0- 0.4 sec    984 KBytes  20.7 Mbits/sec
[  4]  0.0- 0.4 sec    984 KBytes  20.6 Mbits/sec



192:/# iperf -c 192.168.1.102 -B 192.168.1.132 -t 120 -F MyTestPattern.txt
[  4] local 192.168.1.102 port 5001 connected with 192.168.1.132 port 5001
------------------------------------------------------------
Client connecting to 192.168.1.102, TCP port 5001
Binding to local address 192.168.1.132
TCP window size: 49.1 KByte (default)
------------------------------------------------------------
[  4] local 192.168.1.132 port 5001 connected with 192.168.1.102 port 5001
[  4]  0.0- 0.3 sec    984 KBytes  23.9 Mbits/sec
[  4]  0.0- 0.3 sec    984 KBytes  23.2 Mbits/sec
 









Never miss a thing. Make Yahoo your homepage.

Other Mailing lists | Author Index | Date Index | Subject Index | Thread Index