Internet prioritization and queues between user groups.

I am busy setting up my main router for a ISP i am setting up and i have found a problem with my current setup and i need to address it.

I will have 4 “Groups” of users:

1: 128 kbps
2: 256 kbps
3: 386 kbps
4: 512 kbps

Ok now if i limit them in User Manger it will work but say the network is busy and the data overrides the internet connection then according to me all users will be the same speed as they will all be slow.

I need to some how give priority to group 4 over group 3 etc so that when the network is busy the 512 users must experience a faster internet even though it might not be their full 512.

Now another way i though i could go about doing it is breaking up my 4096kbps line into 128 * 32kbps pieces and then use a algorithm to distribute the 32kbps parts to each user according to its group in certain proportions/

I am probably over thinking this and there is a Protocol that does what i need!


I know I might be abit vague or not explain my self correctly. So please request information that you need.

But ultimately I am trying to incorporate a prioritization system on my network according to the number of users connected, the speed group they in and the speed of my internet connection,

I also will be providing VoIP so I need to implement a VoIP (TOP PRIORITY) within the network and the internet connection

well, maybe undocumented feature (haven’t checked manual recently), but queues borrow from parent’s bandwidth proportionally to ‘limit-at’ value. you may use that

Can you explain further?

Is it not possible to add a routing mark on the CPE so liek attach a 1 to the packet.

And then all hubs,switches,bridges, routers will process a packet with 1 before a packet with a 2.

Or should i just setup Queues and have different IP POOLS for each user group. So give each ip range a priority.

And then for the VoIP i can have a que with destination address of the PBX server and give that higher priority. But that will only work for packest going TO the PBX and not COMING from the PBX?

Parent, max-limit=10M
  |
  |-- Leaf1, max-limit=10M, limit-at=2M
  |
  `-- Leaf2, max-limit=10M, limit-at=4M

if both leaves have a heavy traffic and have equal priority, traffic will be divided not 1:1 (5M:5M), but 2:4 (3.3M:6.7M)

that’s about your “groups”

Oh i see.

So i would have 4 leaves right?

What routing process or thingy must i use to implament that? Can u give me a wiki link? So i can try and battle it out.

Thanks

yes, 4 leaves. by the way, if you want strict priority, you may just use ‘priority’ parameter of the queue…

how do you shape it now?..

Userman :


So is that whole tree leaf thing under Queues? How do i go about setting it up?