Deco M9 Plus in AP mode taking over DHCP server and assigning IPs in own subnet
After installing the M9 in access-mode in my network, I notice some devices cannot be reached anymore.
When examining the situation I notice that the IP the devices get is in the range the M9 uses when in router mode.
When switching to Router-mode, the (internal)M9 IP is: 192.168.78.1 and the DHCP range it uses is from 192.168.78.100 to 192.168.78.200 with a subnet of 255.255.255.0.
Router mode is unusable in my situation, so I'm forced to use the AP-mode.
Some devices (like a "Wemos D1" board, a Thermostat and sometimes my printer when turning it on) get an IP in the 192.168.78.x range while my
cable-modem (Lan Gateway with IP: 192.168.178.1 and subnet 255.255.255.0) is setup to handle the DHCP with a range of 192.168.178.30 - 192.168.178.250 .
The weird thing is that the cable-modem is UP all the time when one of these devices is added, but still doesn't get an IP from my Modem and because of the
different subnet, can't see the device. The device says it's up and running on the SSID from the Deco M9, with the Deco M9 given IP.
From within the Deco App, the device can be seen WITH the wrong IP address....
Because the devices it happened to are headless and no monitor can be attached, looking at the network from the device is not possible.
For some reason the Deco M9 DOES listen AND responds to DHCP requests in certain situations,
making networking a real challenge, even for someone with a good background in networking!
I hope someone will fix this serious flaw in the firmware...
I'm not the only one experiencing problems with DHCP in AP-Mode accordig to several other posters on the community.
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
Really? You are telling me off this thread because I am confusing you? pfff.
Alright, I am sorry I hijicked you post, mate. Hopefully you aren't traumatized.
- Copy Link
- Report Inappropriate Content
Definitely not traumatised. What part of what I wrote in a polite manner gave you that impression.
I pointed out that THE thread (not MY thread) is about issues with the Deco M9 model and the dumb smart DHCP feature while in Access Point mode. You posting specifically on this thread about similar troubles but with a different model in a different operating mode, along with best guess instructions on how to fix the M9 issue isn't making best use of your time, or ours, and seems not the most efficient use of a forum.
I also thanked you for looking and suggested you post a specific item for your issue/hardware combination (hint: not in the Deco forum as you don't appear to have one) so as not to confuse THE THREAD (i.e. change its purpose and waste people's time, not about if confusing me personally. I am pretty savvy when it comes to using forums for their intended purpose).
But of course, if you want to act like a petulant child because someone gave you advice and pointed out the error of your ways. Feel free.
- Copy Link
- Report Inappropriate Content
walz wrote
@DLMax I can confirm this is not just an issue with the Deco products, but also exists in the Archer C6 in AP mode. Don't mean to hijack the thread but just wanted to highlight that it's a firmware issue with TP-LINK products across the board. My main network is in 192.168.1.x, but if my main router is not available, the Archer C6 starts assigning IPs in the 192.168.0.x range, and all of the devices connected to it are not able to access WAN.
Oh wow, even standalone consumer units in AP mode as well !
This is beyond crazy.
Thankfully, the EAP line does NOT do this stupid crap. I've switched to using those when I can.
- Copy Link
- Report Inappropriate Content
Still no news? Should we go for other brands?
Maybe we can hope an answer somewhere else?
- Copy Link
- Report Inappropriate Content
So, this may help those running OpenWRT and encountering issues with their Access Points starting up "Smart DHCP" servers, which my M9plus do in AP mode.
In the web interface, OpenWRT -> Network -> Interfaces -> LAN -> Edit (on right) -> DHCP Server -> Advanced Settings (tab)
There is an option for:
"Force DHCP on this network even if another server is detected."
Also, while you can't set the static IP of the TP-Link APs (I have 6), it might be worth setting the lease time to "infinite" without the quotes in the address reservation section of the DHCP config. I don't know if it is when the APs need to renew their addresses or if it is just when a client connects that they enable their Smart DHCP, but anyway, "infinite" is an option in OpenWRT (which appears to be more like 90 days, but nonetheless a fairly long time).
The TP-Link APs do seem to fall in line when the OpenWRT router has its DHCP server on...and this should make the OpenWRT router go ahead and start its own, so I'm hopeful it suffices.
- Copy Link
- Report Inappropriate Content
Following up on the OpenWRT solution, rebooting seems to be fine with this, and the primary Deco was the first client to associate.
Still...the Decos seem to randomly hand out addresses. I have bandwidth monitoring, and I'll get random IPs jump up and do DNS requests. I think this has caused some havoc with my WEMO lights associating with another address that isn't on my network and then appearing offline.
So, it still is a major problem that when the Deco is in AP mode that they would hand out an address....EVER. They shouldn't...it just messes things up.
- Copy Link
- Report Inappropriate Content
- Copy Link
- Report Inappropriate Content
"So, it still is a major problem that when the Deco is in AP mode that they would hand out an address....EVER. They shouldn't...it just messes things up."
@Sol Totally agreed, and thanks for the useful tip, as any mitigation, even if partial, is helpful in dealing with the CF caused by this TP-Link 'feature'.
- Copy Link
- Report Inappropriate Content
I've rebooted 4-5 times now, even powered down for a while and powered back up. For OpenWRT routers, that does seem to be successful.
Another thing I've noticed, the Deco denoted as Main obtains a DHCP address within a minute of the router coming up. It is typically among the first 3-4 devices (we have 130+) obtaining an IP address. The other 5 M9 Plus Decos eventually do get around to requesting an IP address, but they aren't as aggressive about it. I don't know that this is here nor there other than to say the Main Deco is very actively looking for a DHCP server to come up...and when it is, it requests an IP address almost immediately (presumably at that point it shuts its down...but like I say, it still hands out a random one here nor there...probably 3-5 per day).
Setting your lease time to a longer time would probably reduce the number of errant DHCP IPs. I have my lease time on my OpenWRT router set as 1h, and over the past 24 hours, there are 6 IPs that have been handed out that are not on my subnet. There really is no excuse for that behavior.
- Copy Link
- Report Inappropriate Content
Just read something about a new Deco, the X5700.
Does someone knows if there is the same shitty "feature" on this one?
- Copy Link
- Report Inappropriate Content
Information
Helpful: 7
Views: 55226
Replies: 123