why occurs DHCP errors in a CIsco switch

Hi everybody.

Its possible that we can have 2 DHCP Servers in a single network? how is the method to avoid conflicts? when the leased time expires could be any kind of problem? how can I avoid it?

Who is Participating?

Improve company productivity with a Business Account.Sign Up

jfrizzellConnect With a Mentor Commented:
Having two DHCP servers has no adverse affects on the network.  What happens is that when a client first comes online, it sends out a discover message looking for a DHCP server.  One, if not both will receive the Discover message and respond with an Offer message.  The first offer message to be received is usually accepted by the client.  The client will then send a Request message telling the first responding DHCP server that it accepts the offer and it also lets the other DHCP server know that its offer will not be used.  At this point, the final message seen would be the Acknowledgment message from the DHCP server to the client.

After about 50 percent of the lease time, the PC will send a renewal message to the DHCP server to extend the lease again.  If no response from the DHCP server, then the PC will send yet another message at about 40 percent of the time remaining on the lease.  At some point, if no response is acknowledge, the client will initiate the DHCP process over again and the first to respond wins the lease.  If the client initiates the lease again, obviously the first DHCP server has failed and the second one will assign a new address.
What devices you use for DHCP?
pdiazqAuthor Commented:
Hi. The devices we are using as DHCP are cisco switches 6500. They are sending a conflict message:

Sep 24 08:38:28.249 COL: %DHCPD-4-PING_CONFLICT: DHCP address conflict:  
server pinged

This message had appeared with a lot of addresses..
Building an Effective Phishing Protection Program

Join Director of Product Management Todd OBoyle on April 26th as he covers the key elements of a phishing protection program. Whether you’re an old hat at phishing education or considering starting a program -- we'll discuss critical components that should be in any program.

jfrizzellConnect With a Mentor Commented:
%DHCPD-4-PING_CONFLICT means an address in the pool is being used somewhere else.  This typically occurs when you do not include an excluded range to prevent the allocation of statically configured addresses.  On the switches, did you configure an excluded range?  You can try issuing the command clear ip dhcp conflict command.  Maybe one of your internal users has configured a static address to their PC.

If you could, paste your DHCP configurations and try the command clear ip dhcp conflict.
amprantiConnect With a Mentor Commented:
You can do it but is not recommended!
When client request an IP, will get one answer from the fatser DHCP.
If both DHCP servers provide IP addresses from the same range, many conflict will occur. Example:

2 dhcp servers, both serving , exclusions for both:
PC1 ask for an IP << DHCP1 provide (1st available)
PC2 ask for an IP << DHCP1 provide (1st available now)
PC3 ask for an IP << DHCP2 provide (1st available) --> CONFLICT!!!!

To solve this problem you can (and provide high availability DHCP service):

- DHCP server different ranges (first DHCP server provide , second DHCP server
- configure two DHCP servers, using the same storage for saving data
can I ask why you have two DHCP servers for the same subnet?
pdiazqAuthor Commented:
we configured two DHCP to have redundancy..thanks
pdiazqAuthor Commented:
If we have two DHCP servers, how the servers knows which IP was assigned by the other server to avoid these conflicts?


how many nodes are we talking about?  could you have two different DHCP pools.  For example

Pool 1: .100-.150
Pool 2: .151-.200
pdiazq:You have to split the the ranges that re being assigned by the servers.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.