- #Mikrotik router configuration how to#
- #Mikrotik router configuration update#
- #Mikrotik router configuration Pc#
- #Mikrotik router configuration plus#
Port Ether1 is LAN and port Ether5 is WAN port. We will leave both routers to use a DHCP client on the ether1 port. In this example we will use an IP addresses in range 192.168.88.xxx/24 for LAN side. Therefore, we need to make following connection between devices: We will demonstrate situation when an ISP provides us with just one public IP. Both routers must be configured correctly and must work properly as a stand-alone routers, before we can proceed with configuration of the VRRP protocol. That must be performed either manually or using a scripts.
#Mikrotik router configuration update#
VRRP protocol will not transfer or update a device configuration between two Mikrotik devices. That means that we can make separate VRRP interfaces over LAN and WAN ports.
![mikrotik router configuration mikrotik router configuration](https://www.discomp.eu/mikrotik-cloud-router-switch-crs326-24g-2s-in-big_ies2758662.jpg)
We can make more than one virtual router inside same physical device. That can be only LAN or WAN port in one time. VRRP will make a virtual router as an additional virtual (logical) interface over one single physical port on the router. The protocol is described in the RFC 3768 ( ). This mechanism protects us from failure of a single device, an ethernet port on the device, a network cable or a network switch.
#Mikrotik router configuration Pc#
Now, if you done everything correctly, you should be able to access the internet from the PC that is connected with Mikrotik router and has IP address from Mikrotik Router LAN pool (in my case 10.50.50.Virtual Router Redundancy Protocol (VRRP) protocol is a computer networking protocol which makes a virtual router from two or more physical routers in the same network. Stay on New NAT Rule screen and go to General tab. On New NAT Rule screen, under Action tab, select Masquerade Second thing is again, in IP menu, but this time under Firewall. End of part for those who don’t have static route mentioned above. Address 0.0.0.0/0 and enter Gateway 172.16.57.130 (of course you will change this with your gateway address). This screen you only need if you don’t have to route mentioned above!! We will enter route mentioned above manually. Part for those who don’t have static route mentioned above.
#Mikrotik router configuration plus#
In case you don’t have that 0.0.0.0/0 route click on a plus (+) sign If they are not, check your physical network config and IP addresses you got. You should see route that says Dst.Address 0.0.0.0/0 and Gateway 172.16.57.130 (reachable ether 1) – gateway is gateway address we entered in Quick Set under Internet Settings. I also changed Router Identity under System and left everything else as is. I also selected DHCP server for the LAN, that means that every PC you connect to your Mikrotik router (or in switch if Mikrotik router is connected to it) will get IP address from it.ĭHCP server is not mandatory, you can skip it if you don’t need it.
![mikrotik router configuration mikrotik router configuration](https://wiki.mikrotik.com/images/9/94/Adding_new_address.png)
Local Network – for my LAN I selected 10.50.50.0/24 subnet and entered IP address 10.50.50.1 and that will be address of my router accessible from the LAN. You can see my IP settings for the internet, I also entered Google DNS servers – 8.8.8.8 and 8.8.4.4 You can also select Automatic (then Mikrotik will pull IP address from a source that provides internet – another router) and PPoE for which you will need settings your ISP provided. Internet – select your connection type – I have static public IP address so I will select static. I’m doing this in a virtual LAB, but on physical router I use Ethernet port 1 for internet access (WAN) and port 2-4/5 (depends how much ports you have) for LAN access.Īfter you’re logged into Winbox, click on Quick Set on top of the left menu.Ĭonfiguration – you select between Router and a Bridge.
#Mikrotik router configuration how to#
If you don’t know how to login to your router – Login to Winbox on the router you plan to configure. Goal of this tutorial is to just give you basic connectivity for your network, so that your machines can get IP addresses and go to the internet.