Monday, March 30, 2026

MikroTik Basic Setup

 1. First download .vmdk version.

2. Create Vm.

  • Create a new VM and, when prompted for the disk, select Use an existing virtual disk and point to the downloaded .vmdk file.
  •  Select Linux as the guest OS and Other Linux kernel (64-bit) as the version.
  •  Adapter 1 (WAN): Set to Bridged (IP hobe office/home or ISP ja dia local pc net pay).
  • Adapter 2 (LAN): Set to a LAN Segment or Host-only (VmNet 1, 2 and so on)

3. Install

  •  Power on the VM.
  • When the installer loads, press a select all packages and i install. Use the default username admin  with no password

4. Setup via Winbox.

  • IP>Address eth1>(WAN)192.168.99.115/24 eth2>(LAN1)192.168.1.1/24 eth3> (LAN2)192.168.2.1/24
  •  Enable DHCP on both LAN, so that connected user/pc get IP/internet from that. 
  •  IP>DHCP Server>DHCP Setup> Select lan interface and provide GW, range and so on next..........

5. Enable NAT.

  •  IP>Firewall>NAT>Chain : srcnat > Out Interface : WAN/Bridge/eth1 >action: masquerade


6. DNS Setting.

  • Go to IP > DNS. Servers: Add 8.8.8.8 and 1.1.1.1.Check the box Allow Remote request. done.

7. Static Route (most important).

  •   Go to IP > Route > Dst.Address: 0.0.0.0/0 Gateway: host pc/WAN gateway(99.1)
  • Distance:1.  All Done

 


No comments:

Post a Comment

VMware_Mikrotik load balance and failover

  Senario: WAN-1 (Primary): IP: 192.168.99.120/24 Gateway: 192.168.99.1(IP>Route e দিতে হবে পরে ) Interface: wan-1 ধরুন এটি ether1 পোর্ট...