cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1827
Views
0
Helpful
12
Replies

DHCP

eng_adel273
Level 1
Level 1

I configured the interface as follow

interface FastEthernet0/3
 switchport access vlan 201
 switchport mode access
 switchport voice vlan 200
 spanning-tree portfast
!

 

The IP telephony take IP from VLAN 201 not from vlan 200.

 

I attached a wireshark log , please check row 388 , 398

12 Replies 12

Hello,

 

post the full configuration, you might be missing something...

Procurve 3500YL

 

Running configuration:

; J8692A Configuration Editor; Created on release #K.15.16.0014m
; Ver #0b:34.00.00.00.00.74.fc.7f.ff.3f.ef:e7
hostname "HP-Core1"
module 1 type j86xxa
ip routing
snmp-server community "public" unrestricted
vlan 1
   name "DEFAULT_VLAN"
   no untagged 13-20
   untagged 1-12,21-24
   ip address 192.168.15.209 255.255.255.0
   dhcp-server
   exit
vlan 200
   name "voice"
   tagged 13-20
   ip address 192.168.200.1 255.255.255.0
   ip helper-address 192.168.15.209
   qos priority 5
   voice
   exit
vlan 201
   name "hr"
   tagged 13-20
   ip address 192.168.201.1 255.255.255.0
   ip helper-address 192.168.15.209
   exit
vlan 202
   name "purchase"
   tagged 13-20
   ip address 192.168.202.1 255.255.255.0
   ip helper-address 192.168.15.209
   exit
no tftp server
no autorun
no dhcp config-file-update
no dhcp image-file-update
dhcp-server pool "hr"
   default-router "192.168.201.1"
   dns-server "192.168.15.53,192.168.15.55"
   network 192.168.201.0 255.255.255.0
   option 132 ascii "p51=200"
   range 192.168.201.50 192.168.201.250
   exit
dhcp-server pool "voice"
   default-router "192.168.200.1"
   dns-server "192.168.15.53,192.168.15.55"
   network 192.168.200.0 255.255.255.0
   option 132 ascii "p51=200"
   range 192.168.200.50 192.168.200.250
   exit
dhcp-server pool "purchase"
   default-router "192.168.202.1"
   dns-server "192.168.15.53,192.168.15.55"
   network 192.168.202.0 255.255.255.0
   range 192.168.202.50 192.168.202.250
   exit

Hello,

 

first of all, how is the trunk link between the Cisco and the HP configured ? Do all VLANs exists on the Cisco (show vlan) ?

What is the purpose of the 'ip helper-address 192.168.15.209' ? Typically you wouldn't need those commands if the DHCP pool is locally configured on the switch...

cisco switch :


interface FastEthernet0/1
 switchport trunk allowed vlan 200-210
 switchport mode trunk
!
interface FastEthernet0/2
 switchport trunk allowed vlan 200-210
 switchport mode trunk
!

 

 

 

Switch#show vlan

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/1, Fa0/2, Fa0/5, Fa0/6
                                                Fa0/7, Fa0/8, Fa0/9, Fa0/10
                                                Fa0/11, Fa0/12, Fa0/13, Fa0/14
                                                Fa0/15, Fa0/16, Fa0/17, Fa0/18
                                                Fa0/19, Fa0/20, Fa0/21, Fa0/22
                                                Fa0/23, Fa0/24, Gi0/1, Gi0/2
200  voice                            active    Fa0/3, Fa0/4
201  hr                               active    Fa0/3
202  purchase                         active    Fa0/4
1002 fddi-default                     act/unsup
1003 token-ring-default               act/unsup
1004 fddinet-default                  act/unsup
1005 trnet-default                    act/unsup


HP-Core1# show vlans

 Status and Counters - VLAN Information

  Maximum VLANs to support : 256
  Primary VLAN : DEFAULT_VLAN
  Management VLAN :

  VLAN ID Name                             | Status     Voice Jumbo
  ------- -------------------------------- + ---------- ----- -----
  1       DEFAULT_VLAN                     | Port-based No    No
  200     voice                            | Port-based Yes   No
  201     hr                               | Port-based No    No
  202     purchase                         | Port-based No    No

Hello,

 

typically you would need option 150 in the voice DHCP pool, pointing to the TFTP server on the same VLAN. Not sure how to configure this on the HP...

 

On the Cisco it would be:

 

 option 150 ip x.x.x.x

if I need to put the VLANID in DHCP option for IP telephony , what I need to do

Actually, option 150 is Cisco proprietary, the HP equivalent would be option 66.

You need a TFTP server containing the .cnf files.

That said, what if you remove the helper address ?

Hi,

 

You are attempting to configure a voice vlan on a Cisco switch that connects to a Grandstream IP Phone. However your switch is not sending out any LLDP messages and oddly enough neither is your IP Phone. The VLAN ID for voice is included in the CDP message for example Line 123 of you pacp... if you expand Cisco Discovery Protocol and expand VoIP VLAN REPLY.. you will see the Voice VLAN ID 200.. however, the Grandstream phone does not support CDP hence ignores this info... so enable LLDP on your switch. This way LLDP messages are shared between the switch and the phone. You will see in the LLDP-MED message a field for the network policy and the vlan ID. You might need to check if the Grandstreams support Voice VLAN's and LLDP MED as they are not sending any LLDP's as well which is quite odd.. 

Hello
You show a cisco port /trunk configuration and then a Hp switch configuration, You also have dhcp server enabled on the hp switch with various scopes including vlan 200 but you are also specifying dhcp relay ( this inst required)

 

Assuming that you have a Cisco-hp switch connected to each other  and the ip phone connected to a cisco access port


Can you confirm the following:
Your voice l3 vlan on the hp is set to voice with qos priority ( is this required?)

Have you tried enabling LLDP instead of CDP for link discovery?
Do you have any dhcp snooping enabled for vlan 200?
Do you have QOS enabled on the cisco switch?

Do you obtain dhcp for vlan 200 it you just attached a normal host to the port and assigned it to vlan 200 ( not as a voice vlan)

res
Paul

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Can you confirm the following:
Your voice l3 vlan on the hp is set to voice with qos priority ( is this required?) 

 - I got from Internet , I think it is not required

Have you tried enabling LLDP instead of CDP for link discovery?

-  I don't known how to enable it


Do you have any dhcp snooping enabled for vlan 200?

-  I don't known how to enable it
Do you have QOS enabled on the cisco switch?

-  I don't known how to enable it