Module 016 min

What a network actually is

Two computers and one cable work perfectly. The third computer is where the entire discipline begins.

After this module
  • You can say what a switch does that a cable cannot, and what a router does that a switch cannot.
  • You can explain why the internet is described as a network of networks instead of one big network.

You plug a cable into two laptops and they can talk. Send a file, play a game, share a printer. Nothing about this is mysterious: one wire, two ends, bits travel along it.

Now add a third laptop. You cannot simply splice a third end onto a cable. Copper carries one signal at a time, and three devices all transmitting produce noise. The moment you need a third participant you need something that decides who speaks and who hears it — and that device is the first real piece of network engineering in this course.

1.1Three things every network needs

Strip away the products and every network is the same three ingredients.

The irreducible parts.
IngredientWhat it doesWhat breaks without it
A linkMoves bits between two points — copper, fiber, radioNothing arrives; the interface is down
An addressSays who is sending and who should receiveEveryone hears everything; no one can reply
An agreementRules for framing, ordering and errors — a protocolTwo devices connected, exchanging nothing useful

Most beginner confusion comes from collapsing the middle one. An address is not a name for a machine; it is a name for an interface. A laptop with Wi-Fi and Ethernet has two addresses. A server with a public and a private address has two. That single fact explains a surprising number of "but it's the same computer" arguments later.

1.2Two devices that solve different problems

A switch connects devices inside one network. It learns which physical port each hardware address lives on, then forwards a frame only out of the port that needs it. Before switches, a hub repeated every signal to every port, so three devices shared one conversation. A switch gave each pair their own.

A router connects different networks. It has an address in each one, receives a packet, looks at the destination address, and hands it to whichever neighbour is closer to that destination. It does not know where everything is; it knows which way to go next.

ONE NETWORK, THEN TWO room A · one network pc 1 pc 2 pc 3 printer switch same network router between networks the internet other networks
The switch keeps one conversation separate from another. The router is the only device that knows there is an outside.
Try it · add one device at a time3 stages

A single cable. Both ends transmit on the same pair, so a collision is a matter of timing; modern Ethernet negotiates who sends when, which is why a direct cable between two machines works without any configuration at all.

What you have to agree on: addresses in the same range, and nothing else. No gateway, no DNS, no DHCP.

1.3A network of networks

Your home network connects to your provider's network, which connects to others, which connect to the server hosting the page you want. Nobody owns the whole thing. Each network agrees to carry traffic for the others, under commercial and technical terms, and the agreement is expressed in a routing protocol.

That is why "the internet is down" is almost never true. What is down is a link, a provider, a name server, or one service. The internet is a mesh with enough redundancy that a cable cut in the Atlantic becomes a slightly slower path for a few hours.

The trap · "the cloud is a place"

The cloud is somebody else's network, reachable over the same public internet, with the same cables, the same DNS and the same failure modes — plus a control panel that can make a change in seconds without anyone reviewing it. When a cloud service is unreachable, the diagnosis follows exactly the same steps as for anything else, which is what the rest of this course is about.

Check yourselfQuestion 1 of 1

Two computers on different subnets are plugged into the same switch. What is missing?

60-second recap

  • Link, address, agreement. Every network is those three things, at every scale.
  • Switch inside, router between. A switch forwards by hardware address within one network; a router forwards between networks.
  • Addresses identify interfaces. One machine can have several, and usually does.