HowTo: Ubiquiti EdgeRouter performance testing

Ubiquiti EdgeRouter Lite 3-Port EdgeMAX Router
The EdgeRouter Lite from Ubiquiti promises excellent performance for a great price.
So what performance can you get out of it ?

We tested two things:

1) a typical routed configuration, including NAT, and stateful firewalling.
2) IPSec over a routed connection.

Here are the headline figures: (tests using iperf over TCP, details shown later)

1) 888 Mbits/sec routed

2) 111 Mbits/sec over an IPSec tunnel

A very good result.

This is how we tested:

We loaded a basic config http://community.ubnt.com/t5/EdgeMAX/Basic-SOHO-Home-Config/m-p/398057#M4993

This has LAN on eth0 and WAN on eth2 of the ERL.
The WAN was connected into our gigabit LAN and picked up an IP by DHCP.
The LAN was connected to a laptop.

eg

laptop -> EdegeRouter -> switch -> desktop

We then ran iperf -s on a server on the gigabit LAN, and ran the iperf client on the laptop.

Typical output:

To test IPSec was more complex.
We connected eth1 into a MikroTik cloud core router, using a /30 address range.
We then connected a MikroTik RB1100AHx2 into the cloud core router on another subnet to act as an IPSec endpoint (the RB1100AHx2 has hardware accelerated AES)
The RB1100AHx2 was in turn connected to a server.

eg.
laptop -> EdgeRouter -> CloudCoreRouter -> RB1100AHx2 -> server

192.16.1.10/24 -> EdgeRouter -> IPSec -> RB1100AHx2 -> 192.168.20.10/24

The 192.16.1.10/24 and 192.168.20.10/24 were connected using an IPSec tunnel.

iperf testing:


This is the configuration on the EdgeRouter:

This is the configuration on the RB1100AHx2

We hope you find this useful.

2 Comments

  1. pcunite says:

    Cool, thanks for showing how you did this.

  2. feedmytv says:

    What firmware and did you enable hw acceleration?

Leave a Reply

Powered by sweet Captcha