382
A
PPENDIX
B: RADIUS S
ERVER
AND
RADIUS C
LIENT
S
ETUP
b
Edit the existing file
dictionary
in
/usr/local/etc/raddb
to add the
following line:
$INCLUDE dictionary.3Com
The new file
dictionary.3Com
will be used in configuring the FreeRADIUS
server
3
Locate the existing file
users
in
/usr/local/etc/raddb
and for each user
authorized to administer the Switch 4500:
a
Add an entry for Switch Login. For example
user-name Auth-Type = System, 3Com-User-Access-Level =
Administrator
This indicates that the server should return the 3Com vendor specific attribute
3Com-User-Access-Level
in the Access-Accept message for that user.
b
Add an entry for Network Login. For example
user-name Auth-Type := Local, User-Password == "password"
4
Run the FreeRADIUS server with
radiusd
, to turn on debugging. so you can see
any problems that may occur with the authentication:
cd /usr/local/sbin
./radiusd -sfxxyz -l stdout
Setting Up Auto VLAN and QOS using FreeRADIUS
It is slightly more complex to set up auto VLAN and QoS using FreeRADIUS, as the
dictionary file needs to be specially updated.
1
Update the
dictionary.tunnel
file with the following lines:
ATTRIBUTE
Tunnel-Type 64 integerhas_tag
ATTRIBUTE
Tunnel-Medium-Type 65 integerhas_tag
ATTRIBUTE
Tunnel-Private-Group-Id 81 stringhas_tag
VALUE
Tunnel-Type VLAN 13
VALUE
Tunnel-Medium-Type TMT802 6
2
Locate the file
users
in
/usr/local/etc/raddb
and add the return list attributes
to the user. For example:
bob
Auth-Type := Local, User-Password == "bob"
Tunnel-Medium-Type = TMT802,
Tunnel-Private-Group-Id = 2,
Tunnel-Type = VLAN,
Filter-Id = "profile=student"
In the example above, Tunnel-Medium-Type has been set to TMT802, to force
FreeRADIUS to treat 802 as a string requiring to be looked up in the dictionary and
return integer 6, rather than return integer 802 which would be the case if
Tunnel-Medium-Type was set to 802.
Setting Up the RADIUS
Client
This section covers the following RADIUS clients:
■
Windows 2000 Built-in Client
■
Windows XP Built-in Client
■
Aegis Client Installation
Summary of Contents for Switch 4500 26-Port
Page 16: ...14 ABOUT THIS GUIDE...
Page 58: ...56 CHAPTER 2 PORT OPERATION...
Page 104: ...102 CHAPTER 5 NETWORK PROTOCOL OPERATION...
Page 130: ...128 CHAPTER 6 IP ROUTING PROTOCOL OPERATION...
Page 154: ...152 CHAPTER 7 ACL CONFIGURATION...
Page 228: ...226 CHAPTER 11 802 1X CONFIGURATION...
Page 250: ...248 CHAPTER 14 DEVICE MANAGEMENT...
Page 280: ...278 CHAPTER 15 SYSTEM MAINTENANCE AND DEBUGGING...
Page 312: ...310 CHAPTER 18 NTP CONFIGURATION...
Page 340: ...338 CHAPTER 19 SSH TERMINAL SERVICES...
Page 350: ...348 CHAPTER 20 PASSWORD CONTROL CONFIGURATION OPERATIONS...
Page 388: ...386 APPENDIX B RADIUS SERVER AND RADIUS CLIENT SETUP...