What will happen if there are multiple DHCP servers on a network?

What will happen if there are multiple DHCP servers on a network?

If one server fails, the others can continue to serve the subnet. If you are considering multiple DHCP servers, remember that multiple DHCP servers cannot share any of the same addresses. If you use more than one DHCP server in your network, each server must be configured with their own unique IP address ranges.

How does DHCP know which VLAN?

The DHCP server will use the source IP address on the request to determine the appropriate scope to use for assigning the address. VLAN is the answer here. The easiest thing to do would be to have individual NICs for each VLAN subnet and bind the DHCP server IP ranges to their respective NIC.

Should I use DHCP on my router?

All depends on your topology really, if you’re talking multiple VLANS spanning multiple sites and 1000’s of users then I would recommend server DHCP as this would cause unnecessary overhead on your routers and if the router ever goes down then clients will not be able to be assigned IP addresses locally.

Can a DHCP server be configured for multiple VLANs?

If the DHCP server and clients are configured in different VLANs, clients will not receive IP configuration from the server. To solve this issue, we have two options. Either configure a DHCP server in each VLAN or configure multiple DHCP pools on the DHCP server and assign a DHCP pool to each VLAN.

How to setup a DHCP server on a switch?

Connect PCs to the switch and the switch to the router. The following image shows this lab. Configure this lab to meet the following objectives. Create three VLANs and add 2 PCs to each VLAN. Configure the DHCP server on the switch and create three DHCP pools. Assign a DHCP pool to each VLAN.

How are DHCP sub-interfaces created on a router?

Three sub-interfaces will be created on the router, each representing a VLAN, with each sub-interface having a dhcp server configured to handle IP address leasing to hosts in that VLAN. Though I have treated VLAN setup before, find it here, to ensure that everyone is carried along, this LAB will include vlan creation.

How does a DHCP client find an IP address?

DHCP client after being activated will first send a broadcast message to try to look for DHCP servers. In this way, the client request IP address from the DHCP server. When the DHCP server gets the message from the client, it looks in its pool to find an IP address it can lease out to the client.