2 Gbps WAN/LAN NAT Routing on ramips MT7621 devices

I would have thought the switch would be switching between the ports even if two ports were configured to different CPU ports.

that's just it tho wan is no longer part of the switch

According to the top of this thread you will get 1Gbps total, so up to 1Gbps up, or 1Gbps down, or something in between if you do both at the same time. The actual split will depend on your usage pattern but is likely to be fine as long as the total speed of your upstream wan link (up+down) is less than 1Gbps.

1 Like

I can confirm this works, the diff patch left another &ethernet intact so I had to remove it too.

OpenWrt 22.03.3 iperf3 bidirectional - PC (WAN server) <-> PC (LAN client):

Without patch + hw offloading:

[ ID][Role] Interval           Transfer     Bitrate
[  5][RX-S]   0.00-20.01  sec  1.17 GBytes   501 Mbits/sec                  receiver
[  8][TX-S]   0.00-20.01  sec  1.02 GBytes   438 Mbits/sec                  sender

With patch + hw offloading:

[ ID][Role] Interval           Transfer     Bitrate
[  5][RX-S]   0.00-20.01  sec  2.19 GBytes   940 Mbits/sec                  receiver
[  8][TX-S]   0.00-20.01  sec  1.45 GBytes   623 Mbits/sec                  sender
3 Likes

This was addressed on master. My diff was intended for master so that's why you had to remove that on 22.03. Good to see it's working fine.

1 Like

h/w: TP-Link Archer C6 v3
s/w: OpenWrt 22.03.3 (r20028-43d71ad93e)

Can't make work the switch setup for VLAN in the Bridge VLAN tab of default br-lan as per the screenshot, no matter what I do, once I press save & apply can't connect to Luci. Tried different VLAN id's: 1, 101, etc.

But a separate soft VLAN device like lan4.1 works.

Am I doing something wrong?