03-29-2016 03:05 AM - edited 03-17-2019 06:22 AM
Our 7965 phone constantly shows in console log dhcp warning:
2146: WRN 10:43:47.341105 DHCP: dhcpValidateIP(): invalid ip 0x0
2147: WRN 10:43:47.341806 DHCP: dhcpValidateIP(): invalid ip 0x0
2148: WRN 10:43:47.342036 DHCP: dhcpValidateIP(): invalid ip 0x0
2149: WRN 10:43:47.342163 DHCP: dhcpValidateIP(): invalid ip 0x0
Sometimes it gets stuck geting an ip but mostly it works fine. We have DAI \ IPSG \ DHCP-snooping configured on that port on switch. Also a PC is pluged into pc port of phone.
Port config:
switchport access vlan XXX
switchport mode access
switchport port-security maximum 2
switchport port-security
switchport port-security violation restrict
switchport port-security mac-address sticky
switchport port-security mac-address sticky c860.00XX.XXXX
switchport port-security mac-address sticky f029.XXXX.XXXX
ip flow monitor FL-Monitor sampler XXXXXX input
ip arp inspection limit rate 50
storm-control broadcast level 1.50 1.00
storm-control multicast level 10.00 2.00
storm-control action trap
ip verify source
SW config:
ip dhcp snooping vlan XXX,XXX,XXX,XXX,XXX
ip dhcp snooping information option allow-untrusted
no ip dhcp snooping information option
ip dhcp snooping
ip arp inspection vlan XXX,XXX,XXX,XXX,XXX
ip arp inspection validate src-mac ip
Is this a normal behavior or some misconfiguration on switch?
Solved! Go to Solution.
09-08-2017 04:50 AM
DHCP-snooping was the problem. Did not solved the problem but used a workaround by setting the voice vlan config line to the port.
09-08-2017 04:50 AM
DHCP-snooping was the problem. Did not solved the problem but used a workaround by setting the voice vlan config line to the port.
06-05-2019 01:22 AM
06-05-2019 11:44 AM
Actually no debug was taken, but it looks rather simple - two devices are inserted in one port (phone+pc). When pc is turned off it releases address and switch thinks no device have got an ip in dhcp dhcp database (actually the phone has but maybe its i bug or expected behaviour of switch). Adding a voice vlan with different vlan (i.e. pc - vlan 10, voice vlan 20) makes switch use different table for other vlan and thus no problem when pc is turned off.
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