Menu
Coddy logo textTech

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 icon

Challenge

Easy

From 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  core

Try it yourself

Terminal

All lessons in LAN Labs

Practice on your own: Terminal playground