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.
switchport access vlan XXX
switchport mode access
switchport port-security maximum 2
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
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.
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.