Community discussions

MikroTik App
 
ssozonoff
just joined
Topic Author
Posts: 5
Joined: Fri Nov 02, 2012 1:21 pm

Bandwidth management help

Mon Jan 07, 2013 12:07 pm

Hi All,

Wondering if anyone can point me in the right direction.

I am trying to setup PCQ based bandwidth management for guest users of our network however I can figure out how to correctly tag the inbound traffic from our GW to the guest subnet.

If I just specify the GW interface as the inbound interface it works fine but of course this applies to all subnets and not just the guest subnet. If I add the guest subnet to the DST Address then nothing gets marked.

Clearly something I am missing here.

Thanks,
Serge
 
mixig
Member
Member
Posts: 315
Joined: Thu Oct 27, 2011 2:19 pm

Re: Bandwidth management help

Mon Jan 07, 2013 12:25 pm

Read this first:
http://wiki.mikrotik.com/wiki/Manual:Queues_-_PCQ

and after that try with this setup (change the subnet when configuring target addresses):
http://wiki.mikrotik.com/wiki/Manual:Qu ... Q_Examples
 
ssozonoff
just joined
Topic Author
Posts: 5
Joined: Fri Nov 02, 2012 1:21 pm

Re: Bandwidth management help

Mon Jan 07, 2013 1:13 pm

Thanks I have read those already
If you don't like using mangle and queue trees, you can skip step 1, do step 2, and step 3 would be to create one simple queue as shown here:

/queue simple add target-addresses=192.168.0.0/24 queue=PCQ_upload/PCQ_download \
   packet-marks=client_download,client_upload
Interestingly this solution is not supposed to use packet marks according to the text above the example but clearly it still relies on packet marks.

So I doubt it would work if I "you can skip step 1" as described.

Thanks,
Serge
 
mixig
Member
Member
Posts: 315
Joined: Thu Oct 27, 2011 2:19 pm

Re: Bandwidth management help

Mon Jan 07, 2013 6:03 pm

Well, you can accomplished that with two method, as example is showing, step 1 and step 2

if you are using step 2 you can skip step 1. Why? Because in step one we are marking out interesting traffic. How? By selecting the Interface where we want to do "action". In this case this is LAN interaface, or we can say it is local subnet, eg. 192.168.0.0/24 and that is out interesting traffic (traffic from ip addresses which belong to 192.168.0.0/24 sunet) and then we are marking that traffic.

in step 2 we are doing the same thing, we are doing the action for traffic whic is based on target address= 192.168.0.0/24 nad then creating simple queue for the action.

you can also check the video on http://www.tiktube.com from janis megis

http://www.tiktube.com/video/JpcD3eCChq ... xClIoEKDH=

http://www.tiktube.com/video/mJeK3iHGhL ... vnlIomlpG=

Who is online

Users browsing this forum: maldridge, Semrush [Bot] and 96 guests