MTCRE-Module-01: Static Routing

 

OBJECTIVES- 

  • Static Routing/Default Route
  • ECMP(Equal Cost Multi-Path)
  • How to force gateway over specific interface.
  • Gateway reachability check and route distance.
  • Routing mark and route policy.
  • Recursive next-hop and scope/target-scope usages.

1. Static Routing in MikroTik RouterOS


Static routing in MikroTik means manually defining the path that packets should use to reach a destination network. It is mainly used in:

  • Enterprise networks
  • ISP environments
  • Multi-WAN setups
  • VPN routing
  • Traffic engineering
  • Backup internet links

MikroTik routing configuration is done mainly from: /ip route

"or"

BASIC STATIC ROUTING CONFIGURATION: TOPOLOGY INFO -

LAN NETWORK: 

10.0.100.0/24

ROUTER GATEWAY: 

10.0.100.254

ISP GATEWAY: 

192.168.68.1

WAN IP :

192.168.68.100/24



Example for Basic Static Route (GUI/TERMINAL):

Step-01: Click on "IP" => Routes => Click on "NEW", and fill the following field for basic static/default routes=> Apply + OK.


Step-02: Ultimately, Check the Route List, Here - [A: Active, S:Static]




2. ECMP (Equal Cost Multi-Path)

To forward packets toward a single destination with the multiple paths with the equal metrics instead of selecting one single best path, its called the ECMP. Its perform basic two purposes of the entire network-
  • Load Balancing for smooth distribution of the packets among the multiple paths, to ensure the best performance, high availability, and scalability of the entire network.
  • Failover for continuous connection of the entire network, and ensure the minimal downtime as redundant system with the different metrics.

Example: The following steps of ECMP configuration for unequal WAN connection(WAN1:WAN2=2:1) -
  1. Renaming MikroTik interface name
  2. Assigning WAN and LAN IP
  3. Assigning DNS IP
  4. NAT configuration and
  5. Routing configuration
  6. ECMP Rule in Firewall.


































Popular posts from this blog

CCNA Class 10: Introduction of Routed & Routing Protocols and Configuration

RHCSA-EX200: Vendor Exam Problem Solving

CCNA Class 11: Distance vector Routing Protocol (RIPv1 & RIPv2) Configuration