liveBook · Manning

Chapter 7: IPv4 addressing

What you will learn in chapter 7 of Acing the CCNA Exam: Volume 1 Fundamentals and Protocols

This introduction places IPv4 addressing in the context of Layer 3 routing and explains why IPv4 remains important alongside IPv6.

After this chapter you will be able to

What it builds on

Section by section

Introduction

This introduction places IPv4 addressing in the context of Layer 3 routing and explains why IPv4 remains important alongside IPv6.

Key terms: Layer 2 header, Layer 3 header, routers, switches, IPv4, IPv6, IPv4 address pool

7.1 The IPv4 header

Introduces the IPv4 header’s role, shows how to read its layout, and explains why its length varies.

Key terms: IPv4 header, Layer 3, Source Address, Destination Address, Options field, bit, byte, 32 bits

7.1.1 The Version field

This section explains how the four-bit Version field identifies the IP version indicated by a packet header.

Key terms: Version field, IPv4, IPv6, 0b, 0d

7.1.2 The IHL field

Explains how the IHL field expresses the variable length of an IPv4 header.

Key terms: Internet Header Length (IHL), Options field, 4-byte increments

7.1.3 The DSCP and ECN fields

This subsection identifies the DSCP and ECN fields in the IPv4 header and explains their role in prioritizing delay-sensitive traffic.

Key terms: Differentiated Services Code Point (DSCP), Explicit Congestion Notification (ECN), Type of Service, Quality of Service (QoS), delay-sensitive network traffic, voice and video traffic

7.1.4 The Total Length field

Explains what the IPv4 Total Length field measures and how it differs from the IHL field.

Key terms: Total Length field, IHL field, IPv4 header, payload

7.1.5 The Identification, Flags, and Fragment Offset fields

Explains when IPv4 packets are fragmented and how three header fields identify, control, and position their fragments.

Key terms: maximum transmission unit (MTU), fragmentation, fragments, Identification field, Fragment Offset field, Flags field, Don’t Fragment (DF) bit, More Fragments (MF) bit

7.1.6 The TTL field

Explains how the IPv4 TTL field causes routers to drop packets that might otherwise loop indefinitely.

Key terms: Time To Live (TTL) field, router, loop

7.1.7 The Protocol field

Explains how the IPv4 header’s Protocol field identifies the message carried inside a packet.

Key terms: Protocol field, EtherType field, ICMP, TCP, UDP, OSPF

7.1.8 The Header Checksum field

Explains what the IPv4 Header Checksum checks and contrasts its scope with the Ethernet FCS.

Key terms: Header Checksum, IPv4 header, FCS, Ethernet frame

7.1.9 The Source Address and Destination Address fields

Identifies the IPv4 header fields that hold the sender’s and intended recipient’s addresses.

Key terms: Source Address field, Destination Address field, IPv4 address

7.1.10 The Options field

This subsection explains the IPv4 Options field and why its variable length makes a header-length field necessary.

Key terms: Options field, IPv4 header, header length

7.2 The binary number system

Introduces binary and binary–decimal conversion as prerequisites for understanding IPv4 addresses, then leads into a review of decimal numbers.

7.2.1 Decimal

Explains how decimal numbers use ten digits and place values that increase tenfold from right to left.

Key terms: decimal, base 10, digits, ones position, tens position, hundreds position

7.2.2 Binary

This section explains binary place values and teaches how to convert eight-bit numbers between binary and decimal for IPv4 addressing.

Key terms: binary, base 2, bit, least-significant bit, most-significant bit, IPv4 addresses, 8 bits, 256 possible values, binary to decimal, bits set to 1

7.3 IPv4 addressing

Introduces IPv4 addresses as Layer 3 host identifiers and contrasts their end-to-end addressing role with MAC addresses and Layer 2 switching.

Key terms: IPv4 address, Layer 3, MAC addresses, next hop, Layer 2 devices, Layer 3 devices, destination IP address, Layer 3 header

7.3.1 The structure of an IPv4 address

Explains how IPv4 addresses are written and how their network and host portions are identified using prefix lengths or netmasks.

Key terms: IPv4 address, octet, dotted decimal notation, network portion, host portion, LAN, router interface, prefix length, /X, network prefix

7.3.2 Configuring IPv4 addresses on a router

This section shows how to configure and verify IPv4 addresses on Cisco router interfaces, then explains how the configured router forwards packets between two directly connected LANs.

Key terms: interface configuration mode, ip address ip-address netmask, no shutdown, netmask, show ip interface brief, Status, Protocol, administratively down, show ip interface, prefix length

7.3.3 Attributes of an IPv4 network

Explains how to identify an IPv4 network’s boundary addresses, calculate its maximum host count, and find its usable address range.

Key terms: network address, broadcast address, host portion, maximum number of hosts, host bits, first usable address, last usable address, usable address range, prefix length

7.3.4 IPv4 address classes

Explains how IPv4 address classes identify address ranges, assign fixed prefix lengths, and trade the number of networks against the number of addresses per network.

Key terms: class A, class B, class C, class D, class E, prefix length, netmask, network portion, host portion, classful networks

7.4 Summary

Where this is used later

Concepts explained in this chapter

← Chapter 6: Ethernet LAN switching Chapter 8: Router and switch interfaces →

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.