multiple MAC in calling-station-id

James Wakefield jamesw at deakin.edu.au
Wed Sep 27 12:22:40 CEST 2006


Collen Blijenberg wrote:
> Just a question...
> 
> we use 'Calling-Station-Id' for authenticate agains MAC address (and 
> username and passwd)
> 
> can i use multiple 'Calling-Station-Id' if some user account has, let's 
> say 3 laptops.. ??
> 
> or is there an other way to link multiple mac addresses to a user account ?


Hi Collen,

All the check items in the first line of a users file stanza must be 
matched for access to be granted.  You could try using multiple stanzas 
for each user who needs access from multiple Calling-Station-Ids, eg:

testcase1 User-Password == "12345", Calling-Station-Id == "00166f980e78"
	Reply-Item = "value"
	Other-Reply-Item = "other value"

testcase1 User-Password == "12345", Calling-Station-Id == "00166f97d99d"
	Reply-Item = "value"
	Other-Reply-Item = "other value"

Cheers,

-- 
James Wakefield,
Unix Administrator, Information Technology Services Division
Deakin University, Geelong, Victoria 3217 Australia.

Phone: 03 5227 8690 International: +61 3 5227 8690
Fax:   03 5227 8866 International: +61 3 5227 8866
E-mail:   james.wakefield at deakin.edu.au
Website:  http://www.deakin.edu.au



More information about the Freeradius-Users mailing list