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!
|