 | reply to treichhart
Re: What software do you use to manage your connection speeds? well how to do you manage the bandwidth with pppoe settings? |
|
 | Q. well how to do you manage the bandwidth with pppoe settings?
You mean like using Mikrotik to define the speed tiers and then let the Mikrotik assign the PPoE authenticated users to a specific speed tier? |
|
 RhaasPremium join:2005-12-19 Bernie, MO | reply to treichhart said by treichhart:well how to do you manage the bandwidth with pppoe settings? I use freeradius as my radius server and it is handled through Radius attributes (reply items). When a customer authenticates, the radius server sends back attributes which depending on the equipment allows you to control certain things. I use groups which allows me to define a set of reply attributes for a set group. I then assign a customer to a group.
For example,
Group 'A' (768k/256k speed tier) has the following attributes: Framed-IP-Netmask := 255.255.255.255 Mikrotik-Rate-Limit := 256000/780000 Session-Timeout := 84800
Group 'B' (6M/512k speed tier) has the following attributes: Framed-IP-Netmask := 255.255.255.255 Mikrotik-Rate-Limit := 512000/6400000 Session-Timeout := 84800
The attribute Mikrotik-Rate-Limit creates a simple queue in the router for that session that sets the speed as defined(upstream)/(downstream).
to change a customer from a 768k tier to a 6M tier is as simple as changing what group they belong to and having them restart their session (reboot or in my network wait the 24 hour timeout).
Non-pay customer have another group which changes the group of IP addresses they pull from, limits their connection to 12k/12k and sets their session timeout to 30 minutes: Mikrotik-Rate-Limit := 12000/12000 Framed-IP-Netmask := 255.255.255.255 Framed-Pool := nonpay-pool Session-Timeout := 1800 |
|