Home > MikroTik RouterNetworking > ISP Bandwidth Management with MikroTik PCQ

ISP Bandwidth Management with MikroTik PCQ

MikroTik is an excellent router for managing ISP or local ISP client’s Bandwidth. There are various types of queue services in MikroTik router for managing internet bandwidth. Among them PCQ can specially used for maintaining ISP or local ISP bandwidth. So, this article is designed to show how to maintain ISP or local ISP client’s Bandwidth with PCQ service of MikroTik Router.

MikroTik PCQ Service

PCQ stands for Per Connection Queues. This service helps to maintain ISP or local ISP client’s Bandwidth so easily. As a network administrator of any ISP company you should have various offered bandwidth packages like 512kbps connection, 1Mbps connection or 2Mbps connection for the clients. Managing these packages with MikroTik Simple Queues will be so hardy and time killing. But PCQ that will be explained here will be so helpful for managing these bandwidth packages. PCQ enabled queues will be like below.

PCQ Enabled Queues

PCQ Enabled Queues

Managing ISP Bandwidth with PCQ Service

Say, you have three offered packages for you ISP clients. These are 512kbps connection, 1Mbps connection and 2Mbps connection. So, your proposed plan would be like below.

  1. 512kbps clients will get 192.168.10.0/24 block IP.
  2. 1Mbps clients will get 192.168.11.0/24 block IP and
  3. 2Mbps clients will get 192.168.12.0/24 block IP.

Now if a client purchases 512kbps connection, you will just assign him/her a 192.168.10.0/24 block IP or if a client purchases 1Mbps connection, you will assign him/her a 192.168.11.0/24 block IP. This idea is so simple if you can configure PCQ bandwidth management properly. So, the necessary steps to configure PCQ bandwidth management for maintaining above packages are described below.

  1. Login to your MikroTik Router and go to Queues > Queue Type tab and then click on (+) add new button. New Queue Type window will appear now.
  2. In this window, type 512kbps_Download or as you like in Type Name input box and select pcq from the Kind drop-down menu. Now type 512k in Rate input box and check the Dst. Address checkbox from the Classifier panel and then Click Apply and then OK button.
  3. Again click on (+) add new button and type 512kbps _Upload in Type Name input box. Choose pcq from the Kind drop-down menu and type 512k in Rate input box and then check Src. Address from the Classifier panel and then click Apply and OK button.
  4. Do step 2 and step 3 for 1Mbps connection and 2Mbps connection. Just change the Rate value 1M and 2M accordingly for these connections.
  5. Now click on Simple Queues tab and click (+) add new button. New Simple Queue window will appear now. In General tab, type 512kbps_Clients in Name input box and type 192.168.10.0/24 in Target input box. You can also define multiple IP blocks by clicking Add new value button located at right side of Target input box and typing new IP block.
  6. Click on Advanced tab and choose 512kbps_Upload and 512kbps_Download from Queue Type drop-down menu. Click Apply and then OK button.
  7. Do step 5 and 6 for 1Mbps connection and 2Mbps connection. Just change Target address and Queue Type for these connections.

Your PCQ configuration in MikroTik Router for the proposed packages has been completed. Now assign your clients IP and check their bandwidth with free internet speed test tool. I hope, you will get your desired result. If you face any problem to do above steps, please watch the below video carefully about ISP or Local ISP Bandwidth Management with MikroTik PCQ.

ISP or local ISP Bandwidth Management with MikroTik PCQ has been described step by step in this article. If you face any problem to assign bandwidth to your ISP client with PCQ configuration, please contact with me from Contact page or leave a comment here. I’ll try my best to stay with you.

isp-bandwidth-management-with-mikrotik-pcq

ABOUT ME

I, Md. Abu Sayeed, am a system administrator. I like to share knowledge which I am learning from my daily experience. As a system administrator, I like to play with computer networking, Redhat Linux , Windows server, physical server and storage, virtual technology and other system related topics. I hope, my daily experiences which I am sharing in this website will be beneficial for you. This article is also a practical experience of mine. So, if this article is helpful for you, don't forget to give a positive feedback by sharing on your favorite social media or liking our Facebook Page. You can also keep subscribed to our website for getting email notification of new post by providing your name and email address in Subscription Page.   

2 comments

  • sapanda

    After assigning the bandwidth as suggested, How will it affect each ip or the assigned bandwidth in the queue type affect each ip/user in the range of Ip address. Just like here- In General tab, type 512kbps_Clients in Name input box and type 192.168.10.0/24 . will this 512kbps affect each ip/user you assigned it in the simple queue. What version of mikrotik OS works best in terms of queueing.

  • Jay

    Hi. You have shared something useful. However, I cannot find what I am looking for. I have 3 isp. The first one is a DSL which has no daily capping ( unlimited use). The second one is Fiber which is faster but has daily capping ( max of 800mb per day). The third one is sim-based LTE which is reloadable by gb. I have wanted all torrents, downloads,video streaming and other data-heavy usage. While basic surfing, gaming and social media on the other two. There were 3 desktop, a laptop and 5 smartphones connecting on our router. Please shed some light.

Leave a Reply

Your email address will not be published. Required fields are marked *