Radius Sever - Dynamic Vlan and Rate Limit Configuration
2015-06-16 19:51
302 查看
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
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
相关文章推荐
- hdu1215七夕节
- Git
- Java Client for Google Cloud Storage
- 10款最好的Python IDE
- 转换坐标系的两种方式
- 如何用互联网上的广告来赚取广告费——有点吹牛吗?
- 淘宝oauth2.0授权流程
- leetcode--CountCompleteTreeNodes
- lvs(+keepalived)、haproxy(+heartbeat)、nginx 负载均衡的比较分析
- 笔试面试-2015华为软件开发实习生
- 谷歌、百度、1万ip能赚多少钱?1000IP能够值多少钱呢?
- EMC测试开发实习生面试记录
- TFS 2010 使安装更容易,让VSS历史
- hdu120118岁生日
- Java 字符串分隔 split
- js--小结②
- 商品详情的图片选项展示
- Django开发问题总结
- QT stylesheet 操作
- C 语言变长数组 struct 中 char data[0] 的用法