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
Trunking and Inter-VLAN Routing Explained

Trunking and Inter-VLAN Routing Explained

1. Trunking

Trunking is a method used to carry multiple VLANs (Virtual Local Area Networks) over a single physical link. This is essential for connecting switches in a network, allowing them to communicate across different VLANs without the need for multiple physical connections.

Example: Imagine you have a network with three VLANs: HR (VLAN 10), IT (VLAN 20), and Sales (VLAN 30). Instead of using three separate cables to connect two switches, you can use a single trunk link. This trunk link carries traffic for all three VLANs, enabling seamless communication between devices in different VLANs.

2. Inter-VLAN Routing

Inter-VLAN Routing is the process of enabling communication between devices in different VLANs. This is typically achieved by configuring a router or a Layer 3 switch to route traffic between VLANs. Inter-VLAN routing is crucial for creating a unified network where devices in different segments can communicate.

Example: Suppose you have a router with multiple interfaces, each connected to a different VLAN. You can configure each interface with the appropriate VLAN IP address. When a device in the HR VLAN (192.168.10.10) needs to communicate with a device in the IT VLAN (192.168.20.20), the router will route the traffic between these VLANs, ensuring that the communication is successful.

3. Practical Implementation

To implement Trunking and Inter-VLAN Routing, you need to configure both the switches and the router or Layer 3 switch. On the switches, you enable trunking on the links connecting them, and on the router or Layer 3 switch, you configure subinterfaces for each VLAN.

Example: On a MikroTik switch, you would configure a port as a trunk port using the command /interface ethernet set [interface] vlan-mode=trunk. On the router, you would create subinterfaces for each VLAN using commands like /interface vlan add name=vlan10 interface=[interface] vlan-id=10 and assign IP addresses to these subinterfaces.