I want to know if we can establish two session with the same client ip:port combo to different server ip:port combo in linux.
ie., 100.1.1.1:10001 —> 200.1.1.1:22
100.1.1.1:10001 —> 200.1.1.1:20001/ 200.1.1.2:20001
I tried to establish initially a ssh session (first session) and tried to use that Client port to initiate a iperf traffic to different server (second session) but looks like linux kernel does not allow it. it says address already in use.
is there a way to get this to work in linux?
I went through quite a bit of suggestions provided by just going with the google search result but nothing seemed to help me with this?
I want to try with some real time apps rather than simulated environment.
can someone kindly help me ?
Thanks