Voip VLAN configuration

I have a rather simple small office environment with a limited amount of UTP cabling. See attached drawing.

We are switching to VOIP with phones with a built in hub. (Grandstream 2010). By doing this no new cabling is required because workstations connect to the Voip phone and the phone connects to the ProCurve 2524 switch.

I want to separate the voice traffic from the workstation traffic by setting up vlans in the 2524.The phones get a fixed IP in the 10.0.0.x range and workstations get via DHCP a IP in the 192.168.1.x range.

So the ports connecting phones and PC's must be in 2 vlans, so must be set to tagged.The rest of the ports are in only 1 vlan and can be untagged. Is this correct?

My Phones support tagged vlans, I can specify a layer 2 QoS 802.1Q vlantag (voip traffic) and I can specify 3 data VLAN tags (data traffic).So if I define a vlanID nr 3 on the switch dedicated for the VOIP traffic and a vlanID nr 2 for data traffic, and put the port in both vlans it should work. Is this correct?

All ports are still marked Untagged in the Default Vlan. Do I have to remove the ports with phones attached from the Default VLAN.

--------set the phones to "speak" tagged frames (802.1Q) on vlan 2, with a 802.1p QoS setting - usually 6...

---------basic rules of operation:1) a port has to have a vlan home, either untagged or tagged2) a port can only be untagged in a single vlan at a time3) a port can be jointly tagged and untagged4) a port can be tagged as many times as they are vlans5) procurve switches preserve any 802.1p QoS value (in a 802.1Q tagged framed) coming into the switch, therefore no QoS setting required if staying inside a LAN

for ref, that 2524 has only to hardware queues mapped to 8 levels of QoS: o - QoS 0,3,1,2 map to queue1 o - QoS 4,5,6,7 map to queue2

many of the switches of 3-6 years ago have 4 queues, and most of the newer switches have 8 queues...

Re: Voip VLAN configuration

R. Dirksen said:All PC's not connected via a phone (and servers and datarouter) must connect to an untagged port in vlan 1. this avoids broadcast messages of vlan 2 on these ports.

All phones (without a PC attached) (voice server and voice router) must be connected to a port which is (at least) tagged in vlan 2 which avoids receiving vlan 1 broadcasts.--------------there is nothing at all wrong with your proposed config :-)

note, each vlan's broadcast messages are not seen on any other vlan...

so by having all ports in both vlans (except the voice server, etc), moving phones/computers around and/or dual connections to a single port are much easier...requires less "switch maintenance" for all those potential moves/changes...

you said something about hardware queues. Do I have to configure something on the 2524 to use/enable these queues. What I understand from this is that it does not matter wether I set my phone to level 4,5,6 of 7. All the voip traffic will end up in this one queue.

Re: Voip VLAN configuration

R Dirksen said:you said something about hardware queues. Do I have to configure something on the 2524 to use/enable these queues. What I understand from this is that it does not matter wether I set my phone to level 4,5,6 of 7. All the voip traffic will end up in this one queue-------------

no, you don't configure which priority levels are mapped to which queue, that is built-in...

merely understand if you need more QoS granularity and function within the switch, you will need a different switch that provides 4 or 8 queues...and/or re-define the traffic to different QoS priority levels so the traffic is processed in different hdwe queues...

meaning, if you had voice traffic at QoS pri 6, and video at QoS pri 7, in this switch (and switches with 4 hardware queues) both types of traffic will be processed in the switch in the same queue...