Link to home
Start Free TrialLog in
Avatar of luddiemey
luddiemey

asked on

VoIP and HP Switches

I need to figure out how to get VoIP phones running over my vlans and I could really use some help.
My “core switch” is an HP v1910-24G-PoE (365W).
On this switch there is:
vlan 1 – 192.168.0.0/24 (untagged 1-21,23-24) (default vlan)
Vlan 2 – 192.168.5.0/24 (untagged port 26)
Vlan 3 – 192.168.4.0/24 (untagged port 27)
Vlan 4 – 192.168.3.0/24 (untagged port 28)
Vlan 5 – 192.168.2.0/24 (untagged port 22)

The VoIP PABX (10.5.13.146/28) is connected to a mikrotek unit (10.5.13.145/28) and it also has an ip of 192.168.0.238 (they are on port 18 and 19).

At the other end of each of the vlans there is another HP v1910-24G-POE switch configured as follows:
192.168.5.1/24 – default vlan gw 192.168.5.254 (on the “core switch”)
192.168.4.1/24 – default vlan gw 192.168.4.254 (on the “core switch”)
192.168.3.1/24 – default vlan gw 192.168.3.254 (on the “core switch”)
192.168.2.1/24 – default vlan gw 192.168.2.254 (on the “core switch”)

The PABX is an Alcatel-Lucent OmniPCX and all phones are Lucent 4018 IP Phones.  The phones are set to work on vlan 7. I have no access to the mikrotek unit or the PABX.

If I plug any of the ip phones directly onto the 192.168.0.0 range, they detect the PABX and work, no problem.  If I move the phones to anyone of the vlans, they cant connect to the PABX.  

I need to be able to deploy these phones to the various areas around the network without having to “drop” the current vlan setup.  I really don’t want to run a flat network.

Where do I start?  Any help would be greatly appreciated.
Avatar of TimotiSt
TimotiSt
Flag of Ireland image

Not a lot of experience with Lucent, but here goes:
- if the phones really wanted to use vlan7, and you really don't have vlan7 on your switch, then they wouldn't work.
- how do you configure these phones with voice vlan data? they get if from LLDP-MED, DHCP, or manual config?
- who is the DHCP server of the various subnets? are there any dhcp-relays around? what are the exact DHCP options you give the clients?

Tamas
Avatar of luddiemey
luddiemey

ASKER

Creating a vlan7 on the switches wont be a problem.

The phones were preconfigured by the company from which we got the PABX / iphone. (not currently at the office so cant see the config on the phone.  will go in later and get it)

As far as i know the PABX is running some sort of DHCP (10.5.13.146/28) which only the phones seem to pick up.  

On my data network my DHCP server is on 192.168.0.254 which provides ip to my various vlans.  only option configured there is option 060 PXEClient for my WDS.
Manage to get access to the PABX (some begging involved).  i looked for something called LLDP-MED but couldn't find anything on the GUI. i did find the following:

LAN Config:
On normal LAN (802.3 frames)
Network IP address:
  10.5.13.144
IP Subnet Mask:
   255.255.255.240
Default Router Address:
  10.5.13.145

Voice Traffic -> Use the same LAN/VLAN as Data Traffic

DNS/DHCP
enable DHCP Server
Range
Start IP Address 10.5.13.147 - 10.5.13.158 (subnet 255.255.255.240)

Also saw somewhere that the it uses UDP
That is kinda weird. You can't really have 2 DHCP servers on one VLAN without conflict, unless you do some fairly advanced configuration...
I assume your PCs use DHCP on vlan1 to get an IP and they are not static, right?
Could you post an ipconfig /all from a PC, and possibly some photo/whatever from a phone of its network config?
Here are the configs from 3 of the phones (will check remaining phones during the day):

Phone 1:
ip paramater
ip mode: dynamic
ip address: 10.5.13.150
subnet: 255.255.255.240
router: 10.5.13.145
tftp1: 10.5.13.146
tftp2: 255.255.255.0
tftp port: 69
cpu1: 10.5.13.146
cpu2: 255.255.255.0
use VLAN: no
Vlan ID: 4095
strict VLAN: yes
DHCP UserClass: no
class: iptouch.class0


Phone 2:
ip paramater
ip mode: dynamic
ip address: 10.5.13.157
subnet: 255.255.255.240
router: 10.5.13.145
tftp1: 10.5.13.146
tftp2: 255.255.255.0
tftp port: 69
cpu1: 10.5.13.146
cpu2: 255.255.255.0
use VLAN: no
VLAN ID: 7
strict VLAN: yes
DHCP UserClass: no
class: iptouch.class0

Phone 3:
ip paramater
ip mode: dynamic
ip address: 10.5.13.147
subnet: 255.255.255.240
router: 10.5.13.145
tftp1: 10.5.13.146
tftp2: 255.255.255.0
tftp port: 69
cpu1: 10.5.13.146
cpu2: 255.255.255.0
use VLAN: no
VLAN ID: 4095
strict VLAN: yes
DHCP UserClass: no
class: iptouch.class0

ipconfig from my pc:

:\Users\username>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : pc-name
   Primary Dns Suffix  . . . . . . . : domain-name
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : domain-name

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . : domain-name
   Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
   Physical Address. . . . . . . . . : 50-E5-49-BB-AF-6C
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.0.120(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : 28 January 2013 07:01:11 AM
   Lease Expires . . . . . . . . . . : 05 February 2013 07:01:11 AM
   Default Gateway . . . . . . . . . : 192.168.0.1
   DHCP Server . . . . . . . . . . . : 192.168.0.254
   DNS Servers . . . . . . . . . . . : 192.168.0.254
                                       192.168.0.245
   NetBIOS over Tcpip. . . . . . . . : Enabled


C:\Users\lmey>
And all of these devices are on the "core switch", apparently on the same untagged vlan?
What vlan is port25 on the core switch?
port 25 is just an unused port.  if i plug an Ip phone on the default vlan on the core switch, there is no problem, it boots up, finds the PABX and life goes on.  however only one Ip phone is needed that building.  All the rest of them are required in other buildings.  

Red House Switch - 192.168.2.1/24
Academy Switch - 192.168.4.1/24
Main Building Switch - 192.168.3.1/24
Lab Switch - 192.168.5.1/24

if i plug an Ip phone into any of those switches, i get no connection to the pabx.
What I still don't understand is how you get a 10.5.13.x address for a phone and a 192.168.0.x for a PC, both from DHCP, on the same vlan...
Most likely you'll be able to use your phones from the other vlans, if we figure out what options you need to give them to get these 2:

tftp1: 10.5.13.146
cpu1: 10.5.13.146
had a chat with the guy that installed the system a few min ago.  he says they dont get the ip from the PABX, they are manually programmed with the IP addresses.

He doesnt know much about HP switches only Alcatel switches and then he just "taggs" the ports that the phones get plugged into.....
Okay, that kinda makes sense.
Although, the line
ip mode: dynamic
would suggest to me that the phones get the IP from DHCP, but if your man says otherwise, I believe him.

Tha PABX is programmed with a gateway of 10.5.13.145, so we'll need to assign that as a secondary IP for vlan1 on the core switch. Not sure if the 1910 supports secondary addresses, though...
Once that's done, manually assign an IP from the appropriate vlan for a phone, keep the tftp1 and cpu1 addresses on 10.5.13.146, and make sure you don't firewall traffic between the vlans, and it should work.

A nicer solution would be, instead of using a secondary address on vlan1, to move all 10.5.13.x addresses to a new vlan, like the already mentioned vlan7, at least on the core switch.
i would prefer the "nicer" way myself.  

Do i then just create a vlan7 on each of the switches, and tag the IP Phones onto those vlans?

This HP1910 is soon to be replaced by and 2910-24G al.  In the meantime i can also swap it out with an procurve 2824 if that will provide me with more options?
The next downtime that is available to me is Feb 8, 9, 10.  will give fee back after that.
ASKER CERTIFIED SOLUTION
Avatar of luddiemey
luddiemey

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
RTFM :(