Linux Bridge Static FDB move
Hi Everyone,
Is it possible to program the FDB entry in Linux Bridge which is static, non-local and doesn't move to new interface when the same source MAC packet comes on a different interface in the same bridge ?
I tried programming the MAC as permanent that prevents the moving of MAC to a new interface in the same bridge, however it treats the MAC as local and doesn't do the forwarding ?
Thanks,
Viraj
Quoted 6 lines · On 2017/10/26 1:47, [email protected] wrote:
Hi Everyone,
Is it possible to program the FDB entry in Linux Bridge which is static, non-local and doesn't move to new interface when the same source MAC packet comes on a different interface in the same bridge ?
AFAIK no.
Bridge supports static fdb entries, but br_fdb_update() updates their dst even for static entries.
Quoted 5 lines
I tried programming the MAC as permanent that prevents the moving of MAC to a new interface in the same bridge, however it treats the MAC as local and doesn't do the forwarding ?
Yes, local entries will deliver frames to the bridge device itself.
Signature · 1 line
Toshiaki Makita
Thank you for the reply.
Viraj
________________________________________
From: Toshiaki Makita <[email protected]>
Sent: Thursday, October 26, 2017 4:13 AM
To: Raiyani, Viraj; [email protected]
Subject: Re: [Bridge] Linux Bridge Static FDB move
Quoted 6 lines · On 2017/10/26 1:47, [email protected] wrote:
Hi Everyone,
Is it possible to program the FDB entry in Linux Bridge which is static, non-local and doesn't move to new interface when the same source MAC packet comes on a different interface in the same bridge ?
AFAIK no.
Bridge supports static fdb entries, but br_fdb_update() updates their dst even for static entries.
Quoted 5 lines
I tried programming the MAC as permanent that prevents the moving of MAC to a new interface in the same bridge, however it treats the MAC as local and doesn't do the forwarding ?
Yes, local entries will deliver frames to the bridge device itself.
--
Toshiaki Makita
If you have a moving MAC then you have a network that is flapping, duplicate MAC, or worse a network loop. All of these are signs of a broken L2 network. The bridge can't fix these
Quoted 33 lines · On Oct 26, 2017 19:33, <[email protected]> wrote:
Thank you for the reply.
Viraj
________________________________________
From: Toshiaki Makita <[email protected]>
Sent: Thursday, October 26, 2017 4:13 AM
To: Raiyani, Viraj; [email protected]
Subject: Re: [Bridge] Linux Bridge Static FDB moveQuoted 6 lines · On 2017/10/26 1:47, [email protected] wrote:
Hi Everyone,
Is it possible to program the FDB entry in Linux Bridge which is static, non-local and doesn't move to new interface when the same source MAC packet comes on a different interface in the same bridge ?
AFAIK no.
Bridge supports static fdb entries, butbr_fdb_update()updates their dst even for static entries.Quoted 5 lines
I tried programming the MAC as permanent that prevents the moving of MAC to a new interface in the same bridge, however it treats the MAC as local and doesn't do the forwarding ?
Yes, local entries will deliver frames to the bridge device itself.
--
Toshiaki Makita