ubnt@ubnt:~$ show version
Version: v1.9.7+hotfix.3
Build ID: 5013619
Build on: 08/30/17 02:42
Copyright: 2012-2017 Ubiquiti Networks, Inc.
HW model: EdgeRouter Lite 3-Port
Uptime: 00:49:12 up 49 min, 1 user, load average: 0.36, 0.52, 0.29
$ show interfaces
ethernet eth0 {
address 192.168.14.1/24
}
ethernet eth1 {
address 192.168.12.1/24
}
ethernet eth2 {
address 192.168.13.1/24
}
loopback lo {
}
set traffic-control advanced-queue root queue 1 attach-to global
set traffic-control advanced-queue root queue 1 bandwidth 500mbit
❯ iperf -c 192.168.14.5 -i5 -t60
------------------------------------------------------------
Client connecting to 192.168.14.5, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.12.5 port 44160 connected with 192.168.14.5 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 5.0 sec 74.4 MBytes 125 Mbits/sec
[ 3] 5.0-10.0 sec 69.8 MBytes 117 Mbits/sec
[ 3] 10.0-15.0 sec 68.4 MBytes 115 Mbits/sec
[ 3] 15.0-20.0 sec 72.8 MBytes 122 Mbits/sec
[ 3] 20.0-25.0 sec 70.9 MBytes 119 Mbits/sec
[ 3] 25.0-30.0 sec 70.2 MBytes 118 Mbits/sec
[ 3] 30.0-35.0 sec 73.5 MBytes 123 Mbits/sec
[ 3] 35.0-40.0 sec 73.2 MBytes 123 Mbits/sec
[ 3] 40.0-45.0 sec 72.6 MBytes 122 Mbits/sec
[ 3] 45.0-50.0 sec 46.5 MBytes 78.0 Mbits/sec
[ 3] 50.0-55.0 sec 49.2 MBytes 82.6 Mbits/sec
[ 3] 55.0-60.0 sec 54.8 MBytes 91.9 Mbits/sec
[ 3] 0.0-60.1 sec 796 MBytes 111 Mbits/sec
❯ iperf -c 192.168.14.5 -i5 -t60
------------------------------------------------------------
Client connecting to 192.168.14.5, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.13.5 port 36926 connected with 192.168.14.5 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 5.0 sec 79.4 MBytes 133 Mbits/sec
[ 3] 5.0-10.0 sec 72.2 MBytes 121 Mbits/sec
[ 3] 10.0-15.0 sec 68.1 MBytes 114 Mbits/sec
[ 3] 15.0-20.0 sec 71.5 MBytes 120 Mbits/sec
[ 3] 20.0-25.0 sec 72.0 MBytes 121 Mbits/sec
[ 3] 25.0-30.0 sec 69.4 MBytes 116 Mbits/sec
[ 3] 30.0-35.0 sec 72.6 MBytes 122 Mbits/sec
[ 3] 35.0-40.0 sec 70.1 MBytes 118 Mbits/sec
[ 3] 40.0-45.0 sec 72.0 MBytes 121 Mbits/sec
[ 3] 45.0-50.0 sec 94.8 MBytes 159 Mbits/sec
[ 3] 50.0-55.0 sec 92.1 MBytes 155 Mbits/sec
[ 3] 55.0-60.0 sec 93.4 MBytes 157 Mbits/sec
[ 3] 0.0-60.0 sec 928 MBytes 130 Mbits/sec
[ 4] local 192.168.14.5 port 5001 connected with 192.168.12.5 port 44160
[ 5] local 192.168.14.5 port 5001 connected with 192.168.13.5 port 36926
[ 4] 0.0-60.3 sec 796 MBytes 111 Mbits/sec
[ 5] 0.0-60.1 sec 928 MBytes 129 Mbits/sec
❯ mtr 192.168.14.5 -i0.1 -w --report-cycles=120
Start: 2017-10-08T05:16:00+0000
HOST: marlin Loss% Snt Last Avg Best Wrst StDev
1.|-- 192.168.12.1 85.8% 120 0.7 0.4 0.2 1.3 0.3
2.|-- 192.168.14.5 0.0% 120 14.6 11.8 7.4 15.7 1.6
❯ iperf -c 192.168.14.5 -i5 -t60
------------------------------------------------------------
Client connecting to 192.168.14.5, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.13.5 port 36930 connected with 192.168.14.5 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 5.0 sec 137 MBytes 230 Mbits/sec
[ 3] 5.0-10.0 sec 142 MBytes 238 Mbits/sec
[ 3] 10.0-15.0 sec 144 MBytes 242 Mbits/sec
[ 3] 15.0-20.0 sec 145 MBytes 243 Mbits/sec
[ 3] 20.0-25.0 sec 144 MBytes 241 Mbits/sec
[ 3] 25.0-30.0 sec 141 MBytes 237 Mbits/sec
❯ mtr 192.168.14.5 -i0.1 -w --report-cycles=120
Start: 2017-10-08T05:16:53+0000
HOST: marlin Loss% Snt Last Avg Best Wrst StDev
1.|-- 192.168.12.1 85.8% 120 0.3 0.3 0.2 0.3 0.0
2.|-- 192.168.14.5 0.0% 120 0.4 0.4 0.3 0.5 0.0