Hi all,
I have two devices (Ubiquiti PicoStation M2 and Ubiquiti NanoStation M5) in a very simple
configuration: both attached to a Mikrotik RB250GS gigabit switch (latest 1.11 firmware)
and both running the latest libre-mesh firmware.
From dmesg of the two devices I can see some error form
batman loop avoidance:
br-lan: received packet on bat0 with own address as source
address
Do you think that could be a libre-mesh related problem?
This is from the PicoStation
[...]
[ 15.520000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 15.520000] device eth0 entered promiscuous mode
[ 15.540000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 15.640000] device br-lan entered promiscuous mode
[ 15.640000] IPv6: ADDRCONF(NETDEV_UP): anygw: link is not ready
[ 15.690000] IPv6: ADDRCONF(NETDEV_UP): eth0.11: link is not ready
[ 15.840000] IPv6: ADDRCONF(NETDEV_UP): eth0.12: link is not ready
[ 16.060000] batman_adv: bat0: Adding interface: eth0.11
[ 16.060000] batman_adv: bat0: The MTU of interface eth0.11 is too small (1496) to
handle the transport of batman-adv packets. Packets going over this interface will be
fragmented on layer2 which could impact the performance. Setting the MTU to 1532 would
solve the problem.
[ 16.090000] batman_adv: bat0: Interface activated: eth0.11
[ 16.100000] 8021q: adding VLAN 0 to HW filter on device bat0
[ 16.100000] device bat0 entered promiscuous mode
[ 16.110000] br-lan: port 2(baINBOXt0) entered forwarding state
[ 16.110000] br-lan: port 2(bat0) entered forwarding state
[ 16.220000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 16.220000] IPv6: ADDRCONF(NETDEV_CHANGE): anygw: link becomes ready
[ 16.240000] br-lan: received packet on bat0 with own address as source address
[ 16.410000] eth0: link up (100Mbps/Full duplex)
[ 16.410000] br-lan: port 1(eth0) entered forwarding state
[ 16.420000] br-lan: port 1(eth0) entered forwarding state
[ 16.420000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 16.440000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.11: link becomes ready
[ 16.480000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.12: link becomes ready
[ 17.340000] batman_adv: bat0: bridge_loop_avoidance: Changing from: disabled to:
enabled
[ 17.370000] batman_adv: bat0: distributed_arp_table: Changing from: enabled to:
disabled
[ 18.110000] br-lan: port 2(bat0) entered forwarding state
[ 18.420000] br-lan: port 1(eth0) entered forwarding state
[ 20.350000] IPv6: ADDRCONF(NETDEV_UP): wlan0_ap: link is not ready
[ 20.370000] IPv6: ADDRCONF(NETDEV_UP): wlan0_ap.12: link is not ready
[ 23.510000] device wlan0_ap entered promiscuous mode
[ 23.530000] IPv6: ADDRCONF(NETDEV_UP): wlan0_ap.12: link is not ready
[ 23.540000] IPv6: ADDRCONF(NETDEV_UP): wlan0_ap: link is not ready
[ 23.560000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0_ap: link becomes ready
[ 23.560000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0_ap.12: link becomes ready
[ 23.580000] br-lan: port 3(wlan0_ap) entered forwarding state
[ 23.580000] br-lan: port 3(wlan0_ap) entered forwarding state
[ 25.580000] br-lan: port 3(wlan0_ap) entered forwarding state
[ 26.040000] br-lan: received packet on bat0 with own address as source address
[ 27.090000] IPv6: ADDRCONF(NETDEV_UP): wlan0_adhoc: link is not ready
[ 27.110000] wlan0_adhoc: Created IBSS using preconfigured BSSID ca:fe:00:c0:ff:ee
[ 27.110000] wlan0_adhoc: Creating new IBSS network, BSSID ca:fe:00:c0:ff:ee
[ 27.120000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0_adhoc: link becomes ready
[ 36.060000] br-lan: received packet on bat0 with own address as source address
[ 46.080000] br-lan: received packet on bat0 with own address as source address
[ 56.100000] br-lan: received packet on bat0 with own address as source address
[ 66.120000] br-lan: received packet on bat0 with own address as source address
[...]
batctl s
tx: 12
tx_bytes: 1264
tx_dropped: 43
rx: 20
rx_bytes: 948
forward: 0
forward_bytes: 0
mgmt_tx: 365
mgmt_tx_bytes: 23182
mgmt_rx: 362
mgmt_rx_bytes: 22912
frag_tx: 0
frag_tx_bytes: 0
frag_rx: 0
frag_rx_bytes: 0
frag_fwd: 0
frag_fwd_bytes: 0
tt_request_tx: 1
tt_request_rx: 2
tt_response_tx: 2
tt_response_rx: 1
tt_roam_adv_tx: 0
tt_roam_adv_rx: 0
dat_get_tx: 0
dat_get_rx: 0
dat_put_tx: 0
dat_put_rx: 0
dat_cached_reply_tx: 0
and this is from NanoStation:
[...]
[ 17.460000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 17.460000] device eth0 entered promiscuous mode
[ 17.480000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 17.520000] device br-lan entered promiscuous mode
[ 17.520000] IPv6: ADDRCONF(NETDEV_UP): anygw: link is not ready
[ 17.550000] eth0: link up (100Mbps/Full duplex)
[ 17.550000] br-lan: port 1(eth0) entered forwarding state
[ 17.560000] br-lan: port 1(eth0) entered forwarding state
[ 17.560000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 18.610000] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 18.610000] device eth1 entered promiscuous mode
[ 18.620000] br-lan: port 2(eth1) entered forwarding state
[ 18.620000] br-lan: port 2(eth1) entered forwarding state
[ 18.630000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 18.660000] br-lan: port 2(eth1) entered disabled state
[ 18.740000] IPv6: ADDRCONF(NETDEV_UP): eth1.11: link is not ready
[ 18.750000] IPv6: ADDRCONF(NETDEV_CHANGE): anygw: link becomes ready
[ 18.800000] IPv6: ADDRCONF(NETDEV_UP): eth1.12: link is not ready
[ 19.120000] batman_adv: bat0: Adding interface: eth0.11
[ 19.130000] batman_adv: bat0: The MTU of interface eth0.11 is too small (1496) to
handle the transport of batman-adv packets. Packets going over this interface will be
fragmented on layer2 which could impact the performance. Setting the MTU to 1532 would
solve the problem.
[ 19.150000] batman_adv: bat0: Interface activated: eth0.11
[ 19.160000] 8021q: adding VLAN 0 to HW filter on device bat0
[ 19.210000] device bat0 entered promiscuous mode
[ 19.210000] br-lan: port 3(bat0) entered forwarding state
[ 19.220000] br-lan: port 3(bat0) entered forwarding state
[ 19.270000] batman_adv: bat0: Adding interface: eth1.11
[ 19.270000] batman_adv: bat0: The MTU of interface eth1.11 is too small (1496) to
handle the transport of batman-adv packets. Packets going over this interface will be
fragmented on layer2 which could impact the performance. Setting the MTU to 1532 would
solve the problem.
[ 19.300000] batman_adv: bat0: Interface activated: eth1.11
[ 19.560000] br-lan: port 1(eth0) entered forwarding state
[ 20.810000] batman_adv: bat0: bridge_loop_avoidance: Changing from: disabled to:
enabled
[ 20.810000] batman_adv: bat0: distributed_arp_table: Changing from: enabled to:
disabled
[ 21.220000] br-lan: port 3(bat0) entered forwarding state
[ 22.650000] IPv6: ADDRCONF(NETDEV_UP): wlan0_ap: link is not ready
[ 22.680000] IPv6: ADDRCONF(NETDEV_UP): wlan0_ap.12: link is not ready
[ 27.590000] device wlan0_ap entered promiscuous mode
[ 27.620000] IPv6: ADDRCONF(NETDEV_UP): wlan0_ap.12: link is not ready
[ 27.630000] IPv6: ADDRCONF(NETDEV_UP): wlan0_ap: link is not ready
[ 27.650000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0_ap: link becomes ready
[ 27.650000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0_ap.12: link becomes ready
[ 27.670000] br-lan: port 4(wlan0_ap) entered forwarding state
[ 27.670000] br-lan: port 4(wlan0_ap) entered forwarding state
[ 29.140000] br-lan: received packet on bat0 with own address as source address
[ 29.670000] br-lan: port 4(wlan0_ap) entered forwarding state
[ 31.750000] IPv6: ADDRCONF(NETDEV_UP): wlan0_adhoc: link is not ready
[ 31.770000] wlan0_adhoc: Created IBSS using preconfigured BSSID ca:fe:00:c0:ff:ee
[ 31.780000] wlan0_adhoc: Creating new IBSS network, BSSID ca:fe:00:c0:ff:ee
[ 31.790000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0_adhoc: link becomes ready
[ 39.160000] br-lan: received packet on bat0 with own address as source address
[ 49.180000] br-lan: received packet on bat0 with own address as source address
[ 59.200000] br-lan: received packet on bat0 with own address as source address
[ 69.220000] br-lan: received packet on bat0 with own address as source address
[...]
batctl s
tx: 10
tx_bytes: 1096
tx_dropped: 41
rx: 18
rx_bytes: 756
forward: 0
forward_bytes: 0
mgmt_tx: 879
mgmt_tx_bytes: 51202
mgmt_rx: 352
mgmt_rx_bytes: 22292
frag_tx: 0
frag_tx_bytes: 0
frag_rx: 0
frag_rx_bytes: 0
frag_fwd: 0
frag_fwd_bytes: 0
tt_request_tx: 4
tt_request_rx: 1
tt_response_tx: 1
tt_response_rx: 2
tt_roam_adv_tx: 0
tt_roam_adv_rx: 0
dat_get_tx: 0
dat_get_rx: 0
dat_put_tx: 0
dat_put_rx: 0
dat_cached_reply_tx: 0
This problem isn't related to interaction between two devices, because also isolating
a device via switch web interface, the other one after rebooting shows the same error
again.
Again, I don't know if this is a libre-mesh related problem or a problem of batman
loop avoidance.
Maybe the problem is related to this old closed bug?
http://www.open-mesh.org/issues/170
Thanks,
Ilario