cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1230
Views
0
Helpful
3
Replies

IP Phone CP-7965G dhcp warning

Victor Bidnenko
Level 1
Level 1

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?

1 Accepted Solution

Accepted Solutions

Victor Bidnenko
Level 1
Level 1

DHCP-snooping was the problem. Did not solved the problem but used a workaround by setting the voice vlan config line to the port.

View solution in original post

3 Replies 3

Victor Bidnenko
Level 1
Level 1

DHCP-snooping was the problem. Did not solved the problem but used a workaround by setting the voice vlan config line to the port.

Dear
can you please explain how dhcp snooping was a problem

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.