I came across an issue when I connected my Chinese wireless extender/repeater to my Mikrotik via wifi.
The clients connecting to the repeater try to get an IP address but the DHCP lease is stuck at “offered” status.
In the logs the following can be seen: dhcp_iot offering lease 10.49.0.236 for EA:41:17:xx:xx:xx to eth 22:BF:CE:xx:xx:xx without success
The EA:41:17:xx:xx:xx is the client connected to the repeater: 22:BF:CE:xx:xx:xx
If I set up a static IP address on the client machine everything works fine.
When I use my phone’s hotspot as the source for the repeater to connect to, clients connected to the repeater are fine. They get IP and they can reach the internet.
Try to sniff DHCP traffic to see actual hanshake … I guess that final DHCP ACK comes back from repeater’s MAC while MT expects to see client’s MAC … or the other way around.
My guess is that repeater works similarly to station-bridge mode and that can cause all kinds of random problems, see mikrotik’s article on station modes.
If repeater would perform proxy ARP properly (that would solve the problem of multiple MACs behind repeater), then you wouldn’t see repeater’s MAC in DHCP server logs (but I guess that proxy ARP would mess with station roaming big time).
I can’t really see a DHCP Request or ACK at all, only Discover and Offer. With my phone hotspot as a router I can see the 4-way dhcp.
I hacked myself into the repeater via serial connection and it’s running OpenWRT. Now that may be well beyond the scope of this forum, however I might ask if there was anything I could check there in the configs? I have never worked with OpenWRT.
I tried this but to no avail. Also checked numerous things that I have never touched like DHCP Snooping, ARP settings on both the bridge and the wireless interface, multicast helper, still nothing.
Of course, that's the least I can do.
I omitted some parts of the config, e.g. firewall rules, ppp configuration as I deemed them irrelevant of the topic. I basically let everything through the firewall with these as the first three rules, but that didnt help either.