330
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
Содержание 400 Family
Страница 12: ......
Страница 16: ...14 ABOUT THIS GUIDE ...
Страница 58: ...56 CHAPTER 2 PORT OPERATION ...
Страница 68: ...66 CHAPTER 3 VLAN OPERATION ...
Страница 98: ...96 CHAPTER 5 NETWORK PROTOCOL OPERATION ...
Страница 124: ...122 CHAPTER 6 IP ROUTING PROTOCOL OPERATION ...
Страница 156: ...154 CHAPTER 8 ACL CONFIGURATION ...
Страница 218: ...216 CHAPTER 11 802 1X CONFIGURATION ...
Страница 298: ...296 CHAPTER 13 PASSWORD CONTROL CONFIGURATION OPERATIONS ...
Страница 336: ...334 APPENDIX B RADIUS SERVER AND RADIUS CLIENT SETUP ...