CloudAcademia
EN

Networking · Module 05 · IP Addressing: IPv4 Fundamentals

IP Addressing: IPv4 Fundamentals

Overview2h 30min totalBeginnerMarkdown

Showing raw Markdown: the renderer could not load.

Every device that talks on a network needs an address that other devices can reach, and reading those addresses correctly is the first step in configuring and troubleshooting any network. This module explains how **Internet Protocol (IP)** addresses are built, how to tell the network part from the host part, and which address ranges have special meanings. It ends with a first look at IPv6. Dividing networks into subnets is covered in [06 — Subnetting](../06-subnetting/README.md), and IPv6 in depth in [07 — IPv6](../07-ipv6/README.md).

## Learning objectives
By the end of this module you will be able to:
1. Explain what an IP address identifies, how it differs from a MAC address, and how an IPv4 address is split into network and host parts with a prefix length (Classless Inter-Domain Routing, CIDR, notation).
2. Convert IPv4 addresses and masks between dotted-decimal and binary, and work out the network address, broadcast address and usable host range of a given prefix.
3. Classify IPv4 addresses by purpose: public, private (RFC 1918), loopback, link-local, shared address space for Carrier-Grade NAT (RFC 6598), documentation (RFC 5737), multicast and broadcast.
4. Explain why IPv6 exists and recognize an IPv6 address and its prefix length.
5. Compare static addressing with the Dynamic Host Configuration Protocol (DHCP), and explain why private addressing and network address translation (NAT) exist.

## Prerequisites
- [04 — The OSI Model](../04-osi-model/README.md), especially Layer 2 vs Layer 3 and encapsulation.
- Comfort opening a terminal.
- For the lab: Python 3 (any recent version; only the standard library is used).

## Contents
| Type | Duration |
|---|---|
| [Theory](lesson.md) | 50 min |
| [Hands-on lab: inspecting and classifying your own addresses](lab.md) | 45 min |
| [Assessment (10 questions)](quiz.md) | 15 min |

## Further reading
- [RFC 791](https://www.rfc-editor.org/rfc/rfc791) — Internet Protocol (IPv4)
- [RFC 4632](https://www.rfc-editor.org/rfc/rfc4632) — Classless Inter-domain Routing (CIDR)
- [RFC 1918](https://www.rfc-editor.org/rfc/rfc1918) — Address Allocation for Private Internets
- [RFC 6890](https://www.rfc-editor.org/rfc/rfc6890) — Special-Purpose IP Address Registries
- [RFC 2131](https://www.rfc-editor.org/rfc/rfc2131) — Dynamic Host Configuration Protocol
- [RFC 8200](https://www.rfc-editor.org/rfc/rfc8200) — Internet Protocol, Version 6 (IPv6) Specification
- [IANA IPv4 Special-Purpose Address Registry](https://www.iana.org/assignments/iana-ipv4-special-registry/)