Some useful ways to measure network performance for all kinds of reasons.
Connectivity
ping— does what it says on the tin.- Make sure the target responds to ICMP requests. If these are firewalled off, you may think you can’t reach a target but actually can.
traceroute— see where along the pipeline a connection to a target is dropped. Can be finnicky.
Performance
iperf— server/client speed test and bandwidth measurement- Server side:
sudo iperf3 -s -p <port>- Ensure port is open on the firewall
- Client side:
sudo iperf3 -c example.com
- Server side: