split bandwidth for Dedicated and shared internet RB3011

Hello everybody,

I have WAN of 30 MB, currently all my shared internet users are on same bandwidth.. recently i received a request of dedicated bandwidht. Following is the scenario.

Out of that 30 MB, i want to:
Dedicate 5 MB for 192.168.1.40
dedicate 25 MB for 192.168.1.50 - 192.168.1.100 ip range


I have tried all preroutings & mark packet, followed by queues.. but nothing happened. can you please guide me with this.

I have RB3011UiAS, version: 6.39.2 (stable), build time: 6.39.2 (stable)

Thank you.

I would help to list what you’ve got already, so any missing pieces could be added. Would you mind listing (relevant) config?

I am just designing this…

I have PPPOE running..

all i want is to assign dedicated bandwidth to 1 IP and remaining CAP for rest of the IPs.

Greetings InfoSolTech, you could place all the settings here and that way it would be easier to help you.

/ip firewall mangle
add action=mark-packet chain=prerouting new-packet-mark=high_speed_packet
passthrough=no src-address=121.46.67.208

/queue tree
add max-limit=2M name=High_Speed packet-mark=high_speed_packet parent=global
queue=default

till now, i have done this, hope that this makes some sense .. :smiley:

Through this, i tried to get control on one ip, hence will change src address to src address list, and second rule for one ip.

first of all I will make a recommendation of best practices. you must mark connections and then mark packages.
second, work with simple queues.
you can append PCQ to your simple queues.
https://wiki.mikrotik.com/wiki/Manual:Queues_-_PCQ

I hope the information is of your help.

/ip firewall mangle
add action=mark-connection chain=prerouting new-connection-mark=high_speed_conn
passthrough=no src-address=121.46.67.192/26
add action=mark-packet chain=forward connection-mark=high_speed_conn
new-packet-mark=high_speed_packet passthrough=no

/queue tree
add max-limit=30M name=High_Speed packet-mark=high_speed_packet parent=global
queue=default


While testing rules, i had done this, and i can feel the change, even after viewing your reply, i think, i am at right point?

Right? :smiley:

Thank you for your recommendation, but simple queue actually bypasses the dynamic queues, the user with lower speed also start getting higher speed as set in queue to cap the bandwidth for IP range.

Queue Tree has Max Limit, does it mean Upload + Download, total limit?

Please clarify, and by the way, thanks for your help and concerns :slight_smile: