MikroTik Certified Network Associate (MTCNA)
1 Introduction to Networking
1-1 Basic Networking Concepts
1-2 OSI Model
1-3 TCPIP Model
1-4 IP Addressing
1-5 Subnetting
2 Introduction to MikroTik RouterOS
2-1 RouterOS Overview
2-2 RouterOS Installation
2-3 RouterOS Licensing
2-4 RouterOS Interface Overview
2-5 RouterOS Command Line Interface (CLI)
2-6 RouterOS Graphical User Interface (GUI)
3 Basic Router Configuration
3-1 Router Identification
3-2 Interface Configuration
3-3 IP Address Assignment
3-4 Default Gateway Configuration
3-5 DNS Configuration
3-6 Basic Firewall Configuration
4 Routing
4-1 Static Routing
4-2 Dynamic Routing Protocols
4-3 OSPF Configuration
4-4 BGP Configuration
4-5 Policy-Based Routing
5 Network Address Translation (NAT)
5-1 Introduction to NAT
5-2 Basic NAT Configuration
5-3 Port Address Translation (PAT)
5-4 One-to-One NAT
5-5 Hairpin NAT
6 Firewall and Security
6-1 Firewall Basics
6-2 Firewall Rules Configuration
6-3 NAT Rules Configuration
6-4 Traffic Shaping and QoS
6-5 VPN Basics
6-6 IPsec VPN Configuration
7 Wireless Networking
7-1 Wireless Basics
7-2 Wireless Interface Configuration
7-3 Wireless Security
7-4 Wireless Bridging
7-5 Wireless Access Point Configuration
8 Advanced Topics
8-1 VLAN Configuration
8-2 DHCP Server Configuration
8-3 DHCP Relay Configuration
8-4 PPPoE Server Configuration
8-5 PPPoE Client Configuration
8-6 Hotspot Configuration
8-7 Load Balancing
8-8 High Availability (Failover)
9 Troubleshooting and Maintenance
9-1 Basic Troubleshooting Techniques
9-2 Log Analysis
9-3 Backup and Restore
9-4 Firmware Updates
9-5 System Monitoring
10 Practical Exercises
10-1 Basic Router Configuration Exercise
10-2 Static Routing Exercise
10-3 NAT Configuration Exercise
10-4 Firewall Configuration Exercise
10-5 Wireless Configuration Exercise
10-6 Advanced Configuration Exercise
10-7 Troubleshooting Exercise
Static Routing Explained

Static Routing Explained

Static routing is a fundamental concept in network management that involves manually configuring routes to direct network traffic between different networks. Unlike dynamic routing protocols, which automatically adjust routes based on network conditions, static routes are manually defined and remain fixed until changed by an administrator.

Key Concepts

1. Static Route Definition

A static route is a manually configured path that a router uses to forward packets to a specific destination network. It specifies the next hop (gateway) that the router should use to reach the destination network.

2. Route Configuration

Configuring a static route involves specifying the destination network, the subnet mask, and the next hop (gateway) address. This information tells the router where to send packets destined for the specified network.

3. Route Priority

In cases where multiple routes to the same destination network exist, the router uses a metric to determine the preferred route. Static routes typically have a lower metric than dynamic routes, making them the preferred path.

4. Default Route

A default route is a special static route that is used when no other route matches the destination address. It acts as a catch-all route, directing traffic to a default gateway when no specific route is defined.

Detailed Explanation

Static Route Definition

Consider a network with two routers, Router A and Router B. Router A needs to send packets to a network that is reachable through Router B. A static route on Router A would specify the destination network and the next hop (Router B's IP address).

Route Configuration

To configure a static route on Router A, you would use the command:

/ip route add dst-address=192.168.2.0/24 gateway=192.168.1.2

This command tells Router A to send packets destined for the 192.168.2.0/24 network to the gateway at 192.168.1.2 (Router B).

Route Priority

If Router A has both a static route and a dynamic route to the same destination network, the static route will be preferred because it has a lower metric. This ensures that the manually configured route is used unless explicitly changed.

Default Route

A default route is configured using the command:

/ip route add dst-address=0.0.0.0/0 gateway=192.168.1.1

This command tells Router A to send all packets that do not match any other route to the gateway at 192.168.1.1.

Examples and Analogies

Example: Static Route Definition

Think of a static route as a predefined path on a map. Just as you might plan a specific route to a destination, a static route tells the router the exact path to take to reach a network.

Example: Route Configuration

Configuring a static route is like setting up a directional signpost. You specify the destination (network) and the direction (next hop) to follow to reach that destination.

Example: Route Priority

Route priority is like choosing the fastest route on a highway. If multiple routes are available, the one with the lowest metric (fastest route) is preferred.

Example: Default Route

A default route is like a general direction sign. When you don't know the exact route, you follow the general direction (default gateway) to reach your destination.

By mastering static routing, you can efficiently manage network traffic and ensure that data packets reach their intended destinations, enhancing overall network performance and reliability.