Community discussions

MikroTik App
 
zizobaddy
Member Candidate
Member Candidate
Topic Author
Posts: 115
Joined: Mon Sep 13, 2010 10:13 am
Location: Osogbo
Contact:

Unlimited speed for lan connection when using queues

Thu Feb 27, 2014 12:10 am

Dear All

I have been trying to configure unlimited speed for lan connection when queues are enable how ever its the very old walkthrough i see around

Please does anyone know how to go about this in the v6.9 router os?
 
jaykay2342
Member
Member
Posts: 336
Joined: Tue Dec 04, 2012 2:49 pm
Location: /Vigor/LocalGroup/Milky Way/Earth/Europe/Germany

Re: Unlimited speed for lan connection when using queues

Thu Feb 27, 2014 8:22 pm

here is how i do it:

you local network is 10.182.0.0/16 - i mark the none-local traffic which should be shaped by queues.
/ip firewall mangle
add action=mark-packet chain=prerouting dst-address=!10.182.0.0/16 in-interface=w1 new-packet-mark=p2m-up-traffic
add action=mark-packet chain=postrouting new-packet-mark=p2m-down-traffic out-interface=w1 src-address=!10.182.0.0/16
and here my queues. you can also use other types of queues. important is that you select the traffic by it's mark
/queue type
add kind=pcq name=pcq-down-10M pcq-burst-rate=20M pcq-burst-threshold=7M pcq-burst-time=30s pcq-classifier=dst-address \
    pcq-dst-address-mask=24 pcq-dst-address6-mask=64 pcq-limit=15 pcq-rate=10M pcq-src-address-mask=0 \
    pcq-src-address6-mask=64
add kind=pcq name=pcq-up-512k pcq-classifier=dst-address pcq-dst-address-mask=0 pcq-dst-address6-mask=64 pcq-limit=10 \
    pcq-rate=512k pcq-src-address-mask=24 pcq-src-address6-mask=64
/queue tree

add max-limit=25M name=p2m-down packet-mark=p2m-down-traffic parent=global queue=pcq-down-10M
add max-limit=1M name=p2m-up packet-mark=p2m-up-traffic parent=global queue=pcq-up-512k

 
zizobaddy
Member Candidate
Member Candidate
Topic Author
Posts: 115
Joined: Mon Sep 13, 2010 10:13 am
Location: Osogbo
Contact:

Re: Unlimited speed for lan connection when using queues

Sat Mar 15, 2014 2:31 am

Hi

Thanks for your help

Quick one pls "w1" is the wan interface ryt?
 
jaykay2342
Member
Member
Posts: 336
Joined: Tue Dec 04, 2012 2:49 pm
Location: /Vigor/LocalGroup/Milky Way/Earth/Europe/Germany

Re: Unlimited speed for lan connection when using queues

Sat Mar 15, 2014 10:14 am

no W1 is the Wireless interface where all the users are connected at. story behind is we have a community network with smaller uplinks so we need so shape the internet traffic a bit, but we want that internal traffic between the users is unlimited
 
zizobaddy
Member Candidate
Member Candidate
Topic Author
Posts: 115
Joined: Mon Sep 13, 2010 10:13 am
Location: Osogbo
Contact:

Re: Unlimited speed for lan connection when using queues

Sun Mar 23, 2014 3:59 pm

Thanks it worked perfectly

Who is online

Users browsing this forum: d513, jaclaz, jmrp87, quanbau and 126 guests