Networking Fundamentals for Beginners / Chapter 1 — The shape of a network (lessons 1–3) / Lesson 1

The big picture of networking, and your practice environment

Time needed: about 6 min (estimate)

☆ Read later

You can try the opening of this lesson without an account.

What this course does

Networking is hard to study because you have no "network" to hand.

You read the book, you have exactly one router, and it is the production environment your family or your company is using — you cannot change the subnet mask or delete a route.

So this course is built around making one network you are allowed to break and doing all of it there.

We start a single Docker container and inside it stand up three hosts, two routers and one machine playing the internet, and use that for all 30 lessons.

It assumes you can use ls, cd and cat (if that is shaky, go to Introduction to Linux).

Six virtual machines? No

Hearing "six devices" you may picture six VirtualBox virtual machines.

We will not.

There is not enough memory, and they take minutes to boot.

Instead we use Linux network namespaces (netns).

An ip netns is one device, a veth pair is one LAN cable, a bridge is one switch.

These are all real Linux kernel features, and Docker's own networking runs on the same machinery.

Startup is instant, memory is near zero, and the behavior is the same as real hardware.

Create a free account to keep reading

With an account you can read the rest of this lesson, take the quiz, and read every free lesson in this course. Lessons you answer correctly are recorded as complete.

Report a problem with this lesson

Log in to send a report.

Keyboard shortcuts

Keys available in a lesson
KeyAction
[ or Alt + ←Go to the previous lesson
] or Alt + →Go to the next lesson
?Open this list
EscClose this list

The keys do not work while the cursor is in a code editor or an input field.