IP subnetting is a fundamental concept in computer networking that allows you to divide a large network into smaller, more manageable sub-networks. Understanding IP subnetting is crucial for network administrators, engineers, and anyone working with IP networks. In this post, we'll take you on a journey from the basics of IP subnetting to advanced concepts, helping you achieve "zero to guru" proficiency.
You have 172.16.0.0 /24 and need to accommodate: Sales: 100 hosts HR: 50 hosts IT: 20 hosts WAN Link: 2 hosts The Solution Steps: Sales (100 hosts): Needs 7 host bits ( ). Mask becomes /25 ( Range: 172.16.0.0 to 172.16.0.127 HR (50 hosts): Needs 6 host bits ( ). Mask becomes /26 . Start right after Sales. Range: 172.16.0.128 to 172.16.0.191 IT (20 hosts): Needs 5 host bits ( ). Mask becomes /27 . Start right after HR. Range: 172.16.0.192 to 172.16.0.223 WAN Link (2 hosts): Needs 2 host bits ( ). Mask becomes /30 . Start right after IT. Range: 172.16.0.224 to 172.16.0.227 6. Real-World Subnetting Cheat Sheet
An Internet Protocol version 4 (IPv4) address is a 32-bit binary number. For human readability, it is divided into four 8-bit sections called , separated by dots (dotted-decimal notation). Binary Example: 11000000.10101000.00000001.01100100 Decimal Equivalent: 192.168.1.100 Binary-to-Decimal Conversion ip subnetting from zero to guru pdf
This guide will take you from zero knowledge to a "Guru" level understanding of how to divide networks efficiently. The Core Purpose of Subnetting
Your company assigns you the network block . This is a standard Class C network. The design team requires you to split this network into 4 distinct departments . Step 1: Find the Number of Bits to Borrow We need at least 4 subnets. Use the formula (Not enough) (Perfect match) We must borrow 2 bits from the host portion. Step 2: Calculate the New Subnet Mask IP subnetting is a fundamental concept in computer
An IP address is a 32-bit logical identifier for a device on a network. It is written in dotted-decimal format, consisting of four octets separated by dots (e.g., 192.168.1.1 ). Each octet represents 8 bits, ranging in value from 0 to 255. An IP address always contains two distinct parts: Identifies the specific network segment. Host ID: Identifies the unique device on that segment. The Role of the Subnet Mask
If a bit is turned "on" (1), you add its value. If it is "off" (0), you ignore it. 11000000 = 128 + 64 + 0 + 0 + 0 + 0 + 0 + 0 = 192 . Anatomy of an IP Address Every IP address houses two distinct pieces of identity: You have 172
Any subnetting problem can be solved by asking just four key questions. Use these as your checklist: