IP Addressing
Chapter 7 — IP Addressing
Thirty-two bits meet 128. This study map turns IPv4 ranges, binary place values, prefixes, IPv6 compression, address scopes, SLAAC, EUI-64, and transition technologies into practical exam decisions.
IPv4 Foundations
An IPv4 address is a 32-bit logical identifier written as four decimal octets. A prefix length marks the network bits; the remaining bits identify hosts.
Bit
A bit is 0 or 1. Eight bits form one octet with a decimal range of 0 through 255.
Network address
Identifies the subnet for routing and is not assigned to an ordinary host.
Broadcast address
Reaches every IPv4 host in the subnet. Assignable host addresses fall between network and broadcast.
Prefix length
Written /n; defines the boundary between network bits and host bits.
Binary Octet Converter
Enter a decimal octet from 0 to 255 to see its eight binary place values.
Historical Address Classes
| Class | First octet | Default prefix | Use |
|---|---|---|---|
| A | 1–126 | /8 | Very large host networks |
| B | 128–191 | /16 | Medium networks |
| C | 192–223 | /24 | Smaller networks |
| D | 224–239 | None | Multicast |
| E | 240–255 | None | Experimental / reserved |
Network, Host & Broadcast
| Example network | First usable | Last usable | Broadcast |
|---|---|---|---|
| 10.0.0.0/8 | 10.0.0.1 | 10.255.255.254 | 10.255.255.255 |
| 172.16.0.0/16 | 172.16.0.1 | 172.16.255.254 | 172.16.255.255 |
| 192.168.100.0/24 | 192.168.100.1 | 192.168.100.254 | 192.168.100.255 |
IPv4 Address Classifier
Select an address to reveal its range and practical meaning.
Public, Private & APIPA
10.0.0.0/8
Private range 10.0.0.0 through 10.255.255.255.
172.16.0.0/12
Private only from 172.16.0.0 through 172.31.255.255—not every 172 address.
192.168.0.0/16
Private range 192.168.0.0 through 192.168.255.255.
169.254.0.0/16
APIPA provides local-link communication but no usable default gateway automatically.
CIDR, VLSM & Delivery
| Delivery | Pattern | Key behavior |
|---|---|---|
| Unicast | One to one | Packet targets one interface |
| Broadcast | One to all | All hosts in the IPv4 broadcast domain |
| Multicast | One to subscribed group | Uses 224.0.0.0/4 |
IPv6 Foundations & Notation
IPv6 uses 128 bits written as eight 16-bit hexadecimal blocks. It expands address capacity and makes autoconfiguration, multicast, anycast, and neighbour discovery central features.
Global unicast
2000::/3 is globally routable IPv6 space.
Link-local
FE80::/10 supports neighbour discovery and is never routed beyond the link.
Unique local
FC00::/7 is routable inside an organization but not on the public Internet.
Multicast
FF00::/8 replaces many functions that used IPv4 broadcast.
IPv6 Compression Explorer
Remove leading zeros in each block, then replace one contiguous run of zero blocks with ::. The double colon may appear only once.
IPv6 Address-Type Explorer
SLAAC Sequence Builder
SLAAC creates IPv6 addressing without a stateful address server.
Modified EUI-64
Modified EUI-64 derives a 64-bit interface ID from a 48-bit MAC address.
SLAAC, DHCPv6 & Transition
SLAAC
Host builds its address from a router-advertised prefix; no lease database is required.
Stateless DHCPv6
SLAAC builds the address while DHCPv6 supplies options such as DNS.
Stateful DHCPv6
A server assigns and tracks the IPv6 address and supplies options.
Dual stack
Runs IPv4 and IPv6 simultaneously; flexible but both must be operated and secured.
Tunneling
Encapsulates IPv6 across an IPv4-only section, adding overhead and possible NAT complications.
NAT64
Translates between IPv6-only clients and IPv4-only services, often with DNS64.
PowerShell 7 Practice
Get-NetIPAddressAddresses, prefixes, families, originsGet-NetIPAddress -AddressFamily IPv4IPv4 onlyGet-NetIPAddress -AddressFamily IPv6IPv6 onlyGet-NetRoute -AddressFamily IPv4IPv4 routes and default routeGet-NetNeighborARP and IPv6 neighboursTest-NetConnection 127.0.0.1IPv4 loopbackTest-NetConnection ::1IPv6 loopbackResolve-DnsName example.com -Type AAAAIPv6 DNS recordExam Check
Fifteen review questions drawn directly from the Chapter 7 manual.