Hi all,

I am trying to run iperf test among Mininet hosts but I observe that the
client port taken during the test doesn't match to what I had mentioned in
the command line.

*Config: *two hosts h1 (10.0.1.1) and h3 (10.0.3.3) connected through
switches in Mininet

*Test 1:*
Sending a flow from h1 to h3
h3> iperf3 -s -p 7575
h1> iperf3 -c 10.0.3.3 -p 7575 -B 10.0.1.1 --cport 7576
tcpdump shows perfect results. flow from 10.0.1.1:7576 is sent to
10.0.3.3:7575

*Test 2 *(after having run test 1):
Sending flow from h3 to h1 with client port 7576 (Basically for my exp, I
need same port with a given IP for both tests)
h1> iperf3 -s -p 7576
h3> iperf3 -c 10.0.1.1 -p 7576 -B 10.0.3.3 --cport 7575
I want a flow to go from 10.0.3.3:7575 to 10.0.1.1:7576
But, tcpdump shows that some random client port number is being taken.

Is it some issue with iperf or maybe the port is getting reserved in test
1? What could be done if I want to successfully run this test i.e. have
these client port numbers with the IP?

Regards,
Harsh G
_______________________________________________
Iperf-users mailing list
Iperf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iperf-users

Reply via email to