MikroTik Certified Internetworking Engineer (MTCINE)
1 Introduction to Networking
1-1 Basic Networking Concepts
1-2 OSI Model
1-3 TCPIP Model
1-4 Network Devices
1-5 Network Topologies
2 MikroTik RouterOS Basics
2-1 Introduction to RouterOS
2-2 RouterOS Interface
2-3 Basic Configuration
2-4 User Management
2-5 System Logging
3 IP Addressing and Subnetting
3-1 IPv4 Addressing
3-2 Subnetting
3-3 IPv6 Addressing
3-4 IPv6 Subnetting
3-5 NAT and PAT
4 Routing
4-1 Static Routing
4-2 Dynamic Routing Protocols
4-3 OSPF
4-4 BGP
4-5 EIGRP
5 Wireless Networking
5-1 Wireless Basics
5-2 Wireless Security
5-3 Wireless Configuration
5-4 Wireless Bridging
5-5 Wireless Repeaters
6 VPN Technologies
6-1 VPN Basics
6-2 IPsec VPN
6-3 OpenVPN
6-4 L2TPPPTP
6-5 SSL VPN
7 Quality of Service (QoS)
7-1 QoS Basics
7-2 Traffic Shaping
7-3 Policing
7-4 Prioritization
7-5 Queue Types
8 Firewall and Security
8-1 Firewall Basics
8-2 Firewall Rules
8-3 NAT Rules
8-4 Filtering Rules
8-5 Hotspot and Captive Portal
9 Advanced Topics
9-1 VLANs
9-2 MPLS
9-3 High Availability
9-4 Load Balancing
9-5 Monitoring and Troubleshooting
3.2 Subnetting Explained

3.2 Subnetting Explained

Key Concepts

Subnet Mask

A subnet mask is a 32-bit number used to divide an IP address into network and host portions. It helps in identifying which part of the IP address represents the network and which part represents the host. Common subnet masks include 255.255.255.0 (for a /24 network) and 255.255.0.0 (for a /16 network).

Example: Think of a subnet mask as a divider in a book. Just as a book is divided into chapters and sections, an IP address is divided into network and host parts using a subnet mask.

CIDR Notation

CIDR (Classless Inter-Domain Routing) notation is a compact representation of an IP address and its associated subnet mask. It is expressed as the IP address followed by a slash and the number of bits in the subnet mask (e.g., 192.168.1.0/24). CIDR notation simplifies the representation of IP networks and is widely used in modern networking.

Example: Consider CIDR notation as a shorthand for writing addresses. Just as "apt. 123" is a shorter way to write "apartment number 123," CIDR notation is a shorter way to represent an IP network and its subnet mask.

Subnetting Process

Subnetting is the process of dividing a network into smaller, more manageable subnetworks. This involves borrowing bits from the host portion of the IP address to create additional subnets. The number of subnets and hosts per subnet can be calculated using the formula 2^n (where n is the number of bits borrowed).

Example: Imagine subnetting as dividing a large pizza into smaller slices. Just as a pizza can be divided into 8 or 16 slices, a network can be divided into multiple subnets with each subnet having a specific number of hosts.

VLSM (Variable Length Subnet Masking)

VLSM is a technique used to create subnets of different sizes within the same network. This allows for more efficient use of IP addresses by allocating only the necessary number of addresses to each subnet. VLSM is particularly useful in large networks with varying host requirements.

Example: Think of VLSM as customizing the size of pizza slices. Just as you can have some slices larger and some smaller, VLSM allows you to create subnets with different numbers of hosts, optimizing the use of available IP addresses.