最近把家裡的網路升級到300M/100M,但是跑測速只有150M/100M這樣的數字,原因是路由器的性能不足。[1]

我用的路由器是 #Ubiquiti#EdgerouterX(ER-X),韌體改成 #openwrt 。這台設備如果沒有開啟Hardware flow offloading(所謂的NAT加速)就只能跑到這種速度,但是開啟就無法使用SQM OoS( #Bufferbloat 對策[2]),這會導致在頻寬滿載時其他的設備都無法正常使用外部網路。

因此我拿了之前買的UDOO x86加上一個USB3的網卡測試,即使開啟SQM也能應付,但說不上輕鬆就是,因為有兩個核心接近滿載狀態。可惜因為USB網卡有問題會不定期斷線,還是無法替換ER-X。

只好上淘寶下訂一台NanoPi R5S,雖然目前網路上的測試看來還無法徹底發揮2.5GbE網路的性能,但是要應付我家的網路是綽綽有餘。

[1] https://forum.openwrt.org/t/so-you-have-500mbps-1gbps-fiber-and-need-a-router-read-this-first/90305
[2] https://www.bufferbloat.net

So you have 500Mbps-1Gbps fiber and need a router READ THIS FIRST

It's such a frequently asked question over the last few years that we really need a post we can point people to. So your cable company rolled out 500Mbps or 1Gbps download speeds, or you have 1Gbps symmetric fiber (GPON/EPON) from ATT or Centurylink or Orange or whoever. You realize your old all in one router from 2009 is not up to the task of handling this, but hey by now stuff should be cheap and available that will handle your new fiber connection right? So you want advice about a router for...

OpenWrt Forum

Seems like #ubnt doesn't actively develop their EdgeMax components anymore despite dropping the occasional security fix. I was thinking of flashing #openwrt onto my #edgerouter X if it goes EOL.

Is this a good way to go about it?
I read I'd lose hardware offloading capabilities going with #vyos for example. Not sure if it would even matter for my workloads.

#homelab #edgerouterx #networking

Does anybody know if it's possible to statically assign an #IPv6 address to a PPPoE WAN interface on an #EdgerouterX?

The configuration options I can see only seem to allow autoconf. This does then have 'secondary' and 'eui64' options but the former seems to do nothing and the latter fails with an error about no MAC address.

For the other interfaces I have a /56 correctly set up via pd so no problems there, but the WAN interface IP changes every reboot using autoconf...

#EdgeOS #Ubiquiti

大約半年前我把 #Ubiquiti #EdgeRouterX(erx)的韌體改成 #OpenWrt ,原廠韌體的UI不錯但是很難擴充功能。

上個月我家的網路升級到300M/100M,跑測速發現只能跑150M左右,原因在於開啟 #SQM #QoS ,這個功能只能運作在單核心,而erx的CPU運算能力很弱。關掉QoS之後雖然可以跑到300M,但是CPU負載很高。

erx用的SOC是聯發科 #MT7621 ,可以開啟硬體加速(Hardware offloading),開啟之後即使網路頻寬用滿CPU也毫無壓力,問題是SQM QoS也無法使用。

如果必須要使用SQM的話,可能就要考慮x86 CPU的路由器,如下面連結這台 #R86S
https://www.servethehome.com/the-gowin-r86s-revolution-low-power-2-5gbe-and-10gbe-intel-nvidia/

The R86S Revolution Low Power 2.5GbE and 10GbE Networking

We test the tiny R86S and see why this unit with 3x 2.5GbE, 2x 10GbE, and WiFi 6 will start a revolution in the home lab space

ServeTheHome
Hmmmm. Should I flash the #EdgeRouterX in my drawer with #OpenWRT ? I found the EdgeOS interface pretty hard to work with...