I have a query regarding DHCP conflicts. One of our customer is using Cisco 4500 switches in Core/Distribution and these switches are running DHCP service as well. There is one DHCP Pool configured for IP Phones (172.21.17.0/24). Yesterday we got compalint from cutomer that IP Phones are not able to get IP address so I checked the primary 4500 switch and found 'DHCP conflict' log messages so I used ' claer ip dhcp conflict *' command and after that all IP Phones started getting ip addresses.
What could be the possible cause of this problem ? Should we disable logging of DHCP conflicts ?
Can we avoid such incident by using 'ip dhcp ping' command ? Kindly guide me in this reagrd.
Have you checked if CDP is enabled on the Switch ports connected to IP-Phones or not?
If CDP disabled, the DHCP Server can't detect the IP-Phones, therfore wont assignt the correct IP address information, when CDP enabled, the DHCP server provides the correct Subnet information from the Voice vlan pool.
I would also set spanning-tree portfast on those Switchports.
The database agent can also be used to store the dhcp binding on the local flash, this ensures that the bindings are not lost when the switch reloads:-
ip dhcp database flash://dhcp-binding
If the dhcp bindings are cleared, the client should request it's old address even if it is not present in the bindings.
Therefore all the IP Phones should request their previous IP address, and any subsequent or new addresses will only be offered an existing IP address by the 4500 if it does not receive a reply to see if that particular address is use.
However, in your case, as there is no bindings the DHCP server has logged address conflicts when using a ping session.
If you do not configure a database agent, then you should configure 'no ip dhcp conflict logging' in global config. The database agent would be the safest option.
I am still not able to find the root cause of that problem so please help me. Following information could be helpful to have a picture of LAN setup,
- 2*4500 are working in primary/secondary setup.
- Voice VLAN is 12 and DHCP pool for IP Phones is 172.21.17.0/24. Same DHCP pool is configured on both primary & seconadry switch.
- HSRP is running, Primary 4500 is 'Active' Router.
- Primary 4500 is root switch for VLAN 12.
- All edge switches are connected with primary and secondary 4500 except 2 switches which are cascaded with each other and one of them is only connected with secondary 4500 so root port is going towards secondary 4500. As per my understanding when IP phones which are connected with this edge switch will require IP Address from DHCP then they will broadcast the request. In the result broadcast traffic will actually flow through secondary 4500 to reach root switch but secondary switch is also running DHCP service with same DHCP pool so it will provide the IP Addresses to specific IP Phones. This setup could result in DHCP IP conflicts ??
We are pleased to announce availability of Beta software for 16.6.3.
16.6.3 will be the second rebuild on the 16.6 release train targeted
towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are
looking for early feedback from customers befor...
Introduction Featured Speakers Luis Espejel is the Telecommunications
Manager of IENova, an Oil & Gas company. Currently he works with Cisco
IOS® and Cisco IOS XE platforms, and NX to some extent. He has also
worked as a Senior Engineer with the Routing P...
In this session you can learn more about Layer 3 multicast and the best
practices to identify possible threats and take security measures. It
provides an overview of basic multicast, the best security practices for
use of this technology, and recommendati...