Skip to content

Understanding IPv4 Addresses: Structure, Notations, and Validity

Session Outcomes

  • Understand IPv4 address in detail.
  • Learn notations: Binary and dotted decimal.
  • Identify valid and invalid IP addresses through an activity.

What is an IPv4 Address?

  • Definition: A 32-bit logical address that uniquely identifies a device (e.g., computer or router) on the internet.
  • Role in Network Layer: In the OSI model (Layer 3), packets contain source and destination IP addresses for routing.
  • Size: 32 bits = 4 bytes (4 octets).
  • Uniqueness: Two devices on the internet cannot have the same address simultaneously. Private addresses (e.g., 10.10.10.1) are managed via Network Address Translation (NAT) for global uniqueness.
  • Address Space: 2^32 = over 4 billion possible addresses. NAT helps handle billions of devices with limited public IPs. This scarcity is why we now use IP Addresses Explained: Master Subnetting Basics for IT Pros to manage address allocation efficiently.

Notations of IPv4 Addresses

Binary Notation

  • Each address is 32 bits, divided into 4 octets (8 bits each).
  • Example: 01110101 10010101 00010001 00001001

Dotted Decimal Notation

  • Converts each octet to a decimal number, separated by dots.
  • Example: 117.149.1.9
  • Range per Octet: 0–255 (since 8 bits max = 255).
    • Minimum: 0.0.0.0 (all bits 0).
    • Maximum: 255.255.255.255 (all bits 1).

Valid vs. Invalid IPv4 Addresses

Valid IP Address Criteria

  • Must have exactly 4 octets.
  • Each octet value must be between 0 and 255.

Examples of Valid IPs

  • 10.10.10.1 (private IP)
  • 192.168.1.1 (private IP)
  • 8.8.8.8 (public IP)

Examples of Invalid IPs (with reasons)

  • 10.0.65.34.56 → 5 octets (exceeds 4).
  • 10.65.34.56 (with leading zero, e.g., 10.065.34.56) → Leading zeros not permitted.
  • 10.65.256.56 → Octet value 256 > 255 (out of range).
  • Mixed notations (binary + decimal) → Not allowed; use one consistent format.

Activity: Spot the Error

Test your understanding with these invalid IPv4 addresses:

  1. 10.045.34.56 → Error: Leading zero in second octet (should be 45).
  2. 10.10.10.1.5 → Error: Five octets (exceeds 4).
  3. 10.10.300.1 → Error: Third octet 300 > 255.
  4. 01110101.149.1.9 → Error: Mixed binary and decimal notations.

Key Takeaways

  • IPv4 addresses are 32-bit logical identifiers used for internet communication.
  • Two common notations: Binary (8-bit octets) and Dotted Decimal (0–255 per octet).
  • Valid addresses have exactly 4 octets, each between 0–255, with no leading zeros or mixed notations.
  • NAT technology addresses IP scarcity and ensures global uniqueness. For a deeper dive into how we've overcome address exhaustion, see Why We're Out of IP Addresses: Classful Addressing Explained.

Keep this summary

Save it to LunaNotes and it becomes a real note in your library — editable, searchable, and ready to turn into flashcards or a diagram. Free to start.

Save to LunaNotes

Or summarise for another video.

This summary and transcript were automatically generated using AI with the Free YouTube Transcript Summary Tool by LunaNotes.

Related summaries

Convert IPv4 Addresses: Binary to Dotted Decimal & Vice Versa

Convert IPv4 Addresses: Binary to Dotted Decimal & Vice Versa

This video provides a comprehensive tutorial on converting IPv4 addresses between dotted decimal and binary notation. Learn a simple, step-by-step method using the 8-bit power-of-two sequence to perform conversions accurately for all four octets of an IPv4 address.

IPv4 Address Classes Explained: Class A, B, C, D, E Identification Guide

IPv4 Address Classes Explained: Class A, B, C, D, E Identification Guide

This tutorial provides a comprehensive breakdown of the five classes of IPv4 addresses (A, B, C, D, and E). Learn how to identify each class using binary notation and dotted decimal format, with clear examples and a practical activity to test your understanding.

Why We're Out of IP Addresses: Classful Addressing Explained

Why We're Out of IP Addresses: Classful Addressing Explained

Discover the reasons behind the IPv4 address shortage, from mismanaged classful addressing to wasted IP ranges. Learn about Class A, B, C, D, E networks, loopback addresses, and how subnetting offers a band-aid solution.

IP Address Classes and Subnet Mask: Network vs Host Portions Explained

IP Address Classes and Subnet Mask: Network vs Host Portions Explained

This video explains IPv4 address classes (A, B, C, D, E) and introduces the critical concept of the subnet mask. Learn how subnet masks differentiate the network and host portions of an IP address to determine whether devices are on the same or different networks.

IP Addresses Explained: Master Subnetting Basics for IT Pros

IP Addresses Explained: Master Subnetting Basics for IT Pros

This beginner-friendly video explains what an IP address is, how devices get one, and the role of subnet masks and default gateways. Learn the fundamentals of network communication, including how devices talk within a network versus the internet, using a simple house address analogy.

Found this summary useful?

Take it with you. One click puts it in your own LunaNotes library.

Save to LunaNotes

Start taking better notes today with LunaNotes