The Plan
Lesson 27 of 35 in Coddy's LAN Labs course.
Time to build a network the way a small company would: one core router, and one switch per department so Sales and Engineering each get their own subnet. Over this chapter you grow it step by step; each lesson starts where the previous one left off.
Infrastructure first, devices later. Add the router and both switches, then cable the switches to the router. The order you cable matters for the names: the first cable takes eth0 on the router, the second eth1, so cable Sales first.
Challenge
EasyFrom an empty folder: create the lab, add router core, switch sales and switch eng (in that order), cable core to sales and then core to eng, and show the lab.
Expected output:
Lab created: netlab.json
Added router core
Added switch sales
Added switch eng
Linked core (eth0) <-> sales (port1)
Linked core (eth1) <-> eng (port1)
NODE TYPE LINKS
core router sales, eng
eng switch core
sales switch coreTry it yourself
All lessons in LAN Labs
4Routers and Gateways
Two NetworksThe Default GatewayBoth Sides Need a Way BackRouting TablesRecap - Connect the Floors7Growing the Office
The PlanSales Comes OnlineEngineering JoinsGateways EverywhereRecap - The Printer2Addresses on the LAN
Giving a Host an AddressThe First PingWhat ARP LearnedThe Switch Learns TooRecap - First Conversation8Capstone - Fix the Branch
Survey the DamageFix the Address ClashMasks and GatewaysRecap - Prove It WorksPractice on your own: Terminal playground