Network Hardware: Switches, Routers and Cables
Learn what network cards, switches, routers, access points and modems each do, and compare Ethernet copper, fiber and Wi-Fi connections.
Welcome back!
Step 1 of 11Learn
The box that does everything
Most homes have one plastic box from the internet provider with blinking lights. People call it "the router", but it is really four or five devices in one case:
- A modem (or optical terminal for fiber) converts the provider's signal on cable, DSL or fiber into ordinary Ethernet.
- A router connects your home network to the internet and decides where packets go.
- A switch gives you several wired Ethernet ports.
- A wireless access point creates the Wi-Fi network.
- A small firewall, a DHCP server and often a DNS forwarder, which you'll meet later.
In an office, each of these is usually a separate device, often in a rack, because each one needs to scale differently. Knowing which job each part does makes it much easier to understand a network diagram or figure out what failed.
Every device that connects to a network has a network interface card (NIC), a wired Ethernet port, a Wi-Fi radio or both. Each NIC has a hardware address called a MAC address, which is used to deliver frames on the local network.
Step 2 of 11Learn
Switches and routers
The two most important boxes work at different layers.
A switch connects devices within the same local network. It works at Layer 2. When a frame arrives, the switch reads the destination MAC address, looks it up in its MAC address table and sends the frame out of only the port where that device is connected. It learns the table automatically by noting the source MAC address of each frame and the port it came from. If it doesn't know a destination yet, it floods the frame out of every port except the one it came in on, and learns from the reply.
Old hubs simply repeated every signal to every port, so all devices shared the bandwidth and could see each other's traffic. Switches replaced them almost entirely.
A router connects different networks and works at Layer 3. It reads the destination IP address of each packet, checks its routing table and forwards the packet toward the right network, one hop closer to the destination. Your home router connects exactly two networks: your LAN and your provider's network. Internet backbone routers connect hundreds and exchange route information with each other automatically.
A short way to remember: switches deliver within a network using MAC addresses; routers move traffic between networks using IP addresses.
Step 3 of 11Practice · Sort into groups
Sort each statement by whether it describes a switch or a router.
Tap an item, then tap its group (or drag it there).
Step 4 of 11Practice · True or false
When a switch receives a frame for a MAC address it has not learned yet, it drops the frame.
Step 5 of 11Learn
Cables, fiber and wireless
Data travels over three kinds of physical media.
Copper Ethernet cable (twisted pair with RJ45 plugs) is the standard for desks, TVs and office wiring. Categories set the performance: Cat5e handles 1 Gbps, Cat6 handles 1 Gbps comfortably and 10 Gbps over shorter runs, and Cat6a handles 10 Gbps over the full distance. The standard maximum run is 100 meters (about 328 feet); beyond that the signal degrades.
Fiber optic cable carries pulses of light through glass. It supports very high speeds over very long distances, from hundreds of meters to many kilometers, and it is immune to electrical interference. It connects buildings, data center racks, provider networks and undersea links between continents.
Wireless (Wi-Fi, mobile networks) uses radio waves. It is convenient and mobile, but signals weaken with distance and walls, all devices on a channel share the airtime, and nearby networks interfere. A wired connection is almost always faster and more stable than Wi-Fi in the same spot.
The practical advice network technicians give: plug in anything that doesn't move and needs reliability, such as desktops, game consoles, TVs and especially Wi-Fi access points, and keep wireless for phones and laptops.
Step 6 of 11Compare
Copper vs. fiber vs. Wi-Fi
| Aspect | Copper Ethernet | Fiber optic | Wi-Fi |
|---|---|---|---|
| Typical speeds | 1–10 Gbps | 1 Gbps to 400 Gbps and beyond | Hundreds of Mbps to a few Gbps, shared |
| Distance | Up to 100 m per run | Hundreds of meters to tens of kilometers | Tens of meters indoors, less through walls |
| Interference | Some, from electrical sources | Immune to electrical interference | Sensitive to walls and other networks |
| Best for | Desks, TVs, access points | Backbones, buildings, long links | Phones, laptops, mobility |
Step 7 of 11Practice · Match the pairs
Match each device to its main job.
Tap an answer, then tap the place where it belongs (or drag it there).
- Modem or optical terminal
- Switch
- Router
- Wireless access point
- Network interface card
Step 8 of 11Practice · Diagram
What is inside the home "router" box
Which part connects the box to your provider's line?
Tap the shape that answers the question, then press Check.
- Home gateway
- Modem / optical terminal
Talks to the provider over cable, DSL or fiber.
- Router
Forwards traffic between your home network and the internet, with NAT.
- Switch
The Ethernet ports on the back connect local devices.
- Wi-Fi access point
Bridges wireless devices onto the same local network.
- DHCP, DNS relay, firewall
Hands out addresses and blocks unsolicited inbound connections.
Step 9 of 11Tap to reveal
Other devices you will see in network diagrams
Firewall appliance
A dedicated device that filters traffic between networks according to security rules. In homes, this function is built into the router.
Load balancer
Spreads incoming requests across several servers so no single one is overwhelmed and a failed server can be taken out of rotation.
Layer 3 switch
A switch that can also route between local subnets at high speed, common in office and campus networks.
PoE switch
A switch that supplies Power over Ethernet through the same cable, powering access points, phones and cameras without separate power adapters.
Step 10 of 11Practice · Choose one
A company wants to mount Wi-Fi access points on ceilings where there are no power outlets. What makes this simple?
Step 11 of 11Practice · Choose one
A home office needs a wired connection for a desktop that sits 130 meters from the router across a warehouse. What is the best option?
Lesson complete!