lkml.org 
[lkml]   [2018]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: B53 DSA switch problem on Banana Pi-R1 on Fedora 26
From
Date
Hi,

On 05/22/2018 12:11 PM, Gerhard Wiesinger wrote:
> Hello,
>
> I'm trying to get B53 DSA switch working on the Banana Pi-R1 on Fedora
> 26 to run (I will upgrade to Fedora 27 and Fedora 28 when networking
> works again). Previously the switch was configured with swconfig without
> any problems.
>
> Kernel: 4.16.7-100.fc26.armv7hl
>
> b53_common: found switch: BCM53125, rev 4
>
> I see all interfaces: lan1 to lan4 and wan.
>
> i get the following error messages:
>
> # master and self, same results
>
> bridge vlan add dev lan1 vid 101 pvid untagged self
> RTNETLINK answers: Operation not supported
> bridge vlan add dev lan2 vid 101 pvid untagged self
> RTNETLINK answers: Operation not supported
> bridge vlan add dev lan3 vid 101 pvid untagged self
> RTNETLINK answers: Operation not supported
> bridge vlan add dev lan4 vid 101 pvid untagged self
> RTNETLINK answers: Operation not supported
>
> # No quite sure here regarding CPU interface and VLAN, because this
> changed with some patches, also from dsa.txt
>
> bridge vlan add dev eth0 vid 101 self
> RTNETLINK answers: Operation not supported

That won't work, eth0 is the master DSA device, if you need to create a
VLAN on top it would be with vconfig and/or ip link

>
> Planned network structure will be as with 4.7.x kernels:
>
> br0 <=> eth0.101 <=> eth0 (vlan 101 tagged) <=> lan 1-lan4 (vlan 101
> untagged pvid)
>
> br1 <=> eth0.102 <=> eth0 (vlan 102 tagged) <=> wan (vlan 102 untagged
> pvid)
>
> I think the rest of the config is clear after some research now, but I
> provide details if that one worked well.
>
> If necessary I can provide full commands & logs and further details.
>
> Thank you.
>
> Any ideas?

Do you have CONFIG_BRIDGE_VLAN_FILTERING=y enabled in your kernel?

>
> Ciao,
>
> Gerhard
>
>


--
Florian

\
 
 \ /
  Last update: 2018-05-22 21:16    [W:0.076 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site