vlan assigment on called-station-id

A.L.M.Buxey at lboro.ac.uk A.L.M.Buxey at lboro.ac.uk
Thu Jul 14 16:48:48 CEST 2016


Hi,

> I try this, but can I use caled-id-station for this because
> NAS-IP-Address i have only one for two localization and i must use
> AP MAC address

sure you can!  just look at the atttributes available - both in the docs
but also if you run in debug mode, see whats in the packets coming to
your server!

obviously, you can also put entries in clients.conf etc

client example {
	ipaddr = 192.168.0.1
	nas_type = other
	secret = supersecret
	purpose = cleanroom
}


in unlang

if (%{client:purpose} == "cleanroom") {
 etc etc
 }


yes, you can make up anything in the client section and use as a tag....multiple tags...etc!

alan


More information about the Freeradius-Users mailing list