# INSTALL IPERF3
### EN LINUX
```
apt update
apt install iperf3
iperf3
```
### EN WINDOWS
Entrar en https://iperf.fr/iperf-download.php y descargar a versión adecuada, en este caso Windows 64 bits y la última versión iPerf 3.1.3:

Una vez descargado hay que descomprimirlo e ir al CMD:

En el CMD hay que ir al directorio donde esté la descarga:

Por último entrar en el directorio descargado e introducir el nombre iperf3.exe, con esto saldrán todas las opciones posibles:

### EJEMPLOS:
**Server:**
```
iperf -s / iperf3 -s Start server on the default port
iperf -s -w 32M -D / iperf3 -s -D Start server with larger TCP window, and in daemon mode
iperf -i1 -u -s -p 5003 / iperf3 -s -p 5003 Start UDP server on port 5003, and give 1 sec interval reports. Note that for iperf3 the -u option is passed to the server from the client.
```
**Client:**
```
iperf/iperf3 -c remotehost -i 1 -t 30 Run a 30 second tests, giving results every 1 second
iperf/iperf3 -c remotehost -i 1 -t 20 -r Run a test from remotehost to localhost
iperf/iperf3 -c remotehost -i 1 -t 20 -w 32M -P 4 Run a test with 4 parallel streams, and with a 32M TCP buffer
iperf/iperf3 -c remotehost -u -i 1 -b 200M Run a 200 Mbps UDP test
```