Reply To: Banded approach to bandwidth?

Home Page Forums Network Management ZeroShell Banded approach to bandwidth? Reply To: Banded approach to bandwidth?

#47388

grunties
Member

I’m still having difficulties with it. I’ve installed a test ZS box bridged into a test server.

Here are my Class Managers:
Default, no limit
Limit01, 1Mb/s
Limit02, 500Kb/s
Limit03, 256Kb/s

In the Classifier, this is what I’ve got now:


1 * * MARK all opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 connbytes ! 5242880:4294967295 connbytes mode bytes connbytes direction both MARK set 0xa DEFAULT no
2 * * MARK all opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 connbytes ! 4194304:4294967295 connbytes mode bytes connbytes direction both MARK set 0xd LIMIT03 no
3 * * MARK all opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 connbytes ! 3145728:4294967295 connbytes mode bytes connbytes direction both MARK set 0xc LIMIT02 no
4 * * MARK all opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 connbytes ! 2097152:4294967295 connbytes mode bytes connbytes direction both MARK set 0xb LIMIT01 no

I’ve tired reversing the order, but cannot seem to figure it out. Taking out the default class from the chain, etc.

What I’m trying to do is create a tiered approach where the default class has unlimited bandwidth <10MB, the Limit01 @1Mb/s from 10Mb to 20Mb, the Limit02 @500Kb/s from 20Mb to 30Mb, Limit03 @256Kb/s from 30Mb on. Ideally, that is what I'd like, but I've changed the limits in the classifier because I wanted to see quickly if it was working.

Another problem, I didn’t know if “Traffic per connection” should be “more” or “less” with respect to the connection. I’ve tried both settings and then reversing the order again to no avail.

Thanks for you help on this, it’s very beneficial!

Regards