tohojo / flent

The FLExible Network Tester.
https://flent.org
Other
431 stars 77 forks source link

--remote-host doesn't seem to work correctly #222

Closed bkiziuk closed 3 years ago

bkiziuk commented 3 years ago

I'm trying to use flent for running traffic between different hosts (other than the one flent is running). According to what I have read and understand, the following command:

./run-flent --host 192.168.98.5 tcp_2up  --remote-host 0=iperf@192.168.98.42 --remote-host 1=iperf@192.168.98.44 --log-file=log.txt

executed on 192.168.98.43 should:

The actual result is that traffic is sent from 192.168.98.43 to 192.168.98.5. 192.168.98.42 and 44 do not record any traffic on their interfaces. However, if I execute the command:

./run-flent --host 192.168.98.5 tcp_1up  --remote-host 0=iperf@192.168.98.42 --log-file=log.txt

the result is that 192.168.98.42 is sending 1Gbit/s of traffic, 192.168.98.43 is also sending 1Gbit/s traffic and 192.168.98.5 is receiving 1Gbit/s traffic - according to nload tools on every host.

Am I doing any mistake here? I'm using the current master branch. log.zip

tohojo commented 3 years ago

bkiziuk @.***> writes:

I'm trying to use flent for running traffic between different host. According to what I have read and understand, the following command:

./run-flent --host 192.168.98.5 tcp_2up  --remote-host ***@***.*** --remote-host ***@***.*** --log-file=log.txt

The tcp_2up test has a ping flow, and two runners computing average and totals. Those take up indexes 0, 1 and 2, so the actual TCP flows start from 3. You can see this by running the test and looking at the metadata (with flent -f metadata mytestfile.flent.gz) - look for the IDX value in the objects in SERIES_META.

bkiziuk commented 3 years ago

Ok, I can see it now. Many thanks for valuable explanation :-)

tohojo commented 3 years ago

You're welcome! :)