PPPoe Attributes Question

Greetings all,

Long time Star-OS user first time mikrotik.
Very impressed thus far with the software on our test board and if we can sort out a few little issues we will probably be swapping most of our distribution boards over to mikrotik and phase out star-os.

We have a Test board working one of our sites with 15 customers connected to it.

With our setup here in Australia, where a GB of data is more expensive than Oil we have some requirements.

We use PPPOE to authenticate our customers and account for their data usage, We also like to shape our customers to 64/64k once they reach their data limit.

We also offer the standard of different speed plans.

Currently, the shaping and speed is all managed by our radius server. using the attributes:
VNC-PPPoE-CBQ-RX
VNC-PPPoE-CBQ-TX

However we have noticed that the customers at the moment have no limitation on speed, and are getting the maximum thought-put of their connections. This is VERY NOT good for us.

If there something we are missing to get this to work, i will kick myself later, But after using only star-os for 5 years learning something new and finding all the tricks will take some time :slight_smile:

Thanks guys in advance for your advice

Then simply change this attribute to Mikrotik-Rate-Limit as explained in http://www.mikrotik.com/testdocs/ros/2.9/guide/aaa_radius.php

But you have to integrate your two attributes to one, as the format is as followed:

Datarate limitation for clients. Format is: rx-rate[/tx-rate] [rx-burst-rate[/tx-burst-rate] [rx-burst-threshold[/tx-burst-threshold] [rx-burst-time[/tx-burst-time] [priority] [rx-rate-min[/tx-rate-min]]]] from the point of view of the router (so “rx” is client upload, and “tx” is client download). All rates should be numbers with optional ‘k’ (1,000s) or ‘M’ (1,000,000s). If tx-rate is not specified, rx-rate is as tx-rate too. Same goes for tx-burst-rate and tx-burst-threshold and tx-burst-time. If both rx-burst-threshold and tx-burst-threshold are not specified (but burst-rate is specified), rx-rate and tx-rate is used as burst thresholds. If both rx-burst-time and tx-burst-time are not specified, 1s is used as default. Priority takes values 1..8, where 1 implies the highest priority, but 8 - the lowest. If rx-rate-min and tx-rate-min are not specified rx-rate and tx-rate values are used. The rx-rate-min and tx-rate-min values can not exceed rx-rate and tx-rate values.

Here are some Rate-Limit examples:

  • 128k - rx-rate=128000, tx-rate=128000 (no bursts)
  • 64k/128M - rx-rate=64000, tx-rate=128000000
  • 64k 256k - rx/tx-rate=64000, rx/tx-burst-rate=256000, rx/tx-burst-threshold=64000, rx/tx-burst-time=1s
  • 64k/64k 256k/256k 128k/128k 10/10 - rx/tx-rate=64000, rx/tx-burst-rate=256000, rx/tx-burst-threshold=128000, rx/tx-burst-time=10s

How can you set the priority for a pppoe connection default is 8.
I have an issue when I try to do some QOS within mangle and simple queues. That when any pppoe connections happens it show up below the qos simple queues and the bandwidth limits from the pppoe connect have no effect the are unlimited.

As expected. See this: http://mum.mikrotik.com/presentations/EG07/sunday.pdf and this http://mum.mikrotik.com/presentations/US08/janism.pdf

Just an off topic question here, what is the differance between star-os and mikrotik and how have you found the change?

Pros vs Cons of each?

If you don’t mind…