Resolved: br0: received packet on XX with own address as source address

DPBD90
2 min readNov 26, 2019

In recently, i collocated Openstack and K8s in same servers. Alter that, my bridge interface can’t access to my private network and virtual machines can’t get new ip when created. I checked /var/log/messages and found “bond0: received packet on XX with own address as source address” in the log file.

I checked bridge interface with command below:

brctl showstp brq34586675-ce

‘brq34586675-ce
bridge id 8000.b02628411f70
designated root 8000.b02628411f70
root port 0 path cost 0
max age 20.00 bridge max age 20.00
hello time 2.00 bridge hello time 2.00
forward delay 0.00 bridge forward delay 0.00
ageing time 300.00
hello timer 0.00 tcn timer 0.00
topology change timer 0.00 gc timer 0.00
flags

bond0.183 (2)
port id 8002 state forwarding
designated root 8000.b02628411f70 path cost 2
designated bridge 8000.b02628411f70 message age timer 0.00
designated port 8002 forward delay timer 0.00
designated cost 0 hold timer 0.00
flags’

As you see, age time has value 300.00.

When a Linux bridge receives a packet with a new source MAC address from a particular bridge port, it stores the MAC address along with the port number in its MAC learning table. A timer is associated with each entry in the table, so that the entry expires after a certain period (so-called “ageing time”), unless it is refreshed before then. By default the ageing time in a Linux bridge is set to 300 seconds.

To resolve this problem, we need to disable MAC address learning in a Linux bridge. To do that, we set the the “ageing time” to 0 with following command:

sudo brctl setageing <bridge-interface> 0”

References: https://ask.xmodulo.com/disable-mac-learning-linux-bridge.html

--

--

DPBD90

I'm an engineer. I love to work on data and open-source systems.