Beginner needs help with queues RB493 OS5

Hello,

I am a MikroTik beginner. I bought an RB493 and need to share a VSAT link with 5 offices. I have configured a WAN and five LAN ports (L1, L2..L5), each a different ethernet interface and network. That’s working OK. We need to calculate the needs of the 5 customers and then set the VSAT link QoS to cater for it.

Each customer needs a QoS and a hotspot. I want to limit traffic overall for each LAN, not for each user. They will get whatever is available.

My question is just to ask any more experienced MikroTik users if they would be so kind as to check my planned config. Thanks!

The requirements are (using kbps downloading/uploading)

L1 512/256 contention 8:1 = CIR 64/32 BIR 512/256
L2 256/128 contention 8:1 = CIR 32/16 BIR 256/128
L3 512/128 contention 4:1 = CIR 128/64 BIR 512/128
L4 256/128 contention 4:1 = CIR 64/32 BIR 256/128
L5 384/64 contention 8:1 = CIR 48/8 BIR 384/64

If I am correct, I would need the VSAT link (WAN) to provide CIR 336/152 BIR 512/256

(p.s. I am a beginner at this so very probably I am making mistakes…)

Presuming the above is correct, then from what I gather I need to set Queues for each ethernet port L1-L5. I am using Winbox and OS5. In queues see two tabs, General and Advanced. Advanced seems to be about limiting by protocol so i will leave that with default unlimited settings.

In Queues > General, using L1 as the example, what settings for rate limit and burst, burst threshold and burst time would I use to give that QoS? Would it be:

rate limit 64/32
burst limit 512/256
burst threshold (not sure, somewhere in between CIr and burst limit??)
burst time 1 second (what is the optimum??)

Second question, with the above, let’s say only L2 is active. All the other LANs are not being used. Therefore we should have access to the bandwidth pool available from the WAN. So why not set the BIR for all the LANs to the max available (in this case 512/256??) My confusion is, if that is so, then the contention rate value becomes meaningless. For billing purposes I need to discriminate between L1 and L4, which have the same CIR. Is there a technique that can get around this?

I would be very grateful for any advice from someone who has done this before!

maybe the simple way is using simple queues :
ex,
(internet)—(mikrotik)—client1
—client2
—client3
—clientn

read this http://wiki.mikrotik.com/wiki/Manual:Queue
or this http://wiki.mikrotik.com/wiki/Manual:Queues_-_PCQ_Examples
hth