Local networks and addressing

How frames cross a LAN with MAC addresses and switches, how IPv4 and IPv6 addresses are built and subnetted, and how DHCP and NAT hand out and share addresses.

About 7 hours of study

Learning objectives

Lessons

  1. 1

    Ethernet, MAC addresses and switches

    How frames cross a local network: MAC addresses, switches that learn where everyone is, and ARP, which finds a MAC address from an IP address.

  2. 2

    IP addresses

    IPv4 addresses in decimal and binary, the network and host parts, private addresses, NAT, and why IPv6 has 128 bits.

  3. 3

    Subnetting Intermediate

    Split one network into smaller ones: masks, network and broadcast addresses, host counts, and giving each group a block of the right size with VLSM.

  4. 4

    DHCP and NAT: getting an address and sharing one

    How a device gets its IP address automatically with DHCP, and how NAT lets a whole home share one public address by rewriting addresses and ports.

Module practice

Module quiz

1. A switch sees a frame from an unknown source on port 3. What does it learn?
2. What is the broadcast MAC address?
3. How many usable host addresses does a /26 network have?
4. A /24 is split into 8 equal subnets. What is each subnet's prefix?
5. Which message does a DHCP client send first when it joins a network?
6. Two inside hosts both use source port 5000 to reach the internet through one NAT router. How does the router tell the replies apart?

‹ Packets, delay and errorsRouting ›