Re: bridge new vlan and iftagged "none"

From: Ronald Klop <ronald-lists_at_klop.ws>
Date: Thu, 04 Sep 2025 11:22:49 UTC
Op 04-09-2025 om 12:52 schreef Lexi Winter:
> hi Roland,
> 
> Ronald Klop:
>>         member: epair4a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
>>                 port 15 priority 128 path cost 2000 vlan protocol 802.1q
> 
> based on this configuration, epair4a should neither accept nor send any
> traffic.


When I saw my mail again I realized that I copy-pasted the bridge config with VLANFILTER enabled. That didn't match with the case I wrote about.
So with VLANFILTER enabled epair4a didn't receive/send any traffic as expected. But genet0 didn't receive anything either so little happened on the machine. :-)

With VLANFILTER disabled epair4a did receive traffic and also broadcasts on vlan 3. I don't know if this is expected.

Interestingly, with VLANFILTER disabled the "untagged 3" interfaces also saw broadcast traffic which was not destined for vlan 3.

>> epair4a still receives all traffic, so also traffic for vlan 3.
> 
> however, it seems like there's an issue filtering outgoing traffic from
> the host itself.  could you please try the attached patch and see if it
> makes any difference?

With the story above is the patch still needed? I will test anyway to see what happens. It is a RPI4, so compiling is a bit slow.

Regards,
Ronald.