Yealink Forums
DHCP issue on Yealink phones with HP Switch HP2920 - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: FAQs etc (/forumdisplay.php?fid=38)
+--- Forum: FAQs (/forumdisplay.php?fid=39)
+--- Thread: DHCP issue on Yealink phones with HP Switch HP2920 (/showthread.php?tid=4022)



DHCP issue on Yealink phones with HP Switch HP2920 - Crizz - 06-29-2015 07:25 PM

Hello everyone,
We’ve got a new HP Switch HP2920 – 24 - layer 3.
We have configured the following simple 2 VLAN’s:
= = = = = = = = = = = = = = = = = = = = = = = = =
hostname "HP-2920-24G"
module 1 type j9726a
snmp-server community "public" unrestricted
oobm
ip address dhcp-bootp
exit
vlan 1
name "DEFAULT_VLAN"
no untagged 4,10-20
untagged 1-3,5-9,21-24,A1-A2,B1-B2
ip address 20.1.10.33 255.255.255.0
exit
vlan 50
name "VLAN50"
untagged 4,10-20
ip address 20.1.50.10 255.255.255.0
ip helper-address 20.1.10.240
exit
no dhcp config-file-update
no dhcp image-file-update
password manager
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
OUR LAB NETWORK:
VLAN1 – 20.1.10.X - default DATA
VLAN 50 – 20.1.50.X used for the IP Telephony.
DHCP server - 20.1.10.240 [Windows server 2008 R2]
Yealink phones T22 and T42G.
Switch port 1 – is going to FW interface for default VLAN 1.
Switch port 4 – is going to FW interface for VLAN 50.
Before I will test the provisioning with 3CX PBX we have the next issue:
PROBLEM:
Even though I have set up “ip helper-address 20.1.10.240” for Vlan 50, Yealink phones are NOT getting IP addresses on VLAN 50, but are getting IP’s on default VLAN 1.
The computers are getting DHCP IP addresses on Vlan 1 or Vlan 50. No issue with the computers.
I have tried to add voice command on the VLAN 50 and didn’t work.
I have tried to disable the LLDP on Yealink phone but didn’t help.
Can anyone faced the same issue before?
Thank you very much in advance.
Crizz.


RE: DHCP issue on Yealink phones with HP Switch HP2920 - jsimmons - 01-28-2016 12:29 AM

I suspect it is a spanning tree issue, The port is being held down while BPDU packets are being detected. You need to enable something which Cisco calls port-fast, Cant remember what it is called on HP


RE: DHCP issue on Yealink phones with HP Switch HP2920 - bunce - 03-03-2016 11:17 AM

If you're using the switch to setup the IP Helper then I imagine you'd need to enable IP Routing on the switch.

We handle this on the router itself, and the config below works for us with computers plugged into the port on the rear of the phone, so only requiring one switch port to be used - VLAN 10 - Production (Untagged), VLAN 20 - VOIP (Tagged)

Code:
; J9774A Configuration Editor; Created on release #YA.15.12.0007
; Ver #04:01.ff.37.27:ea
hostname "XXX-SW07 ITXXXXX"
trunk 9-10 trk1 lacp
timesync sntp
sntp unicast
sntp server priority 1 10.97.8.56
time timezone 660
ip default-gateway 10.85.10.1
ip timep manual 10.97.8.56
snmp-server community "public" unrestricted
snmp-server contact "XXX@XXX" location "XXX-XXXX"
vlan 1
   name "DEFAULT_VLAN"
   no untagged 1-8,Trk1
   ip address dhcp-bootp
   exit
vlan 10
   name "10_Prod"
   untagged 1-8
   tagged Trk1
   ip address 10.85.10.17 255.255.255.0
   exit
vlan 20
   name "20_VOIP"
   tagged 1-8,Trk1
   no ip address
   voice
   exit
vlan 101
   name "101_DMZ-A"
   tagged Trk1
   no ip address
   exit
vlan 102
   name "102_DMZ-B"
   tagged Trk1
   no ip address
   exit
spanning-tree
spanning-tree Trk1 priority 4
no tftp server
no dhcp config-file-update
password manager
password operator