Cable setup
basic configuration mikrotik
first of all setup all the ports case of dynamic ip (emulation router linksys generic)
ip-- dhcp client add eth3 (write port ip address you wish)
go to bridge tag bridge add one
bridge --- ports add eth1 add eth2 add wlan
ip--- dns add one write ip of dhcp then go to setting write dns1 200.42.0.111
ip --- address add 192.168.1.1/24 IMPORTANTE /24 select bridge at interface
ip dhcp server click on dhcp setup dhcp server interface BRIDGE dhcp address space
192.168.1.0/24 gateways for dhcp network 192.168.1.1 address to give out 192.168.1.2-
192.168.1.254 dns 1 200.42.0.111 dns 2 200.42.0.109
ip ---- firewall add one rule chain SRCNAT out interface ETH3
ACTION masquerade
Basic Internet Sharing with Bandwidth Limiting
This tutorial explains how to configure a router to share a single Internet connection (WAN) among
multiple local computers (LAN) using NAT.
First we will configure interface that is connected to WAN.
/ ip address add address=192.168.1.20/24
network=192.168.1.0 broadcast=192.168.1.255
interface=ether2
Now one interface is configured and connected to WAN (with ip 192.168.1.20/24). Now we will
configure second interface for our Local Network.
/ ip address add address=192.168.0.1/24
network=192.168.0.0 broadcast=192.168.0.255
interface=ether1
Now we will configure DHCP using WinBOX, download Winbox from http://www.mikrotik.com and
login to you MT Router. Then goto IP > DHCP-Server, now press Setup Button, then you will see a
similar window as shown below. Just select the interface that you have configured for your Local
Network (as in our example it is ether1), now just press Next till the end of setup.
Now we will configure DNS for our local network. Goto IP > DNS, press Settings button then add you
Primary and Secondary DNS Server IP as provided by your Internet Service Provider. Also make
sure that you select "Allow Remote Requests", so that you can give your MT Router's IP as a DNS
Server to your Clients. Then Apply and OK.
Now we will configure NATing for our Local Network. Goto IP > Firewall, goto NAT table press the
plus sign which will allow you to add new firewall rules. Select chain=srcnat, then set Src.
Address=192.168.0.0/24 (ip range of your local network), then select Out.Interface=ether2 (interface
connected WAN), as shown below.
Now goto Action Tab in the same window, then select Action=Masquerade, then Apply and OK.
Now we will setup Bandwidth restriction (10kbps per IP in 192.168.0.0/24 range). Goto Queues, then
goto Queue Types, then press the plus sign to add a custom Queue Type. In the name field enter
your desired name, select kind=pcq. As shown below.
Now goto Settings Tab in the same window, and enter the Rate to 10000 (i.e equal to 10kbps), also
select Dst. Address, as shown below.
Now for Upload limit repeat the same procedure to create another Queue Type name it something
different and in the Settings Tab instead of selecting Dst. Address this time select Src. Address.
Apply and OK
Now in the Queues window goto Simple Queues Tab, and add a new simple queue by pressing plus
sign. Enter your desired name, then add a Target Address=192.168.0.0/24 the IP Range of your
local network.
Now goto Advanced Tab in the same window and in Queue Type in the Target Upload select the
Queue Type that we created before for upload restriction purpose, do the same for Target
Download. As shown below. Press Apply and OK.
As per the steps shown and performed, you should now have an up and running MT Router, that will
serve Internet Service to local network with IP Range 192.168.0.0/24 that will be given by the DHCP
Server.
Hope this will help out many people.
Created by Mudasir Mirza
Navigation menu
 Log in
 Page
 Discussion
 Read
 View source
 View history
Go
 Main Page
 Recent changes
Print/export
 Create a book
 Download as PDF
 Printable version
Tools
 What links here
 Related changes
 Special pages
 Permanent link
 Page information
 This page was last modified on 29 May 2011, at 18:59.
 This page has been accessed 117,756 times.
 Privacy policy
 About MikroTik Wiki
 Disclaimers


More Related Content

PDF
Mikrotik Hotspot
PDF
Network Monitoring with The Dude and Whatsapp
PDF
Layer 7 Firewall on Mikrotik
PDF
Mikrotik firewall mangle
PDF
BGP on RouterOS7 -Part 1
PDF
Mikrotik API
PDF
Mikrotik firewall filter
PDF
Mikrotik Load Balancing with PCC
Mikrotik Hotspot
Network Monitoring with The Dude and Whatsapp
Layer 7 Firewall on Mikrotik
Mikrotik firewall mangle
BGP on RouterOS7 -Part 1
Mikrotik API
Mikrotik firewall filter
Mikrotik Load Balancing with PCC

What's hot (20)

DOCX
Type of DDoS attacks with hping3 example
PDF
ISP load balancing with mikrotik nth
PDF
VLAN vs VXLAN
PDF
Connection load balancing with mikrotik [workshop]
PDF
Mikrotik Hardening
DOC
Tutorial radius client mikrotik
PDF
BGP vs OSPF on Mikrotik
PDF
Zabbix for Monitoring
PDF
Detecting network virus using mikrotik
PPTX
Virtual Private Network VPN
PDF
MTCNA Intro to routerOS
PPTX
CCNA ppt Day 1
PDF
GLC webinar: limiting bandwidth using mikrotik
PDF
Network LACP/Bonding/Teaming with Mikrotik
PDF
MPLS on Router OS V7 - Part 2
PPT
Virtual Private Network main
PDF
Build enterprise wireless with CAPsMAN
PDF
MikroTik Security
PDF
Understanding Cisco’ Next Generation SD-WAN Technology
PDF
BGP on mikrotik
Type of DDoS attacks with hping3 example
ISP load balancing with mikrotik nth
VLAN vs VXLAN
Connection load balancing with mikrotik [workshop]
Mikrotik Hardening
Tutorial radius client mikrotik
BGP vs OSPF on Mikrotik
Zabbix for Monitoring
Detecting network virus using mikrotik
Virtual Private Network VPN
MTCNA Intro to routerOS
CCNA ppt Day 1
GLC webinar: limiting bandwidth using mikrotik
Network LACP/Bonding/Teaming with Mikrotik
MPLS on Router OS V7 - Part 2
Virtual Private Network main
Build enterprise wireless with CAPsMAN
MikroTik Security
Understanding Cisco’ Next Generation SD-WAN Technology
BGP on mikrotik
Ad

Similar to Mikrotik pcq (20)

PPTX
MikroTik MTCNA
PDF
pdfcoffee.com_mikrotik-firewall-trainingpdf-5-pdf-free.pdf
PDF
1.4.2-basic-configuration-with-mikrotik-cli.pdf
PDF
Tutorial mikrotik step by step anung muhandanu
PDF
Tutorial mikrotik step by step
PDF
Mikrotik router documentation ( Prepare by Mr. Chetra PO )
PDF
Load Sharing Internet with MikroTik.pdf
PPTX
MikroTik Basic Training Class - Online Moduls - English
PDF
Biznet guideline configuration mikrotik router
PDF
Tutorial mikrotik step by step anung muhandanu
DOC
Configuring Router TP-LINK MR 3020 in Access Point (AP) mode
PDF
An Insight on Industrial 4G Routers
DOCX
Mikrotik basic configuration
PDF
MTCNA Training outline, Certified Network Associate (MTCNA)
PPTX
MTCNA Show.pptx
PDF
MTCNA knsakdn akdnd aknkfnknn ajfjbf.pdf
PDF
Mtcna outline
PPTX
comprehensive guideline to setup microtik.pptx
PDF
Mastering your home network - Do It Yourself
PDF
MTCNA_Outline.pdf
MikroTik MTCNA
pdfcoffee.com_mikrotik-firewall-trainingpdf-5-pdf-free.pdf
1.4.2-basic-configuration-with-mikrotik-cli.pdf
Tutorial mikrotik step by step anung muhandanu
Tutorial mikrotik step by step
Mikrotik router documentation ( Prepare by Mr. Chetra PO )
Load Sharing Internet with MikroTik.pdf
MikroTik Basic Training Class - Online Moduls - English
Biznet guideline configuration mikrotik router
Tutorial mikrotik step by step anung muhandanu
Configuring Router TP-LINK MR 3020 in Access Point (AP) mode
An Insight on Industrial 4G Routers
Mikrotik basic configuration
MTCNA Training outline, Certified Network Associate (MTCNA)
MTCNA Show.pptx
MTCNA knsakdn akdnd aknkfnknn ajfjbf.pdf
Mtcna outline
comprehensive guideline to setup microtik.pptx
Mastering your home network - Do It Yourself
MTCNA_Outline.pdf
Ad

Recently uploaded (20)

PPTX
Chapter 5: Probability Theory and Statistics
PDF
1 - Historical Antecedents, Social Consideration.pdf
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PDF
Convolutional neural network based encoder-decoder for efficient real-time ob...
PPT
Geologic Time for studying geology for geologist
PDF
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
PDF
Five Habits of High-Impact Board Members
PDF
The influence of sentiment analysis in enhancing early warning system model f...
PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
Credit Without Borders: AI and Financial Inclusion in Bangladesh
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PDF
STKI Israel Market Study 2025 version august
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
A proposed approach for plagiarism detection in Myanmar Unicode text
PDF
A review of recent deep learning applications in wood surface defect identifi...
PPTX
Modernising the Digital Integration Hub
PDF
sustainability-14-14877-v2.pddhzftheheeeee
PDF
Getting started with AI Agents and Multi-Agent Systems
PDF
Two-dimensional Klein-Gordon and Sine-Gordon numerical solutions based on dee...
Chapter 5: Probability Theory and Statistics
1 - Historical Antecedents, Social Consideration.pdf
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
Convolutional neural network based encoder-decoder for efficient real-time ob...
Geologic Time for studying geology for geologist
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
Five Habits of High-Impact Board Members
The influence of sentiment analysis in enhancing early warning system model f...
Module 1.ppt Iot fundamentals and Architecture
Credit Without Borders: AI and Financial Inclusion in Bangladesh
Taming the Chaos: How to Turn Unstructured Data into Decisions
NewMind AI Weekly Chronicles – August ’25 Week III
STKI Israel Market Study 2025 version august
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
A proposed approach for plagiarism detection in Myanmar Unicode text
A review of recent deep learning applications in wood surface defect identifi...
Modernising the Digital Integration Hub
sustainability-14-14877-v2.pddhzftheheeeee
Getting started with AI Agents and Multi-Agent Systems
Two-dimensional Klein-Gordon and Sine-Gordon numerical solutions based on dee...

Mikrotik pcq

  • 1. Cable setup basic configuration mikrotik first of all setup all the ports case of dynamic ip (emulation router linksys generic) ip-- dhcp client add eth3 (write port ip address you wish) go to bridge tag bridge add one bridge --- ports add eth1 add eth2 add wlan ip--- dns add one write ip of dhcp then go to setting write dns1 200.42.0.111 ip --- address add 192.168.1.1/24 IMPORTANTE /24 select bridge at interface ip dhcp server click on dhcp setup dhcp server interface BRIDGE dhcp address space 192.168.1.0/24 gateways for dhcp network 192.168.1.1 address to give out 192.168.1.2- 192.168.1.254 dns 1 200.42.0.111 dns 2 200.42.0.109 ip ---- firewall add one rule chain SRCNAT out interface ETH3 ACTION masquerade Basic Internet Sharing with Bandwidth Limiting This tutorial explains how to configure a router to share a single Internet connection (WAN) among multiple local computers (LAN) using NAT. First we will configure interface that is connected to WAN. / ip address add address=192.168.1.20/24 network=192.168.1.0 broadcast=192.168.1.255 interface=ether2 Now one interface is configured and connected to WAN (with ip 192.168.1.20/24). Now we will configure second interface for our Local Network. / ip address add address=192.168.0.1/24 network=192.168.0.0 broadcast=192.168.0.255 interface=ether1 Now we will configure DHCP using WinBOX, download Winbox from http://www.mikrotik.com and login to you MT Router. Then goto IP > DHCP-Server, now press Setup Button, then you will see a similar window as shown below. Just select the interface that you have configured for your Local Network (as in our example it is ether1), now just press Next till the end of setup.
  • 2. Now we will configure DNS for our local network. Goto IP > DNS, press Settings button then add you Primary and Secondary DNS Server IP as provided by your Internet Service Provider. Also make sure that you select "Allow Remote Requests", so that you can give your MT Router's IP as a DNS Server to your Clients. Then Apply and OK.
  • 3. Now we will configure NATing for our Local Network. Goto IP > Firewall, goto NAT table press the plus sign which will allow you to add new firewall rules. Select chain=srcnat, then set Src. Address=192.168.0.0/24 (ip range of your local network), then select Out.Interface=ether2 (interface connected WAN), as shown below.
  • 4. Now goto Action Tab in the same window, then select Action=Masquerade, then Apply and OK.
  • 5. Now we will setup Bandwidth restriction (10kbps per IP in 192.168.0.0/24 range). Goto Queues, then goto Queue Types, then press the plus sign to add a custom Queue Type. In the name field enter your desired name, select kind=pcq. As shown below.
  • 6. Now goto Settings Tab in the same window, and enter the Rate to 10000 (i.e equal to 10kbps), also select Dst. Address, as shown below.
  • 7. Now for Upload limit repeat the same procedure to create another Queue Type name it something different and in the Settings Tab instead of selecting Dst. Address this time select Src. Address. Apply and OK Now in the Queues window goto Simple Queues Tab, and add a new simple queue by pressing plus sign. Enter your desired name, then add a Target Address=192.168.0.0/24 the IP Range of your local network.
  • 8. Now goto Advanced Tab in the same window and in Queue Type in the Target Upload select the Queue Type that we created before for upload restriction purpose, do the same for Target Download. As shown below. Press Apply and OK.
  • 9. As per the steps shown and performed, you should now have an up and running MT Router, that will serve Internet Service to local network with IP Range 192.168.0.0/24 that will be given by the DHCP Server. Hope this will help out many people. Created by Mudasir Mirza Navigation menu  Log in  Page  Discussion
  • 10.  Read  View source  View history Go  Main Page  Recent changes Print/export  Create a book  Download as PDF  Printable version Tools  What links here  Related changes  Special pages  Permanent link  Page information  This page was last modified on 29 May 2011, at 18:59.  This page has been accessed 117,756 times.  Privacy policy  About MikroTik Wiki  Disclaimers 