IPv4 Addressing Basics: A Beginner's Guide
An IPv4 address is a 32-bit logical address written in dotted-decimal format, divided into a network portion and a host portion by a subnet mask.
What is an IPv4 Address?
An **IPv4 address** is a 32-bit numeric identifier assigned to a device on a TCP/IP network. It is typically represented in **dotted-decimal notation** (e.g., 192.168.1.1), divided into four 8-bit octets. Each address must be unique within its network.
Network and Host Portions
Every IPv4 address consists of two parts: the **network portion** and the **host portion**. The network portion identifies the specific subnet, while the host portion identifies the exact device on that subnet. The **subnet mask** is used by devices to determine which part is which.
IPv4 Classes (Legacy)
Historically, IPv4 addresses were divided into classes: **Class A** (1-126), **Class B** (128-191), and **Class C** (192-223). While **Classless Inter-Domain Routing (CIDR)** is used today, understanding these historical boundaries is still essential for CCNA exam scenarios.
❓ Frequently Asked Questions
How many bits are in an IPv4 address?
An IPv4 address contains exactly 32 bits.
What is the purpose of a subnet mask?
It separates the IP address into the network and host portions.
Are IP classes still used?
While CIDR is used for routing today, classful boundaries are still important for default subnet masks and certification exams.