Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iperf --bind has no effect #263

Closed
MPW1412 opened this issue Apr 20, 2015 · 2 comments
Closed

iperf --bind has no effect #263

MPW1412 opened this issue Apr 20, 2015 · 2 comments
Assignees
Labels

Comments

@MPW1412
Copy link

MPW1412 commented Apr 20, 2015

Hello,

situation: Laptop connected to a local network via lan and wlan at the same time. I want to test the wlan speed againt a local computer.

So I run:

iperf3 --bind <ip-of-wlan-interface> -c <destination>

Result is ~917 Mbit/s. The results shows that obviously the lan connection and not the wlan connection was used.

$ iperf3 --version iperf 3.0.7 Linux <removed> 3.18.0-031800rc5-generic #201411162035 SMP Mon Nov 17 01:36:34 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Thanks for reading
MPW

/edit: Just tested against most recent git version, bug is still in the latest git version:

$ ./iperf3 -version iperf 3-CURRENT Linux <removed> 3.18.0-031800rc5-generic #201411162035 SMP Mon Nov 17 01:36:34 UTC 2014 x86_64 Optional features available: CPU affinity setting, IPv6 flow label, TCP congestion algorithm setting, sendfile / zerocopy

@bmah888 bmah888 self-assigned this May 8, 2015
@bmah888
Copy link
Contributor

bmah888 commented May 8, 2015

You have two interfaces onto the same IP subnet? I'm not sure if the Linux IP stack will do what you want in this case. You might need to implement some sort of policy routing to make sure packets go out the right interface.

Alternatively, set it up so that the client can access the server over separate subnets for the wireless and wired networks.

I don't think this problem is unique to iperf3.

@MPW1412
Copy link
Author

MPW1412 commented May 9, 2015

Hm, Welle I guess beeing connected to the same network via Lan and wlan is not so uncommon these days.

I thought there might be a way, to force iperf to use one interface, but if the kernel cant handle that, I need to find another way.

Thanks for your reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants