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
On Oct 26, 2017 19:33, <Viraj.Raiyani@xxxxxxxx> wrote:
Thank you for the reply.
Viraj
________________________________________
From: Toshiaki Makita <makita.toshiaki@xxxxxxxxxxxxx>
Sent: Thursday, October 26, 2017 4:13 AM
To: Raiyani, Viraj; bridge@lists.linux-foundation.org
Subject: Re: Linux Bridge Static FDB move
On 2017/10/26 1:47, Viraj.Raiyani@xxxxxxxx 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.
>
>
> 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