beginner v1 • Updated 7 hours ago

IPv4 Addressing & Classless Architecture (CIDR)

An IPv4 address is a 32-bit logical address written in dotted-decimal format (4 octets) used to uniquely identify a host and its network.

Remember This Key Rule

An IPv4 address has 32 bits. The subnet mask / CIDR prefix specifies which bits identify the network vs the individual host.

In Simple Terms

An IPv4 address consists of 32 binary bits divided into 4 groups of 8 bits (octets), separated by periods: `192.168.1.100`. Every IP address contains two parts: the Network Portion (which neighborhood) and the Host Portion (which specific house).

Visual Diagram & Flow

192.168.1 (Network: 24 bits).50 (Host: 8 bits)
Subnet Mask: 255.255.255.0 (/24)
Why It Matters in Real Networks

IPv4 is the foundational addressing system of modern networks. Mastering IP addressing and subnet masks is the single most essential skill in networking.

How It Works (Technical Breakdown)

- **32 Bits**: 4 octets of 8 bits each (each octet ranges from 0 to 255). - **Subnet Mask**: Determines where the network portion ends and the host portion begins. - **CIDR (Classless Inter-Domain Routing)**: Expresses the subnet mask as the number of network bits, e.g., `/24` means the first 24 bits are 1s (`255.255.255.0`). **Private IP Address Ranges (RFC 1918)**: - **Class A Private**: `10.0.0.0` to `10.255.255.255` (`10.0.0.0/8`) - **Class B Private**: `172.16.0.0` to `172.31.255.255` (`172.16.0.0/12`) - **Class C Private**: `192.168.0.0` to `192.168.255.255` (`192.168.0.0/16`) - **Loopback**: `127.0.0.1` (local host self-test) - **APIPA**: `169.254.0.0/16` (auto-assigned when DHCP fails)
Real-World Analogy

An IP address is like a telephone number with an area code (e.g. +1 312 555 0199). The area code (+1 312) is the network portion; the unique subscriber number (555 0199) is the host portion.

Concrete Example

For IP `192.168.1.50/24`: Subnet mask is `255.255.255.0`. Network Address = `192.168.1.0`. Broadcast Address = `192.168.1.255`. Usable Host Range = `192.168.1.1` through `192.168.1.254` (254 usable hosts).

Common Engineering Mistakes & Pitfalls

Assigning the network address (`.0`) or broadcast address (`.255`) to a device's network adapter.

Concept Mastery Quiz

Test your comprehension with active-recall questions.

1. How many usable host IP addresses are available in a standard /24 IPv4 subnet?

Active Recall Flashcards

Click each flashcard to reveal the answer and test your memory.

Flashcard Cue
What are the RFC 1918 Private IPv4 address ranges?
10.0.0.0/8 (10.0.0.0 - 10.255.255.255), 172.16.0.0/12 (172.16.0.0 - 172.31.255.255), 192.168.0.0/16 (192.168.0.0 - 192.168.255.255).
Private IP ranges

Content Versioning

Audit trail of revisions and updates for this knowledge topic.

Version Change Summary Author Timestamp
v1 (Current) Active production content system Sun, Aug 23, 2026 11:09 AM
Searching...
No matching topics found for "".
Type at least 2 characters to search across all topics, protocols, and scenarios.
Navigate with mouse or click ESC to close