Sub topic 12
Network Devices and What They Do
This chapter assumes you know the network types, the OSI and TCP/IP models, and IPv4 addressing from earlier chapters. Here you learn what each common network device does, which layer it works at, and how to pick the right one for a scenario.
The Core Devices
Each device forwards traffic using a different piece of information. Knowing that piece tells you where the device sits in the models.
| Device | Typical OSI layer | Forwards using | Main job |
|---|---|---|---|
| Hub | 1 (physical) | Nothing | Repeats every signal out every port |
| Switch | 2 (data link) | MAC address | Connects devices in one LAN |
| Router | 3 (network) | IP address | Connects different networks |
| Access point (AP) | 1-2 | MAC address | Joins wireless clients to a wired LAN |
| Firewall | 3-7 | Rules | Allows or blocks traffic |
| Modem | 1 | Signal type | Converts signals for the ISP link |
| Patch panel | 1 | Nothing | Organizes cable runs |
Switch versus Hub
A hub is a repeater that sends incoming traffic to every port. All attached devices share one collision domain, so busy networks slow down. A switch learns which MAC address sits behind each port and sends a frame only to its destination. Hubs are obsolete, but the exam still asks you to tell them apart. A managed switch adds features such as VLANs and port monitoring. An unmanaged switch works with no configuration.
Router
A router connects separate networks, such as your LAN and the internet. It reads the destination IP address and chooses the next hop. A SOHO router usually combines a router, a small switch, an access point, and a firewall in one box.
Access Point, Firewall and Modem
An access point bridges wireless clients onto the wired network. A firewall inspects traffic against rules, often by port, protocol, or address. Firewalls can be hardware appliances or software on a host. A modem converts between the digital signals of your network and the signals of the ISP medium, such as cable, DSL, or fiber (an optical network terminal, ONT, does this for fiber).
A patch panel is a passive board of ports. Cables from wall jacks end at the back, and short patch cables connect the front to a switch.
How the Devices Connect
Choosing a Device
- Need more wired ports on one LAN: add a switch.
- Need to link two different IP networks: use a router.
- Need Wi-Fi coverage in a dead zone: add an access point wired back to the switch.
- Need to block inbound traffic by port: configure a firewall.
- Need to bring in a cable, DSL, or fiber service: use the matching modem or ONT.
Common Errors
- Plugging a second router into a LAN when only more ports were needed. This creates a second network and can cause double NAT.
- Connecting an access point to a wireless client instead of to a wired switch port.
- Expecting a hub or unmanaged switch to filter or block traffic.
Exercise
A technician needs to connect two offices that use different IP subnets, and traffic between them must be chosen by destination IP address. Which device is needed, and at which OSI layer does it work?
Show answer
A router, which works at Layer 3 (network). A switch works at Layer 2 and forwards only by MAC address within one network.
Exercise
Why does a switch perform better than a hub on a busy LAN?
Show answer
A switch learns MAC addresses per port and sends each frame only to its destination port. A hub repeats every signal to all ports, so all devices share one collision domain.