Regela Posted June 11, 2023 Share Posted June 11, 2023 System Information: https://paste.armbian.com/mozehisomu When i am trying to setup many vlan interfacces i have whis dmesg message: rk_gmac-dwmac fe1c0000.ethernet eth0: MAC_VLAN_Tag_Filter full (size: 4) interface info: ethtool -i eth0 driver: st_gmac version: Jan_2016 firmware-version: expansion-rom-version: bus-info: supports-statistics: yes supports-test: no supports-eeprom-access: no supports-register-dump: yes supports-priv-flags: no I need about 20-30 vlan interfaces 0 Quote Link to comment Share on other sites More sharing options...
dpsweigart Posted April 20 Share Posted April 20 I don’t suppose you ever found a workaround for this? Do we know if this is a driver or hardware issue? 0 Quote Link to comment Share on other sites More sharing options...
stihlee_dan Posted June 10 Share Posted June 10 I ran into the same issue. Trying to get PiMox setup on some OrangePi's and found that the OrangePi 5 only supports 4 vlans. I believe I got a workaround working however. Executing CLI commands (haven't had time to test with /etc/network/interfaces or netplan) for 5 bridges (plus br0). My thought process was to build separate vlans on the bridge and not vlan interfaces off of eth0. I'm sure this can be improved upon. #Build bridges ip link add name br0 address aa:ab:c0:26:f7:f0 up type bridge vlan_filtering 0 vlan_default_pvid 0 ip link add name br1 address aa:ab:c0:26:f7:01 up type bridge vlan_filtering 0 vlan_default_pvid 0 ip link add name br2 address aa:ab:c0:26:f7:02 up type bridge vlan_filtering 0 vlan_default_pvid 0 ip link add name br3 address aa:ab:c0:26:f7:03 up type bridge vlan_filtering 0 vlan_default_pvid 0 ip link add name br4 address aa:ab:c0:26:f7:04 up type bridge vlan_filtering 0 vlan_default_pvid 0 ip link add name br5 address aa:ab:c0:26:f7:05 up type bridge vlan_filtering 0 vlan_default_pvid 0 #Set uplink for br0 ip link set dev eth0 up master br0 # Add vlan to bridges bridge vlan add vid 2-250 dev br0 self bridge vlan add vid 1 dev br1 self bridge vlan add vid 2 dev br2 self bridge vlan add vid 3 dev br3 self bridge vlan add vid 4 dev br4 self bridge vlan add vid 5 dev br5 self # Create sub-interfaces for each vlan and assign IP for bridges. ip link add link br0 name br0.1 up type vlan id 1 ip addr add 192.168.101.2/24 dev br1 ip link add link br0 name br0.2 up type vlan id 2 ip addr add 192.168.102.2/24 dev br2 ip link add link br0 name br0.3 up type vlan id 3 ip addr add 192.168.103.2/24 dev br3 ip link add link br0 name br0.4 up type vlan id 4 ip addr add 192.168.104.2/24 dev br4 ip link add link br0 name br0.5 up type vlan id 5 ip addr ad 192.168.105.2/24 dev br5 # Set uplinks for bridges ip link set dev br0.1 up master br1 ip link set dev br0.2 up master br2 ip link set dev br0.3 up master br3 ip link set dev br0.4 up master br4 ip link set dev br0.5 up master br5 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.