after I have connected a second D-Link DAP 1860 with OpenWRT 22.03.5 as DHCP client, initially via LAN to the network, massive network problems occur after some/short time.
First, the first AP (802.11s WLAN bridge) can no longer be reached (PING, GUI, SSH), there is high packet loss when PING to the gateway.
Setup: Gateway Turris Omnia (TurrisOS), 2x D-Link DAP-1860 (OpenWRT 22.03.5) identically configured as DHCP client like in the OpenWRT Wiki.
My question is now: How do I troubleshoot the most systematically?
thank you for your quick reply.
Currently the device is disconnected. But I would like to operate this third AP for range extension.
Therefore, the question of how I can now find out where the problem lies.
Could it also be possible that the device (New) or the SoC is defective?
It seems almost as if they interfere with each other, but the IPs and MAC addresses are different.
Are you sure you've disabled the DHCP?
Yes, the second one gets a different IP from the Gateway, like expected.
In the wiki you linked, the config is explained as relay. However, I have set up the network as 802.11s mesh.
I followed the instructions in the OpenWRT wiki as well as those of Marc.
I understand the first AP is connected by wifi to the main router, while the second one is connected by a wire? Could the first AP be connecting to the second one, instead of the main router?
Correct, this is the initial configuration that already leads to problems. According to plan, the AP should also run as a pure 802.11s WLAN bridge.
For testing purposes, I could also connect the second AP to the first one.
STP is currently not enabled. I will try.
Nobody will watch YouTube videos from random dude [...]
So Marc's videos are even linked in the OpenWRT Wiki that you've posted, he doesn't seem to be that random, anyway.
Gateway /etc/config/network:
config interface 'loopback'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
option device 'lo'
config globals 'globals'
option ula_prefix 'fdbe:xxxx:xxxx::/48'
config interface 'lan'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
option device 'br-lan'
config interface 'wan'
option device 'eth2.22'
option proto 'pppoe'
option vpi '0'
option vci '0'
option username 'xxx'
option password 'xxx'
option ipv6 'auto'
config interface 'wan6'
option device '@wan'
option proto 'dhcpv6'
config device 'br_lan'
option name 'br-lan'
option bridge_empty '1'
list ports 'lan0'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
option type 'bridge'
Keep in mind that STP is quiet slow. Convergence timer can be around 20 to 30 seconds when links change their state. (As far as I know that's why some people run batman-adv in addition.)
A pure 802.11s network has its own built in loop protection, but if you connect up alternate links ie cable, then the mesh cannot do anything about it. Disconnect the cable links or disable the mesh.....
I was under the assumption that the data rate then adds up accordingly because the data can be carried over both bands (similar to AVM products). But this does not seem to be the case?
You can do this but will have to to configure bonding, but that is another matter all together.
Both bonded channels need to be similar bandwidth for it to work well, so 2.5GHz and 5GHz is not good.
Without bonding, as @eduperez says, you WILL have a loop.
STP will serve only to block one of the mesh networks and even worse, not all mesh nodes will necessarily agree on which mesh to block....