A new dual 10G router based on Filogic 880 (Banana Pi BPi-R4)

I recently purchased the BPI-R4 bundle from Amazon (Labor Day sale).

I am contemplating installing two SFP-RJ45 1G Ethernet adapters in the SFP ports essentially to get a total of 6 X 1Gbps ports like the link below:

I would sincerely appreciate guidance from those who have installed such a device and what brand/model have you used. Thank you.

Umm...have you considered a cheap secondhand managed switch instead? One with a 10G SPF port for a DAC cable. The power consumption could be way higher than BPI-R4 though.

Why don't you link up with a switch instead?

Any update on this situation?

Is anybody successfully using the board with a mPCIe 4G or 5G card? If yes, which card and with mbim or qmi? My plans would be to install SierraWireless MC7455.

Im using Fibicom fm350 , it seems stable enough via usb mode to replace my ISP 5G modem..

2 Likes

Which packages did you install (other than those mentioned in OpenWrt wiki)? Did everything go smoothly or did you need to tweak things?

I tried using the FM350 through PCIe (mbim), but I experienced random reboots. However, when I disabled PCIe for the M.2 modem port and switched to USB, everything worked smoothly.

1 Like

@spot0 and @fakemanhk thanks for your suggestions. I do not want to use another uplink switch. I want to increase the number of Ethernet ports on the BPI-R4 to use it like a router device in my lab. Each Ethernet port as the gateway for separate ipv4 LANs.

I am looking for a 1 Gbps SPF/RJ45 adapter, compatible with the BPI-R4, to increase the number of Ethernet ports in my BPI-R4 box. I want to use the BPI-R4 like a router device in my lab. Each Ethernet port as the gateway for separate ipv4 LANs.

Besides this SFP/RJ45 module listed on the Banana PI R4 site:

https://wiki.banana-pi.org/Getting_Started_with_BPI-R4#1.EF.BC.8910G_SFP_Module

AliExpress is the only place where it is available @ about USD 40/each

Besides the above are there any other SPF/RJ45 adapters that work out of the box in BPI-R4? Please reply with brand/model. Thanks.

i need to edit dts to enable usb mode for this card..got random reboots on pcie mode.

1 Like

I have a problem with a lot of UDP forward packets being lost.
It doesn't seem to be a hw offload issue, as it's not high traffic and I have hw offload turned off (same issue with it enabled).

It doesn't happen on x86, only on BPI-R4.

The snapshot version is OpenWrt SNAPSHOT r27075-d8f64fe168, around August.

c:\programs> iperf3 -c 192.168.0.11 -u  -R -b 25M
Connecting to host 192.168.0.11, port 5201
Reverse mode, remote host 192.168.0.11 is sending
[  5] local 192.168.0.196 port 49821 connected to 192.168.0.11 port 5201
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-1.01   sec  2.99 MBytes  24.9 Mbits/sec  0.625 ms  0/2145 (0%)
[  5]   1.01-2.02   sec  2.97 MBytes  24.6 Mbits/sec  0.722 ms  0/2135 (0%)
[  5]   2.02-3.01   sec  3.01 MBytes  25.6 Mbits/sec  0.061 ms  1/2164 (0.046%)
[  5]   3.01-4.00   sec  2.97 MBytes  25.0 Mbits/sec  0.154 ms  0/2133 (0%)
[  5]   4.00-5.00   sec  2.97 MBytes  25.0 Mbits/sec  0.186 ms  0/2136 (0%)
[  5]   5.00-6.00   sec  2.97 MBytes  25.0 Mbits/sec  0.288 ms  0/2135 (0%)
[  5]   6.00-7.00   sec  2.99 MBytes  25.1 Mbits/sec  0.227 ms  0/2148 (0%)
[  5]   7.00-8.00   sec  2.97 MBytes  25.0 Mbits/sec  0.178 ms  0/2134 (0%)
[  5]   8.00-9.02   sec  3.03 MBytes  25.0 Mbits/sec  0.198 ms  0/2173 (0%)
[  5]   9.02-10.01  sec  2.97 MBytes  25.0 Mbits/sec  0.223 ms  0/2136 (0%)
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-10.02  sec  29.9 MBytes  25.0 Mbits/sec  0.000 ms  0/21439 (0%)  sender
[  5]   0.00-10.01  sec  29.8 MBytes  25.0 Mbits/sec  0.223 ms  1/21439 (0.0047%)  receiver

iperf Done.

c:\programs> iperf3 -c 192.168.0.11 -u  -b 25M
Connecting to host 192.168.0.11, port 5201
[  5] local 192.168.0.196 port 50438 connected to 192.168.0.11 port 5201
[ ID] Interval           Transfer     Bitrate         Total Datagrams
[  5]   0.00-1.01   sec  2.97 MBytes  24.7 Mbits/sec  2135
[  5]   1.01-2.01   sec  2.99 MBytes  25.0 Mbits/sec  2145
[  5]   2.01-3.01   sec  2.96 MBytes  25.0 Mbits/sec  2127
[  5]   3.01-4.01   sec  2.98 MBytes  25.0 Mbits/sec  2141
[  5]   4.01-5.01   sec  2.99 MBytes  25.0 Mbits/sec  2148
[  5]   5.01-6.00   sec  2.95 MBytes  25.0 Mbits/sec  2121
[  5]   6.00-7.01   sec  3.00 MBytes  25.0 Mbits/sec  2152
[  5]   7.01-8.01   sec  3.00 MBytes  25.0 Mbits/sec  2154
[  5]   8.01-9.00   sec  2.95 MBytes  25.0 Mbits/sec  2121
[  5]   9.00-10.01  sec  3.00 MBytes  25.0 Mbits/sec  2154
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-10.01  sec  29.8 MBytes  25.0 Mbits/sec  0.000 ms  0/21398 (0%)  sender
[  5]   0.00-10.03  sec  29.8 MBytes  24.9 Mbits/sec  0.051 ms  0/21398 (0%)  receiver

iperf Done.

c:\programs> iperf3 -c speedtest.uztelecom.uz -u -p 5206 -R -b 10M
Connecting to host speedtest.uztelecom.uz, port 5206
Reverse mode, remote host speedtest.uztelecom.uz is sending
[  5] local 192.168.0.196 port 55865 connected to 195.69.189.215 port 5206
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-1.01   sec   867 KBytes  7.05 Mbits/sec  0.063 ms  245/853 (29%)
[  5]   1.01-2.01   sec   814 KBytes  6.64 Mbits/sec  0.063 ms  286/857 (33%)
[  5]   2.01-3.01   sec   880 KBytes  7.18 Mbits/sec  0.037 ms  240/857 (28%)
[  5]   3.01-4.01   sec   897 KBytes  7.41 Mbits/sec  0.115 ms  226/855 (26%)
[  5]   4.01-5.00   sec   764 KBytes  6.28 Mbits/sec  0.132 ms  313/849 (37%)
[  5]   5.00-6.01   sec   831 KBytes  6.77 Mbits/sec  0.125 ms  278/861 (32%)
[  5]   6.01-7.01   sec   960 KBytes  7.83 Mbits/sec  0.034 ms  190/863 (22%)
[  5]   7.01-8.00   sec   808 KBytes  6.68 Mbits/sec  0.113 ms  285/852 (33%)
[  5]   8.00-9.00   sec   806 KBytes  6.61 Mbits/sec  0.171 ms  283/848 (33%)
[  5]   9.00-10.01  sec   753 KBytes  6.11 Mbits/sec  0.118 ms  323/851 (38%)
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-10.01  sec  12.2 MBytes  10.2 Mbits/sec  0.000 ms  0/0 (0%)  sender
[  5]   0.00-10.01  sec  8.18 MBytes  6.86 Mbits/sec  0.118 ms  2669/8546 (31%)  receiver

iperf Done.

c:\programs> iperf3 -c speedtest.uztelecom.uz -u -p 5206 -b 10M
Connecting to host speedtest.uztelecom.uz, port 5206
[  5] local 192.168.0.196 port 65129 connected to 195.69.189.215 port 5206
[ ID] Interval           Transfer     Bitrate         Total Datagrams
[  5]   0.00-1.00   sec  1.18 MBytes  9.86 Mbits/sec  844
[  5]   1.00-2.01   sec  1.20 MBytes  9.99 Mbits/sec  861
[  5]   2.01-3.01   sec  1.20 MBytes  10.0 Mbits/sec  862
[  5]   3.01-4.00   sec  1.18 MBytes  9.99 Mbits/sec  849
[  5]   4.00-5.01   sec  1.20 MBytes  10.0 Mbits/sec  862
[  5]   5.01-6.01   sec  1.20 MBytes  10.0 Mbits/sec  859
[  5]   6.01-7.00   sec  1.18 MBytes  10.0 Mbits/sec  847
[  5]   7.00-8.01   sec  1.20 MBytes  10.0 Mbits/sec  864
[  5]   8.01-9.01   sec  1.19 MBytes  10.0 Mbits/sec  853
[  5]   9.01-10.00  sec  1.18 MBytes  9.99 Mbits/sec  849
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-10.00  sec  11.9 MBytes  9.98 Mbits/sec  0.000 ms  0/8550 (0%)  sender
[  5]   0.00-10.00  sec  11.9 MBytes  9.98 Mbits/sec  0.066 ms  0/8550 (0%)  receiver

iperf Done.

I'm using a generic 2.5GBase-T SFP+ transceiver which works fine at 2.5 Gbps: https://www.amazon.com/dp/B0BBVLLVSR

I would avoid 10GBase-T if you don't need 10 Gbps as the transceivers tend to run hot.

1 Like

OK, so I went via MBIM and the standard instructions and all went fine for the MC7455 and a O2 Germany SIM card (SIM slot #2).

1 Like

check flow control settings on x86 and then compare on bpi-r4.
you did not indicate if the test are conducted on 1gbps copper ports or sfp+ ports on the bpi-r4.

The test result is a 1Gbps port. However, the problem was the same in an environment of SFP+(10G)---SW---1G.

Try with own iperf server setup on wan side, plug in directly to eth2 or wan or via switch. Will it still occur?

then i don't think it's flow control related then.
udp has been acting weird lately on bpi-r4 in the last few months for me. so much so that I have stopped using it as a test router all together. going to test it with mtk mp4.0 sdk in the next few days. hopefully for the better.

for kicks, i tested your speedtest server and no problems. Test is not done through bpi-r4

XXXXX ~ % iperf3 -c speedtest.uztelecom.uz -u -p 5206 -R -b 50M
Connecting to host speedtest.uztelecom.uz, port 5206
Reverse mode, remote host speedtest.uztelecom.uz is sending
[  7] local xx.xx.xx.xx port 50484 connected to 195.69.189.215 port 5206
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  7]   0.00-1.01   sec  6.00 MBytes  50.1 Mbits/sec  0.010 ms  0/4343 (0%)  
[  7]   1.01-2.01   sec  5.96 MBytes  50.0 Mbits/sec  0.033 ms  0/4316 (0%)  
[  7]   2.01-3.01   sec  5.96 MBytes  50.0 Mbits/sec  0.008 ms  0/4316 (0%)  
[  7]   3.01-4.01   sec  5.96 MBytes  50.0 Mbits/sec  0.014 ms  0/4316 (0%)  
[  7]   4.01-5.01   sec  5.96 MBytes  50.0 Mbits/sec  0.009 ms  0/4317 (0%)  
[  7]   5.01-6.01   sec  5.96 MBytes  50.0 Mbits/sec  0.015 ms  0/4317 (0%)  
[  7]   6.01-7.00   sec  5.68 MBytes  47.9 Mbits/sec  0.025 ms  0/4114 (0%)  
[  7]   7.00-8.00   sec  5.86 MBytes  49.1 Mbits/sec  0.011 ms  0/4245 (0%)  
[  7]   8.00-9.01   sec  6.34 MBytes  53.0 Mbits/sec  0.046 ms  0/4588 (0%)  
[  7]   9.01-10.01  sec  5.96 MBytes  50.0 Mbits/sec  0.009 ms  0/4317 (0%)  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  7]   0.00-10.01  sec  60.2 MBytes  50.5 Mbits/sec  0.000 ms  0/0 (0%)  sender
[  7]   0.00-10.01  sec  59.6 MBytes  50.0 Mbits/sec  0.009 ms  0/43189 (0%)  receiver

iperf Done.
1 Like

For wired network support in mainline openwrt for mt7988, there are still some useful features not ready:

  1. RSS and LRO support, frank is working on it
  2. Hardware qos implementation, currently nobody is working on it, vendor implementation here
  1. Crypto accelerator eip197(vendor implementation sets it to offload IPsec but it can be also configured as a generic crypto offloader)
  2. IPv6 NAT hardware offload support

Hello! I'm new here and am excited to play around with my BPI-R4 which just arrived.

Has there been any progress on these features? Where can I look to track them and find new updates for this board?

Thank you!

Hi, @kvic : Are these patches you've shared still up-to-date, or have you added/removed any other patches? I've followed many of your posts (including your strategy for setting up OpenWRT on "large" devices) and it seems that your usecase is similar to mine, so I'm attempting to mimic much of what you've already accomplished.

Thank you for sharing.

2 Likes