✍ 12: Wide Area Networks โ Exercises¶
Tip
Practice โ try each question first, then expand the answer to check your reasoning.
Work through each question, then click โถ Show answer to check yourself. Review the notes if you get stuck.
🌍 Q1. At which OSI layers do LANs and WANs differ, and which do they share?¶
Show answer
They **differ at Layers 1โ2** (media, access methods, framing) and **share Layers 3+** (IP, TCP/UDP).🧭 Q2. Match the metric/behavior to the routing protocol: hop count (max 15), cost/bandwidth link-state, between autonomous systems.¶
Show answer
- Hop count (max 15) โ **RIP** - Cost/bandwidth, link-state โ **OSPF** - Between autonomous systems โ **BGP**💡 Q3. A router learns a route to the same network via OSPF and via a static route. Which is installed, and why?¶
Show answer
The **static route** โ it has a lower **administrative distance** (static = 1 vs. OSPF = 110), so it's more trusted.🌍 Q4. Compare hub-and-spoke and full-mesh WAN topologies (redundancy vs. cost).¶
Show answer
- **Hub-and-spoke** โ cheap and simple, but the hub is a single point of failure and spoke-to-spoke traffic takes two hops. - **Full mesh** โ every site directly linked โ maximum redundancy and optimal paths, but expensive/complex (many links).🔹 Q5. A branch office needs cheap, encrypted connectivity to HQ over the Internet. What fits?¶
Show answer
A **site-to-site VPN** (typically IPsec) over the public Internet โ far cheaper than a dedicated circuit, with an encrypted tunnel. **SD-WAN** can add multi-link steering/failover.🔹 Q6. Rank by typical bandwidth/latency for last-mile access: dial-up, DSL, fiber (FTTH), satellite (geostationary).¶
Show answer
Best โ worst: **Fiber (FTTH) > DSL > Satellite (geostationary โ high latency) > Dial-up.**❓ Q7. What is the "last mile," and what is a CSU/DSU used for?¶
Show answer
- **Last mile** โ the connection from the provider's network to the customer premises. - **CSU/DSU** โ terminates a digital leased line (T1/T3), converting between the router and the WAN circuit's signaling.🔹 Q8. How does MPLS forward traffic, and what advantage does that give?¶
Show answer
MPLS forwards by **labels** (label swapping) rather than full IP lookups at each hop, enabling **fast forwarding, QoS, and traffic engineering** across the provider network.❓ Q9. What is a default route, and when is it used?¶
Show answer
`0.0.0.0/0` โ the **gateway of last resort**. It matches any destination not otherwise in the routing table (commonly the route toward the ISP/Internet from a stub site).🔹 Q10. Contrast single-homed and multihomed Internet connectivity.¶
Show answer
- **Single-homed** โ one ISP, one link; no redundancy. - **Multihomed** โ multiple ISPs/links (often via BGP) for failover and load sharing.💡 Q11. Which PPP authentication method is secure, and why?¶
Show answer
**CHAP** โ it uses a challenge-response **hash**, so the password is never sent in clear text (and it re-authenticates periodically). **PAP** sends credentials in plaintext and is insecure.❓ Q12. What is convergence, and why does faster convergence matter?¶
Show answer
Convergence is when **all routers agree** on the topology after a change. Faster convergence (OSPF/EIGRP over RIP) means **less disruption** and quicker rerouting during failures.โฌ ๏ธ Prev: Module 11 ยท ๐ All Exercises
🧭 Bonus Scenario Practice¶
🧩 Case A: Route Selection¶
A router knows these routes:
10.0.0.0/8through OSPF10.10.0.0/16through RIP10.10.5.0/24as a static route
Which route is used for destination 10.10.5.44, and why?
Show answer
The static `10.10.5.0/24` route is used because it is the longest prefix match. Route specificity is checked before administrative distance.🧩 Case B: WAN Choice¶
A rural branch office needs connectivity for email and cloud apps, but fiber and cable are unavailable. Latency-sensitive voice calls perform poorly over the current satellite link. What should the design discussion focus on?