Radius Sever - Dynamic Vlan and Rate Limit Configuration

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
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值