Wednesday, November 27, 2019

Basic Cyberspace Sharing Amongst Bandwidth Limiting -- Mikrotik

This tutorial explains how to configure a router to percentage a unmarried Internet connecter (WAN) amid multiple local computers (LAN) using NAT.

First nosotros volition configure interface that is connected to WAN.

/ ip address add together address=192.168.1.20/24 network=192.168.1.0 broadcast=192.168.1.255 interface=ether2 

Now ane interface is configured as well as connected to WAN (with ip 192.168.1.20/24). Now nosotros volition configure mo interface for our Local Network.
/ ip address add together address=192.168.0.1/24 network=192.168.0.0 broadcast=192.168.0.255 interface=ether1 

Now nosotros volition configure DHCP using WinBOX, download Winbox from http://www.mikrotik.com as well as login to y'all MT Router. Then goto IP > DHCP-Server, straight off press Setup Button, thence y'all volition come across a like window equally shown below. Just conduct the interface that y'all accept configured for your Local Network (as inward our illustration it is ether1), straight off merely press Next till the halt of setup.

This tutorial explains how to configure a router to percentage a unmarried  Internet connecter  Basic Internet Sharing alongside Bandwidth Limiting -- Mikrotik

Now nosotros volition configure DNS for our local network. Goto IP > DNS, press Settings push thence add together y'all Primary as well as Secondary DNS Server IP equally provided yesteryear your Internet Service Provider. Also brand certain that y'all conduct "Allow Remote Requests", thence that y'all tin plough over your MT Router's IP equally a DNS Server to your Clients. Then Apply as well as OK.

This tutorial explains how to configure a router to percentage a unmarried  Internet connecter  Basic Internet Sharing alongside Bandwidth Limiting -- Mikrotik

Now nosotros volition configure NATing for our Local Network. Goto IP > Firewall, goto NAT tabular array press the addition sign which volition permit y'all to add together novel firewall rules. Select chain=srcnat, thence railroad train Src. Address=192.168.0.0/24 (ip attain of your local network), thence conduct Out.Interface=ether2 (interface connected WAN), equally shown below.

This tutorial explains how to configure a router to percentage a unmarried  Internet connecter  Basic Internet Sharing alongside Bandwidth Limiting -- Mikrotik

Now goto Action Tab inward the same window, thence conduct Action=Masquerade, thence Apply as well as OK.

This tutorial explains how to configure a router to percentage a unmarried  Internet connecter  Basic Internet Sharing alongside Bandwidth Limiting -- Mikrotik

Now nosotros volition setup Bandwidth restriction (10kbps per IP inward 192.168.0.0/24 range). Goto Queues, thence goto Queue Types, thence press the addition sign to add together a custom Queue Type. In the mention land move into your desired name, conduct kind=pcq. As shown below.

This tutorial explains how to configure a router to percentage a unmarried  Internet connecter  Basic Internet Sharing alongside Bandwidth Limiting -- Mikrotik
Now goto Settings Tab inward the same window, as well as move into the Rate to 10000 (i.e equal to 10kbps), besides conduct Dst. Address, equally shown below.

This tutorial explains how to configure a router to percentage a unmarried  Internet connecter  Basic Internet Sharing alongside Bandwidth Limiting -- Mikrotik

Now for Upload bound repeat the same physical care for to practise merely about other Queue Type mention it something dissimilar as well as inward the Settings Tab instead of selecting Dst. Address this fourth dimension conduct Src. Address. Apply as well as OK

Now inward the Queues window goto Simple Queues Tab, as well as add together a novel unproblematic queue yesteryear pressing addition sign. Enter your desired name, thence add together a Target Address=192.168.0.0/24 the IP Range of your local network.

This tutorial explains how to configure a router to percentage a unmarried  Internet connecter  Basic Internet Sharing alongside Bandwidth Limiting -- Mikrotik
Now goto Advanced Tab inward the same window as well as inward Queue Type inward the Target Upload conduct the Queue Type that nosotros created earlier for upload restriction purpose, practise the same for Target Download. As shown below. Press Apply as well as OK.

This tutorial explains how to configure a router to percentage a unmarried  Internet connecter  Basic Internet Sharing alongside Bandwidth Limiting -- Mikrotik

As per the steps shown as well as performed, y'all should straight off accept an upwards as well as running MT Router, that volition serve Internet Service to local network alongside IP Range 192.168.0.0/24 that volition endure given yesteryear the DHCP Server.