From: Andrew M <an...@oc...> - 2012-04-17 01:19:01
|
I have two network interfaces in one host: em1 192.168.123.1 em2 192.168.234.1 I'm running: SERVER: [root@scooby ~]# iperf -fm -p 777 -B192.168.123.1 -s ------------------------------------------------------------ Server listening on TCP port 777 Binding to local address 192.168.123.1 TCP window size: 0.08 MByte (default) ------------------------------------------------------------ [ 4] local 192.168.123.1 port 777 connected with 192.168.234.1 port 777 [ ID] Interval Transfer Bandwidth [ 4] 0.0-10.0 sec 24396 MBytes 20444 Mbits/sec [ 5] local 192.168.123.1 port 777 connected with 192.168.234.1 port 777 [ 5] 0.0-10.0 sec 20761 MBytes 17410 Mbits/sec CLIENT: [root@scooby ~]# iperf -p 777 -B192.168.234.1 -c192.168.123.1 ------------------------------------------------------------ Client connecting to 192.168.123.1, TCP port 777 Binding to local address 192.168.234.1 TCP window size: 169 KByte (default) ------------------------------------------------------------ [ 3] local 192.168.234.1 port 777 connected with 192.168.123.1 port 777 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 20.3 GBytes 17.4 Gbits/sec This works even with the cable unplugged so I know it's not using the ports. Some reason why the client isn't initiating the outbound connecting on the port it's binding to? Thanks, Andrew |