Discovery · Lesson 06

How do addresses describe network boundaries?

An address identifies a destination, but a prefix also tells a network which destinations belong together. IPv4 (Internet Protocol version 4), IPv6 (Internet Protocol version 6), and subnets give routing a structured map.

The boundary problem

Addresses identify hosts. Prefixes group networks.

A device needs an address, but a router also needs to know which part of that address describes the network and which part describes the host. The prefix length marks that boundary.

In 192.168.10.24/24, the /24 prefix means the first 24 bits describe the network. The remaining bits identify a host inside it.

A subnet is a boundary for local decisions.Devices in the same subnet can usually communicate directly. Traffic for another subnet needs a router or another Layer 3 boundary.

Build the model

Three useful ideas

01

Address

Identifies an interface or destination, such as 192.168.10.24.

02

Prefix

Marks how many leading bits describe the network, such as /24.

03

Subnet

Defines one address range and the boundary for direct local delivery.

04

IPv6

Uses a much larger address space and commonly writes prefixes such as /64.

Mini experiment

Place the address

Choose a prefix and see how many IPv4 addresses it contains and whether two example addresses share the same subnet.

PREFIX192.168.10.0/24
ADDRESS COUNT256 IPv4 addresses
RANGE192.168.10.0 - 192.168.10.255
EXAMPLE CHECK192.168.10.24 and 192.168.10.42 share this subnet

A /24 prefix groups 256 IPv4 addresses into one range.

Knowledge check

Test your subnet model

Answer five questions. The answer order changes each time.

0 / 5