Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-07-2009, 03:33 PM   #1
LQ Newbie
Registered: Dec 2008
Posts: 19

Rep: Reputation: 1
FreeRadius: Dynamic vlan assignment

I am trying to configure FreeRadius server on a RHEL5 server to respond 802.1x authentication request and assign vlans based on username.

I have very simple network environment (for testing purpose). I have a Cisco 3750 switch and I have the server and a Windows XP laptop on the switch. I have configured the laptop to use EAP-MD5 for 802.1x authentication and the server is responding fine but I can't make the server assign the right vlan for the laptop.

Here is my user config file:
test Cleartext-Password := "test"
Service-Type = Framed-User,
Tunnel-Type = VLAN,
Tunnel-Medium-Type = 802,
Tunnel-Private-Group-ID = 2

I also captured the packets sending from the server to the switch and looks like the attributes are all there... However the switch is not assigning the vlan as I expected. I don't know if its because of wrong server configuration or switch configuration. Can anybody please verify the configuration on the server is right? Thank you!
Old 12-08-2009, 07:47 PM   #2
LQ Newbie
Registered: Dec 2008
Posts: 19

Original Poster
Rep: Reputation: 1
Still no reply... I guess not too many are using Linux and Cisco together... But it has to be done! Please help!! Thanks!!!
Old 02-27-2015, 09:57 AM   #3
LQ Newbie
Registered: Feb 2015
Posts: 1

Rep: Reputation: Disabled
Same situation

Hi, I know it's very late, but I'm configuring a freeradius with cisco catalyst 2950 and I encountered the same problem : the switch doesn't assign the vlan as I expect.

Did you find a solution ?

Pardon me for my english, it's not my mother's tongue =)

Best regards


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
VLan help on Cisco 870 to Linux vlan spide21 Linux - Networking 4 07-30-2009 09:20 AM
information dynamic MAC address assignment data link layer ( patent holder qualcomm ) aux General 1 05-07-2008 03:22 AM
VLAN configuration - native VLAN and setting PVID kumarwaiting Linux - Networking 0 07-24-2006 03:51 AM
Setting a VLAN a dynamic IP address? cjs500 Linux - Networking 0 04-25-2005 12:26 AM
Last assignment and I am lost Veteq Programming 2 08-12-2004 02:55 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration