Page 1 of 1

split bandwidth for Dedicated and shared internet RB3011

Posted: Wed Jan 10, 2018 9:55 am
by InfoSolTech
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.

Re: split bandwidth for Dedicated and shared internet RB3011

Posted: Wed Jan 10, 2018 1:42 pm
by sebastia
I would help to list what you've got already, so any missing pieces could be added. Would you mind listing (relevant) config?

Re: split bandwidth for Dedicated and shared internet RB3011

Posted: Wed Jan 10, 2018 1:50 pm
by InfoSolTech
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.

Re: split bandwidth for Dedicated and shared internet RB3011

Posted: Wed Jan 10, 2018 6:37 pm
by IPATEAM
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.

Re: split bandwidth for Dedicated and shared internet RB3011

Posted: Wed Jan 10, 2018 7:29 pm
by InfoSolTech
/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 .. :-D

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.

Re: split bandwidth for Dedicated and shared internet RB3011

Posted: Wed Jan 10, 2018 8:07 pm
by IPATEAM
/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 .. :-D

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.

Re: split bandwidth for Dedicated and shared internet RB3011

Posted: Wed Jan 10, 2018 8:14 pm
by InfoSolTech
/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? :-D

Re: split bandwidth for Dedicated and shared internet RB3011

Posted: Wed Jan 10, 2018 8:24 pm
by InfoSolTech
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 :-)