MikroTik Certified Switching Engineer (MTCSWE)
1 Introduction to Networking
1-1 Basic Networking Concepts
1-2 OSI Model
1-3 TCPIP Model
1-4 Network Devices
2 MikroTik RouterOS Basics
2-1 Introduction to RouterOS
2-2 RouterOS Interface Types
2-3 Basic Configuration
2-4 User Management
2-5 System Logging
3 Switching Fundamentals
3-1 Introduction to Switching
3-2 MAC Addresses
3-3 Ethernet Frame Structure
3-4 VLAN Basics
3-5 Trunking and Inter-VLAN Routing
4 MikroTik SwitchOS Basics
4-1 Introduction to SwitchOS
4-2 SwitchOS Interface Types
4-3 Basic Configuration
4-4 User Management
4-5 System Logging
5 VLAN Configuration
5-1 VLAN Creation and Configuration
5-2 VLAN Trunking Protocol (VTP)
5-3 Inter-VLAN Routing
5-4 VLAN Security
6 Spanning Tree Protocol (STP)
6-1 Introduction to STP
6-2 STP Operation
6-3 Rapid Spanning Tree Protocol (RSTP)
6-4 Multiple Spanning Tree Protocol (MSTP)
6-5 STP Configuration
7 Link Aggregation
7-1 Introduction to Link Aggregation
7-2 Link Aggregation Control Protocol (LACP)
7-3 Static Link Aggregation
7-4 Link Aggregation Configuration
8 Quality of Service (QoS)
8-1 Introduction to QoS
8-2 QoS Models
8-3 Traffic Shaping and Policing
8-4 QoS Configuration
9 Security Features
9-1 Introduction to Network Security
9-2 Port Security
9-3 Access Control Lists (ACLs)
9-4 DHCP Snooping
9-5 Dynamic ARP Inspection (DAI)
10 Advanced Switching Topics
10-1 Layer 3 Switching
10-2 Multicast Routing
10-3 Link Layer Discovery Protocol (LLDP)
10-4 Power over Ethernet (PoE)
11 Troubleshooting and Maintenance
11-1 Common Switching Issues
11-2 Troubleshooting Tools
11-3 Switch Maintenance
11-4 Backup and Restore
12 MikroTik Certification Exam Preparation
12-1 Exam Overview
12-2 Study Tips
12-3 Practice Questions
12-4 Exam Registration and Scheduling
5.3 Inter-VLAN Routing Explained

5.3 Inter-VLAN Routing Explained

Key Concepts

Inter-VLAN routing is the process of enabling communication between devices in different VLANs. Key concepts include:

Router-on-a-Stick

Router-on-a-Stick is a cost-effective method for inter-VLAN routing. It involves configuring subinterfaces on a single physical interface of a router. Each subinterface is associated with a specific VLAN and is assigned an IP address from the VLAN's subnet.

Example: Suppose you have a router with one Ethernet interface (eth0) and three VLANs (VLAN 10, VLAN 20, and VLAN 30). You would create subinterfaces eth0.10, eth0.20, and eth0.30, each with an IP address from the respective VLAN's subnet.

Layer 3 Switch

A Layer 3 switch combines the functions of a switch and a router. It can route traffic between different VLANs within the same switch. Layer 3 switches are more efficient than traditional routers for inter-VLAN routing because they operate at higher speeds and have lower latency.

Example: In a large enterprise network, a Layer 3 switch might be used to route traffic between VLANs within the same building. This setup reduces the need for multiple physical routers and simplifies network management.

SVI (Switch Virtual Interface)

An SVI is a virtual interface on a Layer 3 switch that represents a VLAN. Each SVI is assigned an IP address from the VLAN's subnet and is used for routing traffic between VLANs. SVIs allow for centralized management of VLANs and simplify network configuration.

Example: On a MikroTik switch, you might create an SVI for VLAN 10 with the IP address 192.168.10.1/24. This SVI would handle all routing for devices in VLAN 10, allowing them to communicate with devices in other VLANs.

Trunking

Trunking is the process of carrying multiple VLANs over a single link. Trunk ports on switches and routers are configured to carry traffic for multiple VLANs, allowing for efficient use of network resources. Trunking is essential for inter-VLAN routing because it enables the transmission of VLAN-tagged traffic between devices.

Example: In a network with multiple switches, trunking would be configured on the links between the switches. This allows all VLANs to be transmitted over a single link, reducing the number of physical connections required.

Routing Protocols

Routing protocols are methods used by routers to exchange routing information. Common routing protocols include OSPF, EIGRP, and BGP. These protocols allow routers to dynamically learn about the network and make routing decisions based on the best path to reach a destination.

Example: In a large campus network, OSPF might be used to dynamically route traffic between different buildings. Routers in each building would exchange routing information, allowing them to determine the best path for inter-VLAN traffic.