banana pi BPI-R1 A20 dual core open source smart r
  • Initial page
  • LANGS
  • About Banana pi BPI-R1
    • BPI-R1 hardware spec
    • First Chapter
    • Summary
    • BPI-R1 DC Power interface
    • Armbian Linux
    • Compulsive modification of HDMI output resolution
    • BPI-R1 Audio
    • BPI-R1 quick start
    • BPI-R1 CAN Bus
    • BPI-R1 Linux software
    • David Bentham / openwrt-bpi-r1-prebuilt
    • BPI-R1 schematic diagram
    • BPI-R1 HDMI interfact
    • BPI-R1 android software
    • How to build OpenWRT image from github
    • Linux mainline kernel
    • BPI-R1 3.7V lithium battery interface
    • BPI-R1 RGB DSI interface
    • BPI-R1 wifi antenna slot
    • BPI-R1 CE,FCC RoHS Certification
    • BPI-R1 Audio
    • BPI-R1 IR interface
    • BPI-R1 Software
    • bananianlinux
    • WiringPi python
    • NetBSD/evbarm on Allwinner Technology SoCs
    • BPI-R1 OpenWRT
    • BPI-R1 MIC
    • BPI-R1 WiringPi
    • BPI-R1 5 GbE Ethernet ports
    • linux-sunxi wiki
    • BPI-R1 WIFI interface
    • Lamobo Openwrt image
    • BPI-R1 Camera interface
    • BPI-R1 SD card slot
    • BPI-R1 hardware interface
    • Manual for HW setup and basic router functionalities
    • Reference documents
    • Allwinner chip documents
    • linuxkernel34bspimage
    • BPI-R1 WiringPi
    • BPI-R1 SATA interface
    • BPI-R1 Camera interface
    • Linux mainlining effort
    • Pi4J Project
    • BPI-R1 OTG interface
    • BPI-R1 GPIO Pin define
    • Asterisk on BPI-R1
    • Officeal OpenWRT
    • BPI-R1 USB interface
  • About Banana pi BPI-R1
    • Pi4J Project
    • Linux mainlining effort
    • Asterisk on BPI-R1
    • BPI-R1 android software
    • How to build OpenWRT image from github
    • Officeal OpenWRT
    • BPI-R1 3.7V lithium battery interface
    • Summary
    • Armbian Linux
    • BPI-R1 Audio
    • BPI-R1 CE,FCC RoHS Certification
    • BPI-R1 Software
    • WiringPi python
    • BPI-R1 3D & DXF file
    • BPI-R1 OpenWRT
    • BPI-R1 schematic diagram
    • BPI-R1 HDMI interfact
    • linuxmainlinekernel
    • freebsdnetbsd
    • All banana pi product
    • BPI-R1 Camera interface
    • Lamobo Openwrt image
    • BPI-R1 SD card slot
    • bpi-r1-bpi-r2-board-comparison
    • BPI-R1 RGB DSI interface
    • bpi40customizedserver
    • BPI-R1 wifi antenna slot
    • bananianlinux
    • BPI-R1 IR interface
    • BPI-R1 Audio
    • bpi-r1-openbsd
    • Reference documents
    • NetBSD/evbarm on Allwinner Technology SoCs
    • Allwinner chip documents
    • BPI-R1 WiringPi
    • BPI-R1 MIC
    • BPI-R1 5 GbE Ethernet ports
    • BPI-R1 WiringPi
    • BPI-R1 OTG interface
    • linux-sunxi wiki
    • BPI-R1 GPIO Pin define
    • BPI-R1 WIFI interface
    • BPI-R1 USB interface
    • BPI-R1 hardware interface
    • BPI-R1 DC Power interface
    • BPI-R1 hardware spec
    • First Chapter
    • Manual for HW setup and basic router functionalities
    • Compulsive modification of HDMI output resolution
    • linuxkernel34bspimage
    • BPI-R1 quick start
    • BPI-R1 Camera interface
    • BPI-R1 SATA interface
    • BPI-R1 Linux software
    • BPI-R1 CAN Bus
    • David Bentham / openwrt-bpi-r1-prebuilt
  • Getting Started with R1 - Banana Pi Wiki
Powered by GitBook
On this page

Was this helpful?

  1. About Banana pi BPI-R1

BPI-R1 5 GbE Ethernet ports

On the BPI-R1 the BCM53125 (a simple switch IC that features two RGMII GbE host ports and 5 GbE PHYs and can be configured through MDIO to separate traffic through VLANs) interconnects by default all 5 Ethernet ports and the A20 SoC. This means we can not speak about a true WAN port and LAN ports since all the ports are connected at network layer 2 by default. Since the A20 SoC features only one single RGMII interface no other mode of operation is possible.

This might raise serious security risks since while the device boots or when it is in bricked state or booted without SD card or when VLAN configuration hasn't been setup correctly or a simple bug exists in the b53 driver then the BCM53125 always acts as a primitive layer 2 switch forwarding Ethernet frames between all external Ethernet ports (not differentiating between the so called WAN port and the 4 LAN ports). This is nothing one would expect from a device advertised as routerboard.

If one tries to use the BPI-R1 as a (NAT) router without a separate firewall between WAN and the BPI-R1 then it depends largely on the ISP's infrastructure whether this is not that good or an absolute no-go from a security point of view since all sorts of attacks against devices behind the so called LAN ports can be triggered from behind the WAN port. In case you're not sure what that means you should simply treat the WAN port as another LAN port and use a separate USB to Ethernet adapter to be connected to WAN. Only in this mode the BPI-R1 might reliably work as a router.

PreviousBPI-R1 WiringPiNextlinux-sunxi wiki

Last updated 5 years ago

Was this helpful?