Assign VLAN via DHCP

Answered Question
Nov 5th, 2008

Does anyone know if this can be done to a workstation? I know phones can be done through option codes, but I think those codes are vendor specific. Is there an option that anyone knows of that will assign a workstation to a vlan?

Thanks!

John

I have this problem too.
0 votes
Correct Answer by dhananjoy chowdhury about 8 years 1 month ago

You need to configure dot1x authentication on the switch.

When the workstation connects to the switchport it will ask for authentication and on successfull authentication it will put in a particular vlan and on auth fail onto a different vlan.

Correct Answer by Jon Marshall about 8 years 1 month ago

John

There are 2 options that i know of

1) VMPS (Vlan Membership Policy Server) where you set up a database of workstation mac-addresses to vlan mappings. Very time consuming and i'm not aware of that many people using it. Old technology to a large extent replacd by

2) 802.1x - you can authenticate users/machines on the switches and do a dynamic vlan assignment based on their credentials. You need a AAA server and it again it is not something you configure in a couple of minutes :-)

I'm not aware of a way to do it via DHCP but others may know.

Jon

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
Jon Marshall Wed, 11/05/2008 - 08:54

John

There are 2 options that i know of

1) VMPS (Vlan Membership Policy Server) where you set up a database of workstation mac-addresses to vlan mappings. Very time consuming and i'm not aware of that many people using it. Old technology to a large extent replacd by

2) 802.1x - you can authenticate users/machines on the switches and do a dynamic vlan assignment based on their credentials. You need a AAA server and it again it is not something you configure in a couple of minutes :-)

I'm not aware of a way to do it via DHCP but others may know.

Jon

Correct Answer
dhananjoy chowdhury Wed, 11/05/2008 - 08:55

You need to configure dot1x authentication on the switch.

When the workstation connects to the switchport it will ask for authentication and on successfull authentication it will put in a particular vlan and on auth fail onto a different vlan.

Actions

This Discussion