force_local_traffic_through_external_ethernet_cable_by_using_ip_namespaces

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revisionBoth sides next revision
force_local_traffic_through_external_ethernet_cable_by_using_ip_namespaces [10.02.2018 10:35] – created Pascal Suterforce_local_traffic_through_external_ethernet_cable_by_using_ip_namespaces [10.02.2018 10:45] Pascal Suter
Line 29: Line 29:
 you should see your full bandwidth being used by the one netcat process in ''iftop'' you should see your full bandwidth being used by the one netcat process in ''iftop''
  
 +or you can run ''iperf'' if thats available to you to stress-test your network card with parallel transfers etc.:  
 +  ip netns exec ns_server iperf -s 
 +and for the client: 
 +  ip netns exec ns_client iperf -c 10.0.0.1 -d -P 20 -t 99999 
 +''-d'' uses bidirectional transfers, ''-P 20'' runs 20 processes in parallel and ''-t 99999'' runs for 99999 seconds
  
  • force_local_traffic_through_external_ethernet_cable_by_using_ip_namespaces.txt
  • Last modified: 10.02.2018 10:47
  • by Pascal Suter