📜 ⬆️ ⬇️

The easiest way to generate traffic on the network interface

There is an iperf program that allows you to check the interface speed (I squeezed out 9.37 Gbit / s on tests from a 10G interface).

The package (in debian and ubunt) is called iperf.

The application is very simple: on one server, run iperf -s XXXX (your own address of the server on which to listen). You can just run iperf -s , then it will listen on all interfaces.
')
On the client side, write iperf -c XXXX (server address from the previous step). The client connects, works 10 seconds and shows the speed of the channel.

Example: the server has the address 192.0.2.1, the client 192.0.2.200. On the server, run iperf -s 192.0.2.1 on the iperf -c 192.0.2.1 .

In order to make a lot of bytes (hello to hosters with ratios) you just need to specify the -t option (time in seconds). Many gigabytes of traffic in the right direction you provided. Taking into account the current tariffs for the house - it is possible even from a home machine, in 3-4 hours you can straighten any ratio with a minimum load both on the server and on the client.

Source: https://habr.com/ru/post/109259/


All Articles