04-24-2020 08:32 AM
Real quick question, If I have a router, that is configured to utilize DHCP via ip helper address to distribute ip addresses from an external server, and I configure the router with a local dhcp configuration, will it revert to the local database and negate the external dhcp server configuration? Please help. :
04-24-2020 08:58 AM
As far as I know, then you will have 2 DHCP servers, local and external.
The PC will get addressing from the DHCP server that answers first.
The problem is that there could be IP address conflicts if both DHCP servers are giving the same segment of IP addresses.
Regards
04-24-2020 09:03 AM
Makes sense, yes it will have local and external, but the new local DHCP configuration will be for future ip address space and local usage of the new space vice an external dhcp server. It will be a completely different address space.
04-24-2020 09:10 AM
If the IP segments provided by the servers is different, then you will not have an IP address conflict.
Now, if the 2 DHCP pools (1 per DHCP server) have the same ip gateway, then both servers (local and external) will be enabled to provide addresses to your PCs, so the PCs will get addressing from the server that responds first and it will adopt an address from that server.
If the pools of both servers provide IP addresses of different networks, then the PCs will obtain addresses from the corresponding pool, either from the local server or the external server.
Regards
04-24-2020 09:27 AM
Gotcha again. :) They further clarify, they will have different gateways since they it will be new address space. However the gateways for the new local DHCP server have not been configured yet so it will be pointing to a non-existent gateway. Bottom line, it sound like configuring a local dhcp server will not cause any issues if it is just the DHCP config with no active interfaces on the new dhcp scopes.
04-24-2020 09:47 AM
Right.
DHCP servers (local or external) assign addressing using the network's ip gateway entered into each pool.
If the gateway address indicated in a pool is not yet configured or the interface where it is configured is down, then the server will not deliver addresses from that pool.
Regards
04-24-2020 09:32 AM
04-24-2020 10:25 AM
04-24-2020 11:15 AM - edited 04-24-2020 02:51 PM
Hello
As stated if you have two dhcp servers the client will receive an allocation from whichever server responds first however there is command that when applied will tell the dhcp relay to seek the same dhcp server that a client had previously used for allocation Ip dhcp relay prefer known-good-server
Also it is best practice to split the active scopes over the two servers, This will negate conflicts and provide resiliency for your clients if once of the servers fail..
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide