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.4 IPv6 Subnetting Explained

3.4 IPv6 Subnetting Explained

Key Concepts in IPv6 Subnetting

1. IPv6 Address Structure

An IPv6 address is 128 bits long and is typically written in hexadecimal format, divided into eight groups of four hexadecimal digits separated by colons (e.g., 2001:0db8:85a3:0000:0000:8a2e:0370:7334). The address is divided into two parts: the global routing prefix and the subnet ID.

Example: Think of an IPv6 address as a long street address with multiple parts. The global routing prefix is like the city and state, while the subnet ID is like the street name and house number.

2. Subnetting in IPv6

Subnetting in IPv6 involves dividing the 64-bit interface identifier (host portion) into smaller subnets. This is done by extending the prefix length, which is the number of bits in the network portion of the address. Subnetting helps in organizing large networks into smaller, more manageable segments.

Example: Imagine a large city divided into smaller neighborhoods. Each neighborhood (subnet) has its own set of houses (hosts). Subnetting in IPv6 is like dividing a large city into smaller neighborhoods to make it easier to manage.

3. Prefix Length

The prefix length in IPv6 indicates the number of bits in the network portion of the address. It is written after the address, separated by a slash (e.g., 2001:0db8:85a3::/64). A /64 prefix length is commonly used, but it can be extended to create subnets.

Example: Consider the prefix length as a ruler that measures the network portion of an IPv6 address. A /64 prefix length means the first 64 bits are for the network, and the remaining 64 bits are for the host.

4. Subnetting Techniques

There are several techniques for subnetting IPv6 addresses, including fixed-length subnetting and variable-length subnetting. Fixed-length subnetting uses the same prefix length for all subnets, while variable-length subnetting uses different prefix lengths for different subnets.

Example: Think of fixed-length subnetting as dividing a large cake into equal-sized slices, while variable-length subnetting is like cutting the cake into slices of different sizes based on the number of guests. Both techniques serve the same purpose but offer different levels of flexibility.