After you install OpenWRT on your Router you should do a Network Address Translation Benchmark to know how well it performs address translation of network packets between your local network (LAN) to your internet service provider (WAN).
It is important to know the performance of the router in order to maximise the subscription you are paying to your internet service provider for the bandwidth allocated.
In order to make full use of the bandwidth you are paying for, the router has to be able to process network packets at rates that exceed the bandwidth of the subscription you are paying for.
You should not take benchmarks found online as a reference because it is now using OpenWRT iptables (Masquerade) to perform translation of ip address of network packets instead of the factory firmware network stack implementation.
For a graphical approach to testing you can follow the methods to utilise jperf to benchmark Network Address Translation performance as described below:
On the Client Computer using Web Browser,Telnet or SSH get to the Router Configuration Page at IP Address 192.168.1.1 and set the network settings on the Router WAN Interface to
Click Save and Apply.
On the Server use its own network configuration tool to set the network settings to
Click Save and Apply.
By this step your client should be able to ping the server successfully by the command:
ping 10.1.1.2You should get a series of ping echo response if not recheck your network settings or turn off your firewall on both the Client and the Server. There is no need to change the LAN Settings as by default OpenWRT sets LAN to 192.168.1.0/24 n DHCP Mode.
Extract the compressed files in Jperf to a folder. If you are running Linux you might need to set the execute bit on jperf.sh. Open a Terminal in that directory and run
chmod +x jperf.shIn Windows you run Jperf by double clicking jperf.bat. In UNIX you run Jperf by executing jperf.sh.
You should be able to see the jperf main screen. You need to set the Jperf on the Server to listen first before we can run the Client. For the Server, simply select Server and change the metric to Mbits for easy reference and comparison as shown below. Then click run Iperf to set the Server to listening mode.
For the Client Computer, simply select Client and enter the Server Address 10.1.1.2 and change the metric to Mbits as well.
When you are ready click run Iperf to start the test. After the test ends you should analyse the result on the Server for accuracy instead of the Client since only the network packets that get through matters not the packets generated.
For the above picture it indicates that the Router will be generally sufficiently powerful enough for a < 250Mbps Internet Subscription Plan.
|Note that OpenWRT does Network Address Translation in Software so any activities that taxes the Router's Processor will affect the Network Address Translation performance including accessing the Router Web Server LuCI, Telnet Sessions, SSH Sessions,Samba File Copy etc.|