IP server: 10.0.0.1
IP client: 10.0.0.2
2 device connect with each other via ethenet switch
1) IPERF
On Server:
#sudo apt-get install iperf
# iperf -s
On Client
#sudo apt-get install iperf
#iperf -c 10.0.0.1 -i 1 -t 20
See the result on both server and client
2) NETPERF and VNSTAT
On Server, install vnstat
#sudo apt-get install vnstat
Run vnstat to listen network traffic (change limit configuration in /etc/vnstat.conf as your needs)
#vnstat -i <interface> -l
On Client
#sudo apt-get install netperf
Run netperf
#netperf -H 10.0.0.1
(or run multi-process if you want to create a huge traffic
netperf -H 10.0.0.1 &
netperf -H 10.0.0.1 &
netperf -H 10.0.0.1 &
netperf -H 10.0.0.1 &
netperf -H 10.0.0.1
)
No comments:
Post a Comment