LAN Routing
1752565 Members
5244 Online
108788 Solutions
New Discussion

Re: Setting up VOIP vlans on HP 2530 48P switch with Draytek router

 
SOLVED
Go to solution
touran22
Occasional Collector

Setting up VOIP vlans on HP 2530 48P switch with Draytek router

Hi all, 

This is the first time doing this on a HP switch, usually done it on Cisco switch + router.

My set up is: Computer connects to VOIP phone (Polycom VVX 411)-  VOIP phone connects to switch - Switch connects to Draytek 2960n router.

My aim is to create 2 vlans: Data and Voice and let my router do the DHCP for both Data devices and VOIP devices so kind of like a router on a stick config.

This is the current config on the switch:

BT-IP-PBX-1(config)# show running-config

Running configuration:

; J9772A Configuration Editor; Created on release #YA.15.12.0015
; Ver #05:08.41.ff.37.27:a3
hostname "BT-IP-PBX-1"
timesync sntp
stack join 6c3be5-98c0c0
ip default-gateway 192.168.63.1
snmp-server community "public" unrestricted
vlan 1
  name "DEFAULT_VLAN"
  untagged 1-52
  ip address dhcp-bootp
  exit
vlan 2
  name "Voice"
  no ip address
  exit

(The stacks are joined via an up link on port 49 of both switches.)

The Draytek router: see attached.

Port 1 on the switch is connected to my Draytek. I assume this would need to be configured as a trunk. I'm not sure how it works with HP's Trk1, 2, 3 etc

 

draytek VLAN.PNGAny help would be greatly appreciated.

4 REPLIES 4
Vince-Whirlwind
Honored Contributor
Solution

Re: Setting up VOIP vlans on HP 2530 48P switch with Draytek router

Ignore "Trk1", etc..., they have nothing to do with what you are trying to do.

Your VLAN2 doesn't exist on any interface - you will need to add it to port1 as Tagged so VLAN2 traffic can get to the router.

You will need to add VLAN2 as tagged to all the other switchports so VLAN2 traffic can get to the phones.

I'm no Draytek router expert, but should the "enable" checkbox be ticked?

You probably need to enable lldp on the switch,
"lldp enable"
so that the phones will use VLAN2 as the "voice" VLAN, if the phones support lldp.

 

touran22
Occasional Collector

Re: Setting up VOIP vlans on HP 2530 48P switch with Draytek router

THis info was spot on!

 

Worked perfectly.

 

Thanks so much - so much easier than Cisco switchs.

touran22
Occasional Collector

Re: Setting up VOIP vlans on HP 2530 48P switch with Draytek router

Hi,

 

Althought the above config worked just fine, i've come to realise this switch is a layer 3 switch: J9627A

With the above config in mind how do i set the HP switch to do the DHCP and routing?

In addition, the above switch is stacked via an uplink port on port 49 of both switchs so is there a command on the HP switchs to tag all the ports on the second switch or do i simply move the console cable from one switch to another?

Thanks.

Vince-Whirlwind
Honored Contributor

Re: Setting up VOIP vlans on HP 2530 48P switch with Draytek router

You should do a network diagram to plan it out if you intend to use the switch as a router.

Basically, you need to remove your host devices' subnets off the Draytek. Configure the router addresses for each subnet on the switch's VLAN interfaces. Configure a new subnet to be your point-to-point link to the Draytek. Put a default route on the switch pointing at the Draytek's internal IP address, put routes on the Draytek for each host subnet pointing at the switch's external-facing IP address.

The 2530 doesn't support DHCP so you will need to keep DHCP on the Draytek. You will need to configure DHCP-forwarding on each of the switch's host VLANs.

As far as managing multiple switches using the Management Stacking feature - I've never done it, and I always remove such config if I come across it.
If the switches don't have true stacking, I manage them individually.