[Last Call] Learn how to a build a cloud-first strategyRegister Now


Auto VLAN Assignment with DHCP

Posted on 2012-08-31
Medium Priority
Last Modified: 2012-08-31
I am configuring a new Cisco 2960 switch stack.  I would like this switch stack to support 3 different VLANs.  One for voice, one for video and one for data.

Each workstation cubicle connected to this switch stack will have 3 or 4 network jacks and any one jack could have a PC, Phone, or video device connected to it.

What I would like to do is setup the switch stack so that when a device is connected to one of the ports it will request a DHCP address.  I would like to have the DHCP response to the device also indicate what VLAN they become a member of.

The VOIP phone is a Cisco Phone and the PC will be an IBM desktop or laptop and the video device could vary and the DHCP server is a Microsoft DHCP 2008 server.

Are there any DHCP options that can be returned to help accomplish this or is this more of a switch configuration task?
Question by:KGaudineer-
  • 2
  • 2
LVL 10

Accepted Solution

qbakies earned 2000 total points
ID: 38354520
You are talking about VMPS (VLAN Management Policy Server).  It can be great in a large organization but you have to have a high end switch to act as the server so you are out of luck with that 2960.  I don't even think those can be VMPS clients but I'm not sure.  Here are a couple of articles you can look at.


Unfortunately it seems to me your only way of getting this working is to draw up a good network diagram and assign the ports as usual.  However, since you have VOIP and Cisco phones why aren't you just using the phone inline with the PC?  Then you put all the ports into a User VLAN and a Voice VLAN and you are good to go.  The video devices would have to be put on a separate VLAN but do you really have that many of those?  This doesn't really seem that bad.

Author Comment

ID: 38354741
I was afraid of that...  This is one one of those projects that runs out of money just before you hit the last mile.  I have a group of around 300 that will be moving off campus.  We have dark fiber under ground so their switch stack will still come back to our core just like any other VLAN.  The origional network roll out was for everyone to leave their old phones at their desk and we would provide the phone at the new location.  So we were just going to have their desk side equipment plug into the phone.  ( This is where the money thing comes in).  Apparently funds came up a little short so not everyone will be able  leave their phone at their desk.  Some will bring their phone with them and we will phase those out over time.   Now I will have a mix of equipment and all of the patch cords are in place.  I was thinking if I could use the DHCP server to help place the end user in the right VLAN and I could save some work on the VLAN setup and the user would be free to use any data jack available at their desk.

We don't have a lot of video, only around 8 units in this location, but they are mobile so anyone could have a video cart in their work area at any given time.
LVL 10

Expert Comment

ID: 38354845
What are the core switches at the main office?  If they aren't able to do VMPS it looks like you are going to have to rely on accurate drawings and put ports in VLANs manually.  Also have to make sure the label from the jacks in the cube match the patch panel to ensure things are plugged in correctly.

What I have always done is install different colored jacks in the cubes for the different uses to makes things easier.

White = Network
Black = Video
Green = Phone

That way when users are plugging things in you give them a simple-to-follow set of directions for which devices plugs into which jack.  Good luck.

Author Comment

ID: 38356075
Thats where we are at....  May not have the budget dollars to replace jacks in cubes but we are going back and replacing patch cables.....

White = Phone
Blue = Video....

We will keep the info on hand for additional builds in this area so we can auto assign vlans

thanks again

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you’re like me and you like peace and quiet, saving money, and pretty lights, then this article is for you. For financial reasons, I buy all the Cisco equipment for my home lab second-hand. The first thing to wear out is usually one of the coo…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Screencast - Getting to Know the Pipeline
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month18 days, 10 hours left to enroll

834 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