Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

First VLAN with VOIP

First VLAN with VOIP

Hi all,

I've been asked to setup a Vlan for the new VOIP system going into the our new building. I've done this once before on Cisco routers, but never on a HP system. Also to make it harder I want it to be able to set the VOIP system on a completely separate IP address system.

Below is what we currently have.

IP Range ---- 172.16.1.1 to 172.16.12.255
Subnet Mask ----- 255.255.0.0

Exclusive IP Address

Switches --- 172.16.1.1 to 172.16.1.255
Wireless --- 172.16.2.1 to 172.16.2.255
Servers --- 172.16.3.1 to 172.16.3.255
Printers --- 172.16.4.1 to 172.16.4.255
Static PC's ---- 172.16.12.1 to 172.16.12.255

Ideally I'd like to stick the VOIP phones onto a 192.168.*.* range using the DHCP server on 172.16.3.1 to hand out these IP address.

The DHCP server has one scope for the 172.16 range (active)

Any help or guidance on this would be great as this has just droppped on my desk and I've been given the shortest of deadlines.

Cheers
David Anderson
4 REPLIES

Re: First VLAN with VOIP

Forgot to mention

Main Switch (HP 5406) 172.16.1.20
Block Switch (HP 2900) 172.16.1.50
PoE Switch (HP 2610) 172.16.1.51

Main -> port 1 to port 1 on Block... Block -> port 13 to Port 1 on PoE... PoE port 12 to 24 phones attached.

Think I get my head around some things. Main Switch has VLAN VOIP, this has VLAN has IP set as 192.168.1.1 with ip helper set as 172.16.3.1. Ip routing turned on. Then if PoE and Block Switchs have VLAN VOIP marked ports. Then PoE has ports 12-24 marked as VLAN Phone with DG of say 192.168.1.1 they should route all the way back to DHCP server which knows the request came from 192.168.1.1 on the main switch then issues an IP from the 192 range and not the 172 range.

Am I correct ? does all the switches on the site need to have the VLAN info in there configs even if they have no VOIP phones attached.

Re: First VLAN with VOIP

here is the output from our Main Switch
--------------

ip default-gateway 172.16.3.1
ip routing
snmp-server community "public" Unrestricted
snmp-server host 172.16.5.126 "public"
vlan 1
name "DEFAULT_VLAN"
untagged A1-A4,E1-E24,F1-F24
ip address 172.16.1.20 255.255.0.0
exit
vlan 200
name "VOIP"
ip helper-address 192.168.1.1
ip address 192.168.1.1 255.255.0.0
exit

----------

Here is the output from our PoE switch
----
ip default-gateway 172.16.3.1
ip routing
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged 1-12,25-28
ip address 172.16.1.51 255.255.0.0
no untagged 13-24
exit
vlan 200
name "VOIP"
tagged 13-24
exit

------

Any help on this would be great.

Re: First VLAN with VOIP

Right getting a bit further - Think i need stronger coffee.

DHCP Server - 172.16.3.1
- Scope1= 172.16.*.* - SN=255.255.*.*
- Scope2= 192.168.*.* - SN=255.255.255.*

Main Swich
ip default-gateway 172.16.3.1
vlan 1
name "DEFAULT_VLAN"
untagged A1-A4,E1-E24,F1-F24
ip helper-address 172.16.3.1
ip address 172.16.1.20 255.255.0.0
vlan 200
name "VOIP"
ip helper-address 172.16.3.1
ip address 192.168.1.1 255.255.255.0
tagged F1 -------------------This is the downlink to the PoE Switch


PoE Switch
ip default-gateway 172.16.3.1
vlan 1
name "DEFAULT_VLAN"
untagged 1-12,25-28
ip address 172.16.1.51 255.255.0.0
ip helper-address 172.16.3.1
no untagged 13-24
vlan 200
name "VOIP"
untagged 13-24 ------------------------------PoE Ports
ip address 192.168.1.2 255.255.255.0
ip helper-address 172.16.3.1

-----------------------------------------------------
Both switches can ping there own VLan IP addresses from telnet. Switches can ping each other using the 172 range - using the 192 they can not ping each other. Manually setting IP as 192.168.1.5 with correct subnet on a laptop and plugging into port 13 on PoE switch can ping 192.168.1.2 but not 192.168.1.1. Also you may have notice that DHCP is not handing out 192 ip's eaither.

Re: First VLAN with VOIP

forgot to add a static(tagged route) just need DHCP to work now