Six interactive checkpoints along the way — quizzes, a DORA stepper, a DNS visualizer, and more.
| Aspect | Static | Dynamic |
|---|---|---|
| Who assigns it? | A human admin, manually | A DHCP server, automatically |
| Does it change? | Stays the same until changed by hand | Can change every time you join the network |
| Effort per device | High — configure each one | Near zero — just plug in |
| Risk of duplicates | Real — if two admins pick the same IP | Server tracks every lease, so no duplicates |
| Typical use | Servers, network gear, printers | Laptops, phones, IoT devices |
Use a static IP when other devices need to find this device by a fixed address.
Use dynamic for any device that mostly initiates connections (a "client") and doesn't need a fixed address.
The DHCP server hands out an address, default gateway, subnet mask, and DNS server in one go — so the device "just works" the moment it joins the network.
Imagine configuring 200 phones in an office by hand… 😩
For each device, which kind of address makes the most sense?
67 (server) and 68 (client).When a client joins a network, it negotiates a lease with the DHCP server in four messages:
Client → broadcast: "Anyone home?"
Server → client: "Try this IP"
Client → broadcast: "I'll take it"
Server → client: "Confirmed"
Just remember: Discover → Offer → Request → Ack. We'll walk through each on the next slides.
0.0.0.0 Destination: 255.255.255.255192.168.1.42 from server 192.168.1.5."That's the full D-O-R-A!
169.254.0.0/16 — the Automatic Private IP Addressing range.169.254.x.x in ipconfig is your big red flag: "DHCP isn't working."Click an IP, then click the bucket it belongs in. Are these private (RFC 1918), APIPA, or public addresses?
A "scope" is everything the server is configured to hand out:
| Option | What it is | Example |
|---|---|---|
| Address pool | Range of IPs the server is allowed to lease | 192.168.1.100 – 192.168.1.200 |
| Subnet mask | How big the local network is | 255.255.255.0 (/24) |
| Default gateway | The router to send off-network traffic to | 192.168.1.1 |
| DNS server(s) | Who resolves names to IPs | 8.8.8.8, 1.1.1.1 |
| Lease time | How long the IP is reserved | 86400 sec = 1 day |
| Reservations | "Always give MAC X this same IP" | Printer, NAS |
| Exclusions | IPs in the pool the server must not hand out | .100 – .105 reserved for static use |
192.168.1.100 – 200)Same protocol — very different scale.
You're designing the IP plan for an office on the 10.20.30.0/24 network.
| Device | Assignment | Reasoning |
|---|---|---|
| Gateway router | Static 10.20.30.1 | Every device's "default route" |
| DHCP / DNS server | Static 10.20.30.5 | Itself! Can't lease to itself. |
| Network printer | DHCP reservation → 10.20.30.10 | Same IP every time, but managed centrally |
| Wi-Fi APs (×4) | Static 10.20.30.20–23 | Controller needs to find them |
| Reserved range | Excluded .30–.49 | Future static needs |
| User laptops/phones | DHCP scope 10.20.30.50 – 10.20.30.200 | ~150 dynamic leases for 50 users |
Static for "infrastructure," dynamic for "people." Reservations bridge the gap.
142.250.190.46.google.com.www.google.comDNS turns a human-readable name into an IP address (and back).
"What is the IP of google.com?"
google.com → 142.250.190.46
"Which name does 8.8.8.8 belong to?"
8.8.8.8 → dns.google
DNS uses UDP port 53 (and TCP 53 for larger replies / zone transfers).
." — they know who runs each TLD..com, .org, .net, .uk, … — they know who runs each domain inside their TLD.example.com.www.example.comwww.example.com..com?" → root replies with the IP of a .com TLD server.example.com?" → TLD replies with the authoritative server for example.com.www.example.com?" → it replies with the IP.All of that usually happens in well under 100 ms.
| Type | What it maps | Example use |
|---|---|---|
A | name → IPv4 address | Browse to example.com |
AAAA | name → IPv6 address | Same, but over IPv6 |
CNAME | name → another name (alias) | www.example.com → example.com |
MX | domain → mail server name | Routing email to @example.com |
NS | domain → authoritative name servers | Delegation |
PTR | IP → name (reverse lookup) | Mail logs, traceroute |
TXT | arbitrary text | SPF, DKIM, domain verification |
SOA | "Start of Authority" — zone metadata | One per zone |
A and AAAA recordsSample zone file entries:
www.example.com. IN A 93.184.216.34 www.example.com. IN AAAA 2606:2800:220:1:248:1893:25c8:1946 api.example.com. IN A 203.0.113.10 api.example.com. IN A 203.0.113.11
The bottom two together = round-robin between two API servers.
CNAME recordswww.example.com and example.com to resolve to the same place — change the IP once, both follow.myshop.com → myshop.shopify.com.www.example.com. IN CNAME example.com. example.com. IN A 93.184.216.34
MX records (mail)| Record | Priority | Mail server |
|---|---|---|
example.com IN MX | 10 | mail1.example.com (primary) |
example.com IN MX | 20 | mail2.example.com (backup) |
Sending server tries priority 10 first; falls back to 20 if it's unavailable.
For each scenario, pick the DNS record type that does the job.
| Scenario | Your answer |
|---|---|
Map www.gameshop.com to the IPv4 address of its web server. |
|
Tell senders which servers handle email for @gameshop.com. |
|
Make shop.gameshop.com an alias for gameshop.myshopify.com. |
|
| Map a hostname to an IPv6 address. | |
Look up which name belongs to the IP 203.0.113.10. |
|
| Publish an SPF policy to help fight email spoofing. |
mail.eng.example.co.uk from right to left, which is the TLD?169.254.x.x = APIPA = "DHCP didn't answer."A / AAAA / CNAME / MX / NS / PTR / TXT / SOA.Put DHCP and FTP into practice in Cisco Packet Tracer across three sessions: build your own DHCP-served LAN, connect with classmates via Multiuser, and exchange files over FTP.
Up next in the course: Switches, Routers, and Network Segmentation.