0% found this document useful (0 votes)
9 views

Subnetting CIDR Essentials Cheat Sheet

Uploaded by

jemotip479
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Subnetting CIDR Essentials Cheat Sheet

Uploaded by

jemotip479
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Subnetting & CIDR Essentials:

Decoding Network Masks and Ranges Cheat Sheet

1. Basic Terminology: 2. CIDR Notation: 3. Converting CIDR to Subnet Mask:


IP Address: A unique identifier for devices on a network. Follows the Format: IP Address/Prefix Length CIDR Subnet Mask # of Hosts
format A.B.C.D (IPv4) or a more complex format for IPv6. Example: 192.168.1.0/24 /32 255.255.255.255 1
In this example, /24 indicates /31 255.255.255.254 2
Subnet: A smaller network carved out of a larger network. that the first 24 bits are the /30 255.255.255.252 4
network address, leaving 8 bits /29 255.255.255.248 8
Subnet Mask: Defines which portion of an IP address is the network for host addresses. ... ... ...
and which part can be used for hosts. /0 0.0.0.0 4.2B

CIDR: Classless Inter-Domain Routing. A notation for representing IP 100010110000101000100110001010 Note: The # of hosts account for 2 addresses that
addresses and their associated routing prefix. 111000000010101100010010010101 can't be used in each subnet - network and broadcast.
001011000001010001100110001101

4. Finding the Range of a Subnet: 5. Dividing Networks - Subnetting:


1. Convert the CIDR notation to binary. To split a network into smaller subnets:
2. Identify the network address (first address in the subnet). 1. Increase the prefix length (the number after the / in CIDR notation).
3. Identify the broadcast address (last address in the subnet). 2. Calculate the new subnet mask, network, and broadcast addresses for each subnet.
4. The range lies between the network and broadcast address.
Example:
Example: Subnetting 192.168.1.0/24 into two:
For 192.168.1.0/29: Network Address: 192.168.1.0 Broadcast Address:
192.168.1.7 Range: 192.168.1.1 - 192.168.1.6 · 192.168.1.0/25 (Addresses: 192.168.1.0 - 192.168.1.127)
· 192.168.1.128/25 (Addresses: 192.168.1.128 - 192.168.1.255)

6. Benefits of Subnetting:
1. Enhanced Security: Isolate segments of the network How about IPv6 and CIDR...? 7. Tools & Commands:
to contain breaches. More soon! ;-) · ipcalc and cidr tools: Useful
2. Improved Performance: Reduce network congestion for calculating subnets, host ranges,
by localizing traffic. and more.
3. Efficient Address Allocation: CIDR enables hierarchical · ping, traceroute, and netstat:
address allocation, preventing wastage. Diagnostic tools for checking
reachability, routes, and connections.

Conclusion: Subnetting and CIDR are critical components of modern 1000101100001010001001100010100101100


networking. They enable efficient use of IP address space, improve network 1110000000101011000100100101010011001
performance, and enhance security. Familiarity with decoding network masks 1000101100001010010010110100101000110
and ranges is essential for anyone working in the network domain. 0010110000010100011001100011011010011
1000000010101100010010010101001010101

You might also like