Interview Prep/Linux/Networking, SSH and remote access

You need to measure real network throughput between two data centre servers before a migration. How?

BeginnerScenarioNetworking, SSH and remote access
Answer

Situation read → Measure bandwidth, latency and loss.

What I'd do →

# on server B
iperf3 -s
# on server A
iperf3 -c serverB -t 30 -P 4
iperf3 -c serverB -u -b 500M        # UDP, shows loss and jitter
mtr -rwc 100 serverB

Why → -P 4 uses parallel streams, which shows what the link can do when one TCP stream is limited by latency.

Interview tip → Mention the bandwidth-delay product; high-latency links need bigger TCP windows.

All Linux questions Roadmap: Linux

More on Networking, SSH and remote access