DHCP server ignores DHCP reservations
DHCP server ignores DHCP reservations
Hello!
In the Omada controller web interface, when I select a device for which I have set a specific IP address, then select 'Config', do not change anything in the settings under 'Use Fixed IP Address' (where the correct IP address is configured) and press 'Apply', the router will assign the correct IP address to the device after a while.
However, if the router reassigns the IP address (i. e. after device reboot), it ignores the DHCP reservation and assigns the device any IP address from the configured DHCP range.
By the way, this also happens with the access points (EAP650-Outdoor, EAP650-Wall, EAP655-Wall) - they always receive IP addresses from the DHCP range instead of the fixed IP address set under 'IP Settings'.
This issue should have been resolved since controller version 5.0.29 (see https://www.tp-link.com/us/support/faq/3200/).
How can I make the ER7212PC assign the reserved IP addresses to the devices as configured?
Thank you very much for any useful hint!
Kind regards,
Gerald
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
My understanding of that is, when you configure your LAN, you should provide a DHCP range that is smaller than your network. Then make an IP reservation for IP addresses from outside of your DHCP range.
Otherwise the DHCP will overlap with your static assigment.
There seems to be confusion here between a 'static' IP and a 'reserved' IP.
A static IP is where the IP is configured directly on the device and in that case, yes, it must be outside the DHCP range , to avoid the router giving out the same IP to another device from its DHCP pool.
A reserved IP is where the router assigns the IP via DHCP but always assigns that IP to the device. Obviously, in this case the IP must be inside the DHCP range since it is being assigned by DHCP!
Hope that helps
- Copy Link
- Report Inappropriate Content
- Copy Link
- Report Inappropriate Content
Yes, I have worked out that I hadn't assigned the VLAN to any particular port. Total noob moment of realisation, since I had even planned out which ports would be which VLAN, and I had just had an oversight when configuring the networks!
FWIW, DHCP reservations do work if the IP is assigned outside the DHCP range. For example, I have 2 dumb switches in the mix, and I set each to have an IP of .3 and .4 on the subnet, with the DHCP range set to .20 - .255, and this was successful.
Appreciate the help 👍
- Copy Link
- Report Inappropriate Content
Hello!
Thanks to everybody constructively contributing to this thread.
For putting focus back to the initial topic I'd like to repeat and clear up, what I already had written.
Please have a look at my network configuration (see attached screenshot).
All configured DHCP reservations are IP addresses with the last part being lower than 201 (start of the DHCP range) and larger than 1 (address of router).
End of lease time has no effect on the assigned IP addresses - the previous assigned IP address is being kept.
The problem is:
When the router assigns the IP address, it ignores the DHCP reservation and assigns the client device any IP address from the configured DHCP range instead.
This happens on client device reconnect - either after restart of the client device, or after reboot of the router.
So, the problem is not solved by rebooting the router, nor by rebooting the client device - it is the direct opposite.
As I found out in this article, this behavior should have been resolved since controller version 5.0.29:
https://www.tp-link.com/us/support/faq/3200/
With "client device" I mean any device connected to the ER7212PC router - end devices as well as EAPs (EAP650-Outdoor, EAP650-Wall, EAP655-Wall), connected via ethernet cable as well as via Wifi (provided by the EAPs).
The only way to assign the reserved (not static!) IP address to the configured client device using the Omada controller web interface is:
- Click on the client.
- Click on 'Config'.
- 'Use Fixed IP Address' is already active, 'IP Address' is correct as already configured in the DHCP reservations.
- Click on 'Apply'.
> After a while the router assigns the right - I mean reserved - IP address to the client device.
So, after all:
How can I "motivate" the ER7212PC to assign the reserved IP addresses to the client devices as configured in the DHCP reservations, when a client device is being (re-)connected?
Thank you very much for any useful hint.
Kind regards,
Gerald
- Copy Link
- Report Inappropriate Content
@gerba I'm experiencing the same issue with a TL-SX3206HPP switch running under an OC300 controller and ER8411 router. In this instance, there isn't a config setting for the switch to set a fixed IP address; the only way that I see that a 'static' or fixed IP address can be set is to use a DHCP Reservation. But, even after setting the reservation for an IP address outside of the DHCP pool and rebooting the switch, router, controller, and finally, sacrificing a chicken,...etc, the switch is still being assigned an IP address within the DHCP pool. As previously mentioned, this is a bug that had been previously fixed but looks to have been reintroduced.
- Copy Link
- Report Inappropriate Content
Hi @Lee21
Lee21 wrote
@gerba I'm experiencing the same issue with a TL-SX3206HPP switch running under an OC300 controller and ER8411 router. In this instance, there isn't a config setting for the switch to set a fixed IP address; the only way that I see that a 'static' or fixed IP address can be set is to use a DHCP Reservation. But, even after setting the reservation for an IP address outside of the DHCP pool and rebooting the switch, router, controller, and finally, sacrificing a chicken,...etc, the switch is still being assigned an IP address within the DHCP pool. As previously mentioned, this is a bug that had been previously fixed but looks to have been reintroduced.
So, let's narrow down which one could be the cause.
Try a computer and set it with a fixed IP address. Will it work okay? If you say it does not work, let me know what steps you take to verify.
If there is no issue with the PC, move on to the next test, remove all the "fixed IP" in the client and DHCP reservation entry, and delete them all. Reboot your switch to let it get a new IP. See if you have a new IP address or not. Then set up either the fixed IP or DHCP reservation, and reboot the switch. Use the IP shown on the Device page to log in to the switch and see if you can access the page.
If you are accessing nothing, the page is not accessible, you probably should try the reserved IP address. If you can access it, then it is just a visual issue with the sync. Should be fine after the resync between the switch and the controller.
OC syncing is not instant or millisecond/second degree.
- Copy Link
- Report Inappropriate Content
Update:
The TP-Link Technical Support due to a correlation issue with 'IPSec Failover' recommended to reset the ER7212PC and "reconfig the ... network settings in the initial state, but do not enable IPSec Failover, not even click on it."
I followed that advice and now even after rebooting the ER7212PC the reserved addresses are assigned and kept properly.
I just noticed, that after applying a new DHCP reservation, the device does not get the reserved address, until it reconnects, although the DHCP lease time is set to 15 min.
Why?
Kind regards,
Gerald
- Copy Link
- Report Inappropriate Content
Information
Helpful: 0
Views: 2521
Replies: 17
Voters 0
No one has voted for it yet.