Solved

Cisco 2910al Switch setup

Posted on 2011-02-14
7
896 Views
Last Modified: 2013-12-09
Im more of a Cisco guy, but have a 2910al HP Switch im trying to setup..  In terms of vlans I want one voice and one data vlan.  Both will run off the same port (meaning PC plugged into phone, phone into switch).  I have a dhcp server (win2k8) that will run both scopes.  Whats the HP equivalent of switchport voice vlan?
The default vlan is already setup so guessing thats 1, and they are all untagged by default
I setup vlan 2.  I think to make them run 2 vlans they need to be "trunk" ports which mean TAGGED on vlan 1 and 2, that sound right?  Then how does it know to give PC vlan1 and phone vlan2 IP address?
0
Comment
Question by:rhwimmers
  • 4
  • 3
7 Comments
 
LVL 57

Accepted Solution

by:
giltjr earned 125 total points
Comment Utility
Trunk in the Cisco world is the same as tagged in the rest of the world.

Is your phone a physical phone or soft phone (program running on your computer)?

If physical phone, then phone would connect to the switch port and your computer to the phone.

The phone would then be configured to tag the traffic with the appriorate VLAN id.  In some instances only the voice traffic is tagged, the data traffic is left untagged which means the switch will (should) tag it with the default VLAN for that port.

If your phone is a soft phone the same theory holds true, but everything is done from the computer.
0
 
LVL 1

Author Comment

by:rhwimmers
Comment Utility
Physical phones.  The default vlan 1 is all untagged and doesnt appear I can change the default.

It seems as though I leave vlan 1 all untagged for data, and then vlan 2 tagged for the VoIP vlan.  Do I use 2 NICs from my dhcp server (1 voice one data), or do I just turn on routing on the switch between the 2 vlans?  Any option better than the other?

It seems as though if I tag vlan 1 I hose myself and have to reset the switch.  I thought I would tag vlan 1 and 2 so it would be a trunk port but seems as though untag vlan 1 and tag vlan 2 if I want voice and data to work on the same port...
0
 
LVL 1

Author Comment

by:rhwimmers
Comment Utility
Ok so when I do untag vlan 1 and tag vlan 2 I get no DHCP on the data vlan (not sure on voice, trying to get data working first!
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 57

Expert Comment

by:giltjr
Comment Utility
I'm not sure if HP supports it, I'll try and see if I can find any doc, but in the Cicso world you can code a IP forwarder address to forward bootp requests to a DHCP server.  

I beleive the DHCP server must be on a switch port that has both (all) VLAN's so that it can identify which VLAN the request came from so it can provide the correct IP address.

This way you don't need to have multiple NIC's on your DHCP, or multiple DHCP servers.
0
 
LVL 57

Expert Comment

by:giltjr
Comment Utility
O.K.  It seems the 2910 may have ip helper function just like Cisco. You can read this post to see if it helps:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1297795700206+28353475&threadId=1369549
0
 
LVL 1

Author Comment

by:rhwimmers
Comment Utility
Ok was able to get 2 vlans setup and not use the native vlan 1.  One VoIP (with QOS) and 1 data.

Console in (have to do this to disable native vlan of 1) - create vlan 10 (or whatever number you want) for data, create vlan 20 for voice (again, number of your choice).
Set vlan 10 to default vlan, then set all ports to UNTAGGED
Set vlan 20 to TAGGED for any port that will have your VoIP traffic.  This is telling the switch that the packet will already have the packet tagged for vlan 20 (we manually typed this on our phones).
If you want a server in the 20 vlan then put that port to UNTAGGED in vlan 20.

Tagging options as best as I could figure out
NO - means that it will ALLOW traffic from other vlans on this port, but it is not the native vlan
Untagged - means to put all traffic on this port in that vlan (IE - PCs, as they dont specify what vlan they are in)
Tagged - means traffic is ALREADY tagged (phones)
Forbid - never used but guessing it would just not allow that vlan traffic from hitting it at all.

After ports are correct type ip routing to enable routing.  I did a route (voip traffic ip) vlan 20 (so it knew where all the VOIP traffic needed to get to.  Then do a 0.0.0.0 0.0.0.0 route that would go to your actual router or firewall (or last point before the internet.
I gave my vlan 10 and vlan 20 an ip address, and those IPs are what I used as the default gateway for each phone.

Trunk in HP means "port channel" in Cisco, meaning combining multiple ports for higher bandwidth.

So in summary, if your end device is putting the vlan tag on the frame - you set it for TAGGED (usually phones)
If your end device is NOT tagging the frame but you want it in a particular vlan, its UNTAGGED

You can only have one vlan as untagged obviously - so for a VoIP scenario where you have your PC plugged into your phone and phone into the switch - you do the untagged vlan as data, and tagged as VoIP and you will have good success.
Also, you do need the ip helper command to allow DHCP to forward its packets to the VoIP vlan (so in vlan 20 type ip helper x.x.x.x, where x.x.x.x is the ip of your dhcp server).

Hope this helps prevent the pain this caused me!
0
 
LVL 1

Author Closing Comment

by:rhwimmers
Comment Utility
Thanks for getting me in the right direction.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
LAN or WAN ? 11 58
FTP output from Wireshak 6 47
ESXi VLAN Lab 2 32
Upgrading Cisco 1142N lightweight wireless access point 2 21
Using in-flight Wi-Fi when you travel? Business travelers beware! In-flight Wi-Fi networks could rip the door right off your digital privacy portal. That’s no joke either, as it might also provide a convenient entrance for bad threat actors.
Let’s list some of the technologies that enable smooth teleworking. 
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now