Adding VLAN tags to stp traffic

1 view
Skip to first unread message

Emerson Yesupatham

unread,
Sep 14, 2023, 3:16:51 AM9/14/23
to inside...@googlegroups.com
Friends,
I have a router device, which has lan bridge (br0).
br0 has few ports in it, STP is enabled and VLAN filtering is enabled for the bridge and the ports in it.
one of the port (eth1) is configured as Egress Tagged. However the STP packets going in this port(eth1) are untagged. I want those STP packets to be tagged with a VID. The STP is kernel space. 
Any method to tag the STP traffic? ebtables can be used? 
please suggest.
thanks
Emerson

Anil Kumar Pugalia

unread,
Sep 14, 2023, 11:54:13 PM9/14/23
to inside...@googlegroups.com

Are you not able to achieve it using some kind of nft tables & rules?

Regards
Anil
Passion: https://sysplay.in (Playing with Systems)
Emerson Yesupatham wrote on 14/09/23 12:46 pm:
--
You received this message because you are subscribed to the Google Groups "SysPlay's Inside Linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inside_linux...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/inside_linux/CAOcFg3RQ3p75VpsJC0Sh2xMRc4JteMCOeFYE_CrOmXNDxJKDOw%40mail.gmail.com.

Emerson Yesupatham

unread,
Sep 15, 2023, 12:07:56 AM9/15/23
to inside...@googlegroups.com
Thanks Anil . I am not familiar with ebtables yet.
Looks like it should be possible with ebtables rules... 
Not much material in internet either. 
Basically need to push and pop vlan HDR for outgoing and incoming stp traffic respectively.
Since bridge vlan filtering is enabled, i thought the bridge will do the above but it doesn't...

Let me try.. if any material on ebtables please point it.
Thanks
Emerson 

Reply all
Reply to author
Forward
0 new messages