You have to send some attributes to the switch. I am using Cisco switches and here are the attributes that I need to send to the switch to switch the port to VLAN 3:
bob Cleartext-Password := "test" Tunnel-Type:0 = VLAN, Tunnel-Medium-Type:0 = IEEE-802, Tunnel-Private-Group-Id:0 = "3", Tunnel-Preference = 0x000000 Other switch vendor may use different attributes. I add these attributes in the "users" file. I am not using SQL. Don't know how to pull the attributes via sql... Hope it helps, Difan Zhao M.Eng Network Engineer difan.z...@guest-tek.com www.guest-tek.com Office: 403-509-1010 ext 3048 Cell: 403-689-7514 -----Original Message----- From: freeradius-users-bounces+difan.zhao=guest-tek....@lists.freeradius.org [mailto:freeradius-users-bounces+difan.zhao=guest-tek....@lists.freeradi us.org] On Behalf Of Fabien COMBERNOUS Sent: Tuesday, April 20, 2010 9:06 AM To: freeradius-users@lists.freeradius.org Subject: VLAN Attribute ? Hi, I'm seting up a FreeRadius Server using SQL backend to store informations about NAS, Users and Groups. I search the Attribute to use to allow a group in a VLAN of my switch. My setup permit to authenticate a user and the group of the user. But what is the attribute to use in table radreply or radgroupreply to put the port of my switch in the good vlan ? Best regards, -- *Fabien COMBERNOUS* /unix system engineer/ www.kezia.com <http://www.kezia.com/> *Tel: +33 (0) 467 992 986* Kezia Group - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html