bmxd: zuviele gw wechsel

in syslog gibt es zuviele gw wechsel wenn ogm von den gw in separaten ogm eintreffen. dann passiert es, dass bmxd glaubt ein gw ist weggefallen. ist das gw selectiert, wird ein anderes gewählt. kurz drauf kommt dann das ogm vom angeblich weggefallen gw und das preferred wird wieder gewählt.

Folge:

  • gw wird gewechselt -> stream unterbrochen
  • ssid wird auf no-inet gestellt -> clients verlieren wifi

prüfen warum das gw wegfliegt. es sollte eingelich eine "alterung" des records in der gw liste erfolgen und erst wenn nach einigen malen das gw nicht mehr da war, dann wegfallen.

vermutung: es ist mit der letzten änderung reingekommen, wenn ein knoten wegfällt und eine route darüber exisitiert.....

evt einen "alterungs-counter" vorsehen.

Log: preferred ist hier 10.200.1.1

Click to expand
Thu Oct 13 20:22:13 2022	daemon.info	bmx[5138]	INFO found new gateway 10.200.200.2, announced by 10.200.200.2 -> community: 1, class: 63 - 8MBit/8MBit
Thu Oct 13 20:22:21 2022	daemon.info	bmx[5138]	INFO found new gateway 10.200.0.15, announced by 10.200.0.15 -> community: 1, class: 63 - 8MBit/8MBit
Thu Oct 13 20:22:23 2022	daemon.info	bmx[5138]	INFO Gateway class of originator 10.200.200.68 changed from 63 -> 0, community 1->0, port 4306, addr 10.200.200.68
Thu Oct 13 20:22:27 2022	daemon.info	bmx[5138]	INFO Gateway class of originator 10.200.200.13 changed from 63 -> 0, community 1->0, port 4306, addr 10.200.200.13
Thu Oct 13 20:22:31 2022	daemon.info	bmx[5138]	INFO found new gateway 10.200.200.68, announced by 10.200.200.68 -> community: 1, class: 63 - 8MBit/8MBit
Thu Oct 13 20:22:34 2022	daemon.info	bmx[5138]	INFO Gateway class of originator 10.200.200.41 changed from 63 -> 0, community 1->0, port 4306, addr 10.200.200.41
Thu Oct 13 20:22:34 2022	daemon.info	bmx[5138]	INFO Gateway class of originator 10.200.200.52 changed from 63 -> 0, community 1->0, port 4306, addr 10.200.200.52
Thu Oct 13 20:22:41 2022	daemon.info	bmx[5138]	INFO found new gateway 10.200.200.52, announced by 10.200.200.52 -> community: 1, class: 63 - 8MBit/8MBit
Thu Oct 13 20:22:44 2022	daemon.info	bmx[5138]	INFO found new gateway 10.200.200.13, announced by 10.200.200.13 -> community: 1, class: 63 - 8MBit/8MBit
Thu Oct 13 20:23:02 2022	daemon.info	bmx[5138]	INFO Gateway class of originator 10.200.200.21 changed from 63 -> 0, community 1->0, port 4306, addr 10.200.200.21
Thu Oct 13 20:23:11 2022	daemon.info	bmx[5138]	INFO found new gateway 10.200.200.41, announced by 10.200.200.41 -> community: 1, class: 63 - 8MBit/8MBit
Thu Oct 13 20:23:12 2022	daemon.info	bmx[5138]	INFO Gateway class of originator 10.200.200.29 changed from 63 -> 0, community 1->0, port 4306, addr 10.200.200.29
Thu Oct 13 20:23:14 2022	daemon.info	bmx[5138]	INFO Gateway class of originator 10.200.0.15 changed from 63 -> 0, community 1->0, port 4306, addr 10.200.0.15
Thu Oct 13 20:23:20 2022	daemon.info	bmx[5138]	INFO Gateway class of originator 10.200.1.1 changed from 63 -> 0, community 1->0, port 4306, addr 10.200.1.1
Thu Oct 13 20:23:20 2022	daemon.info	bmx[5138]	INFO gwc clean-up
Thu Oct 13 20:23:20 2022	user.notice	BMXD-SCRIPT[9520]	remove GATEWAY (del)
Thu Oct 13 20:23:22 2022	user.notice	DHCP	cmd:old mac:58:7a:62:17:17:e8 ip:100.66.15.83 hostname:
Thu Oct 13 20:23:22 2022	user.notice	DHCP	cmd:old mac:58:7a:62:17:17:e8 ip:100.66.15.83 hostname:
Thu Oct 13 20:23:22 2022	daemon.info	bmx[5138]	INFO found new gateway 10.200.200.29, announced by 10.200.200.29 -> community: 1, class: 63 - 8MBit/8MBit
Thu Oct 13 20:23:22 2022	user.notice	DHCP	cmd:old mac:7e:44:cf:6d:47:96 ip:100.66.15.78 hostname:HUAWEI_P30_Pro-431a342ced
Thu Oct 13 20:23:22 2022	daemon.info	bmx[5138]	INFO found new gateway 10.200.200.21, announced by 10.200.200.21 -> community: 1, class: 63 - 8MBit/8MBit
Thu Oct 13 20:23:22 2022	daemon.info	bmx[5138]	INFO found new gateway 10.200.0.15, announced by 10.200.0.15 -> community: 1, class: 63 - 8MBit/8MBit
Thu Oct 13 20:23:22 2022	user.notice	DHCP	cmd:old mac:4c:24:98:6e:2f:27 ip:100.66.15.17 hostname:
Thu Oct 13 20:23:22 2022	daemon.info	bmx[5138]	INFO select gateway: 10.200.200.9, community: 1 # 74 (best: 0)
Thu Oct 13 20:23:22 2022	daemon.info	bmx[5138]	INFO using new default tunnel to GW 10.200.200.9 (gw_flags: 63, packet_count: 74, gw_product: 0)
Thu Oct 13 20:23:22 2022	user.notice	DHCP	cmd:old mac:50:8c:b1:62:77:96 ip:100.66.15.15 hostname:
Thu Oct 13 20:23:22 2022	user.notice	ddmesh-network	setup network config
Thu Oct 13 20:23:24 2022	user.notice	BMXD-SCRIPT[9691]	nameserver 10.200.200.9
Thu Oct 13 20:23:24 2022	user.notice	ddmesh-hotplug-net	event: iface:[ffgw] action:remove type: dev:[ffgw] devpath:/devices/virtual/net/ffgw
Thu Oct 13 20:23:24 2022	user.notice	ddmesh-hotplug-net	event: iface:[ffgw] action:add type: dev:[ffgw] devpath:/devices/virtual/net/ffgw
Thu Oct 13 20:23:25 2022	user.notice	BMXD-SCRIPT[9691]	wifi2ap ssid: Freifunk Dresden:Adventureland
Thu Oct 13 20:23:26 2022	user.notice	DHCP	cmd:old mac:58:7a:62:17:17:e8 ip:100.66.15.83 hostname:
Thu Oct 13 20:23:26 2022	user.notice	DHCP	cmd:old mac:58:7a:62:17:17:e8 ip:100.66.15.83 hostname:
Thu Oct 13 20:23:26 2022	user.notice	DHCP	cmd:old mac:7e:44:cf:6d:47:96 ip:100.66.15.78 hostname:HUAWEI_P30_Pro-431a342ced
Thu Oct 13 20:23:26 2022	user.notice	DHCP	cmd:old mac:4c:24:98:6e:2f:27 ip:100.66.15.17 hostname:
Thu Oct 13 20:23:26 2022	user.notice	DHCP	cmd:old mac:50:8c:b1:62:77:96 ip:100.66.15.15 hostname:
Thu Oct 13 20:23:27 2022	daemon.info	bmx[5138]	INFO found new gateway 10.200.200.42, announced by 10.200.200.42 -> community: 1, class: 63 - 8MBit/8MBit
Thu Oct 13 20:23:28 2022	daemon.info	bmx[5138]	INFO found new gateway 10.200.1.1, announced by 10.200.1.1 -> community: 1, class: 63 - 8MBit/8MBit
Thu Oct 13 20:23:28 2022	daemon.info	bmx[5138]	INFO Restart gateway selection - preferred found
Thu Oct 13 20:23:28 2022	daemon.info	bmx[5138]	INFO gwc clean-up
Thu Oct 13 20:23:28 2022	user.notice	BMXD-SCRIPT[10094]	remove GATEWAY (del)
Thu Oct 13 20:23:30 2022	user.notice	DHCP	cmd:old mac:58:7a:62:17:17:e8 ip:100.66.15.83 hostname:
Thu Oct 13 20:23:30 2022	user.notice	DHCP	cmd:old mac:58:7a:62:17:17:e8 ip:100.66.15.83 hostname:
Thu Oct 13 20:23:30 2022	daemon.info	bmx[5138]	INFO select gateway: 10.200.200.9, community: 1 # 74 (best: 0)
Thu Oct 13 20:23:30 2022	daemon.info	bmx[5138]	INFO Preferred gateway found: 10.200.1.1 (gw_flags: 63, packet_count: 2, ws: 100, gw_product: 0)
Thu Oct 13 20:23:30 2022	daemon.info	bmx[5138]	INFO using new default tunnel to GW 10.200.1.1 (gw_flags: 63, packet_count: 74, gw_product: 0)
Thu Oct 13 20:23:30 2022	user.notice	DHCP	cmd:old mac:7e:44:cf:6d:47:96 ip:100.66.15.78 hostname:HUAWEI_P30_Pro-431a342ced
Thu Oct 13 20:23:31 2022	user.notice	DHCP	cmd:old mac:4c:24:98:6e:2f:27 ip:100.66.15.17 hostname:
Thu Oct 13 20:23:31 2022	user.notice	DHCP	cmd:old mac:50:8c:b1:62:77:96 ip:100.66.15.15 hostname:
Thu Oct 13 20:23:31 2022	user.notice	ddmesh-network	setup network config
Thu Oct 13 20:23:33 2022	user.notice	ddmesh-hotplug-net	event: iface:[ffgw] action:remove type: dev:[ffgw] devpath:/devices/virtual/net/ffgw
Thu Oct 13 20:23:33 2022	user.notice	BMXD-SCRIPT[10257]	nameserver 10.200.1.1
Edited by Stephan