Radius Sever - Dynamic Vlan and Rate Limit Configuration

来源:互联网 发布:软件模块设计文档 编辑:程序博客网 时间:2024/06/07 01:03

Radius: freeradius, software version: 1.1.7: OS: Fedore 8.

Configuration file location: /etc/raddb.

Configuration file list:

radiusd.conf, eap.conf, users.

/ect/raddb/users

# user for 802.1x authentication
test.user User-Password == test.user

# users for dynamic vlan
dept1.user User-Password == "dept1.user"
            Acct-Interim-Interval = 180,
            Tunnel-Type = VLAN,
            Tunnel-Medium-Type = IEEE-802,
            Tunnel-Private-Group-ID = 0010,           -> set vlan 10 for this user.
            WISPr-Bandwidth-Max-Up = 5000000,    -> client uplink rate limit.
            WISPr-Bandwidth-Max-Down = 6000000    -> client downlink rate limit.


dept2.user User-Password == "dept2.user"
             Acct-Interim-Interval = 180,
             Tunnel-Type = VLAN,
             Tunnel-Medium-Type = IEEE-802,
             Tunnel-Private-Group-ID = 0020,       -> set vlan as 20 for this user.
             WISPr-Bandwidth-Max-Up = 5000000,
             WISPr-Bandwidth-Max-Down = 6000000


0 0
原创粉丝点击