> For the complete documentation index, see [llms.txt](https://amobile-solutions.gitbook.io/yocto-developer-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://amobile-solutions.gitbook.io/yocto-developer-guide/test-and-use-the-interface/ethernet.md).

# Ethernet

## Ethernet Performance Tests with iPerf3

### Running a TCP Test for 30 Seconds

To execute a TCP performance test for 30 seconds, use the following command:

```bash
iperf3 -c <IP_ADDRESS_OF_IPERF_SERVER> -t 30
```

### Running a UDP Test for 30 Seconds

To execute a UDP performance test for 30 seconds with 2 parallel streams and unlimited bandwidth, use the following command:

```bash
iperf3 -c <IP_ADDRESS_OF_IPERF_SERVER> -u -t 30 -P 2 -b 0
```

### Setting Up the iPerf3 Client and Server

1. **iPerf3 Client (on Host/Target):**
   * Start the client by running:

     ```bash
     iperf3 -c <IP_ADDRESS_OF_IPERF_SERVER>
     ```
   * Obtain the IP address using:

     ```bash
     ifconfig
     ```
2. **iPerf3 Server (on Target/Host):**
   * Start the server by executing:

     ```bash
     iperf3 -s
     ```

Ensure all necessary network configurations are in place before starting tests.
