# Network Switch

> A box that links devices on one network by cable. It sends data only where it is needed.

**Field:** Infrastructure  
**Category:** Networking  
**Also known as:** Ethernet Switch, Switch (Networking)

## Think of it like

It is like a school hall monitor. Each note goes only to the room it is meant for.

## Definition

A network switch links devices inside one local network by cable. Each device plugs into a port on the switch. The switch learns which device sits on which port by its MAC address. Then it sends each piece of data only to the port that needs it. This keeps traffic off the other cables.

## Example

Jack's office has a 24-port switch. Each desk's cable runs to it, and the switch passes data between the desks.

## Why it matters

Switches let many wired devices share one fast network. They do not get in each other's way.

## Common mistake

Plugging in a switch and expecting it to reach the internet alone. It still needs a router to get outside.

## Three principles

- **Inside one network.** It links devices on the same LAN.
- **Learns MAC addresses.** It knows which device is on which port.
- **Sends direct.** Data goes only where it is needed.

## Related terms

- [Router](https://learn.benibix.com/term/infrastructure/router)
- [Media Access Control Address (MAC Address)](https://learn.benibix.com/term/infrastructure/mac-address)
- [Local Area Network (LAN)](https://learn.benibix.com/term/infrastructure/local-area-network)
- [Computer Network](https://learn.benibix.com/term/infrastructure/computer-network)

## Told apart from

- [Router vs Network Switch](https://learn.benibix.com/compare/router-vs-network-switch): People think a router and a switch are the same box, and they are not. A switch links devices inside one network, like the laptops in one office. A router joins one network to another, like your home to the internet. Most home routers have a small switch built in, which is why the two get mixed up.

## Taught in

- [Routers, Switches and LANs](https://learn.benibix.com/learn/infrastructure-networking/routers-switches-and-lans): Computer Networking, 1/13

![A home network. A laptop, a phone and a printer each link to a switch in the middle, and each one shows its own MAC address. The switch links to a router, and the router is the only line out to the internet cloud on the right.](https://learn.benibix.com/diagrams/inf2-lan.svg)

---

Source: https://learn.benibix.com/term/infrastructure/network-switch
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
