Community discussions

MikroTik App
 
InfoSolTech
just joined
Topic Author
Posts: 17
Joined: Thu Aug 06, 2009 6:31 am

split bandwidth for Dedicated and shared internet RB3011

Wed Jan 10, 2018 9:55 am

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.
 
User avatar
sebastia
Forum Guru
Forum Guru
Posts: 1782
Joined: Tue Oct 12, 2010 3:23 am
Location: Antwerp, BE

Re: split bandwidth for Dedicated and shared internet RB3011

Wed Jan 10, 2018 1:42 pm

I would help to list what you've got already, so any missing pieces could be added. Would you mind listing (relevant) config?
 
InfoSolTech
just joined
Topic Author
Posts: 17
Joined: Thu Aug 06, 2009 6:31 am

Re: split bandwidth for Dedicated and shared internet RB3011

Wed Jan 10, 2018 1:50 pm

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.
 
User avatar
IPATEAM
newbie
Posts: 26
Joined: Mon Jan 08, 2018 8:28 pm
Contact:

Re: split bandwidth for Dedicated and shared internet RB3011

Wed Jan 10, 2018 6:37 pm

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.
 
InfoSolTech
just joined
Topic Author
Posts: 17
Joined: Thu Aug 06, 2009 6:31 am

Re: split bandwidth for Dedicated and shared internet RB3011

Wed Jan 10, 2018 7:29 pm

/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.
 
User avatar
IPATEAM
newbie
Posts: 26
Joined: Mon Jan 08, 2018 8:28 pm
Contact:

Re: split bandwidth for Dedicated and shared internet RB3011

Wed Jan 10, 2018 8:07 pm

/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.
 
InfoSolTech
just joined
Topic Author
Posts: 17
Joined: Thu Aug 06, 2009 6:31 am

Re: split bandwidth for Dedicated and shared internet RB3011

Wed Jan 10, 2018 8:14 pm

/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
 
InfoSolTech
just joined
Topic Author
Posts: 17
Joined: Thu Aug 06, 2009 6:31 am

Re: split bandwidth for Dedicated and shared internet RB3011

Wed Jan 10, 2018 8:24 pm

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 :-)