We have two machines A and B, they can successfully ping each other, but when running iperf on a client-server mode, if A is in server mode and B is in client mode, B would directly show: connect failed: No route to host
. But if A and B swap their roles, everything works perfectly fine. A and B can also ssh to each other successfully. The firewalls on both machines have been disabled and there is no package filtering. What might be the issue and how can I solve it?
Asked
Active
Viewed 2,622 times
0

Kongzhang Hao
- 1
- 1
- 1
-
Are they on the same subnet / vlan, what is your network setup ? – on8tom Jun 04 '20 at 13:21
-
1I know this is an old thread but did you ever solve this? I am having exactly the same issue, ssh works both ways, ping works both ways, but I can't connect with anything else from B -> A, but A -> B works fine. – Jachdich Aug 19 '22 at 14:31
1 Answers
0
Probably turn off the firewall, or allow the ports being used by iperf to go through the firewall. Sometimes the firewall will block iperf.

BillG
- 1