Thanks, Toshiaki. What is the right way to set the default_pvid using the bridge command ? I tried this, which fails.. root@net-3:~# ip link set dev vxlan0 name untagged type vlan id 0 RTNETLINK answers: Operation not supported root@net-3:~# All the interfaces in the bridge are untagged. thanks, Manohar. On Mon, May 22, 2017 at 8:17 PM, Toshiaki Makita <makita.toshiaki@xxxxxxxxxxxxx> wrote: > On 2017/05/21 11:28, Manohar Kumar wrote: >> Hello, >> >> In 3.19 the following bridge fdb command to delete a dynamically >> learned entry fails.. >> >> root@net-3:~# bridge fdb show | grep 02:42:0a:ff:00:06 >> 02:42:0a:ff:00:06 dev vxlan0 master br0 >> root@net-3:~# bridge fdb del 02:42:0a:ff:00:06 dev vxlan0 master >> RTNETLINK answers: No such file or directory >> >> It works in 4.4. >> >> Can someone please point to the patch that made this change ? > > 25d3b493a52d ("bridge: Fix inability to add non-vlan fdb entry") might > be what you are looking for, but you might want to do git-bisect to > track down any regression or fix. > >> In kernels without this patch is there an alternative to delete >> (actually I want to do it programmatically) dynamic mac entries ? > > If 25d3b493a52d is causing your problem, set default_pvid to 0 in order > to disable default_pvid, and delete any vlans which is already > configured in bridge's vlan_filtering. Then, delete the fdb entry. > > Toshiaki Makita >