The best way to really test the performance of the router is to use two computers wired to the router. TCP testing is real-life performance testing of what you'll see when browsing, streaming, downloading, etc. UDP testing will test the overall possible performance of the router for "Unmanaged" packets. UDP testing is only good to 1gbps speeds, above that, it will consume too much cpu & ram; though at the moment I am not aware of any 10gbps routers outside the R9000 and a few other lesser known brands... TCP Vs. UDP
Running iperf on the router as a server or a client is possible, but realize you will be consuming extra cpu & ram resources to run IPERF and you won't get accurate speed results.
This is the setup you want to do for WAN-LAN performance testing:
1. Set the static IP address of PC A(Server) by setting the IP address of PC A to 192.168.2.30, subnet to 255.255.255.0 and Default gateway as 192.168.2.20 <--The router WAN IP. PC A will plug into the WAN PORT.
2. Set the static IP address for WAN port of the Router. Go to the main setup tab and at the top of the screen is WAN connection type, choose static IP. Make the WAN IP 192.168.2.20, subnet 255.255.255.0, and gateway is PC A - 192.168.2.30
3. For PC B (client) make sure DHCP is enabled on the router and it will assign an IP to your PC B/client. Otherwise you can set up an IP manually if you like such as 192.168.2.33, subnet 255.255.255.0.
Now it's time to run iperf on both PC A and PC B so open up command prompts on each device.
4.PC A is the server so run the command "iperf3 -s" without the quote marks.
5. PC B is the client so run the command "iperf3 -c 192.168.2.20 -b 1000M -P 4" without the quote marks. This will run a test at "gig" speed (-b 1000M) and 4 parallel streams (-P 4). This should saturate the connection and accurately measure the TCP throughput WAN to LAN. If you want to run the test in UDP mode add a "-u" to the end of the above initial code.
5A. To reverse the client and server testing path use "-R" after the initial code in step 5. You simply keep add dash commands to the end of the initial code in step 5 to do more/less with iperf.
*You can use the same commands using the two command window method and a single computer, but realize you are not getting real-life test results. _________________ FORUM RULES
Thanks all for the help. I think I have enough info to run iperf.
I'd asked earlier as well but didn't get any guidance.
When I connect my laptop directly to the router via Ethernet, I get 920/920 speed. So do I still need to connect one computer to WAN and another to LAN and speed test OR can I just do the following to test WiFi speed.
telnet to router - iperf3 -s
command window for client - iperf3 -Rc 192.168.1.1
telnet to router - iperf3 -s
command window for client - iperf3 -Rc 192.168.1.1 -P 8