cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
281
Views
0
Helpful
2
Replies

two dhcp server on a subnet

sarahr202
Level 5
Level 5

Hi every body!

Let say we have two dhcp server s1 and s2 and single host on a subnet.

Let say host sends broadcast dhcp req, s1 receives the request before s2,,

s1 sends the dhcp reply to host, host receives dhcp reply from s1 and sets its ip address and default gateway as specified in dhcp reply from s1. After a while, s2 sends the dhcp reply in response to dhcp request from host.

what would host do? will it ignore the s2 dhcp reply or it will process the reply and use the new setting specified in dhcp reply from s2.

thanks a lot!

2 Replies 2

Roberto Salazar
Level 8
Level 8

I am not sure whether that offer will be ignored or dropped but the host already have an ip address, given that the host already accepted that ip address, it will retain that offer it accepted from the server that responded first.

Sarah

To supplement the reply from Roberto, s1 sends a dhcpoffer and the client accepts it. Then s2 sends a dhcpoffer which the client ignores since it already has an address. s2 waits for a response to its dhcpoffer, does not get a response, times out the dhcpoffer, and returns the address that it offered to its pool of available addresses.

HTH

Rick

HTH

Rick
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card