A user says “the internet is down”. Is it the Wi-Fi access point, the switch port, the router, the firewall or the load balancer in front of the application? You can only answer quickly if you know what each network device does, what it decides on, and where it sits in the path.
This guide explains the network devices you will meet in homes, offices and data centres. For each one you get what it does, which OSI layer it works at, a real command to check it, the most common problem, and the security setting that matters most. It finishes with the cloud equivalents of each device and a device-by-device troubleshooting checklist.
Key takeaways
- Each device makes decisions using different information: signals, MAC addresses, IP addresses, ports or application data. That is what its OSI layer really means.
- In a typical office, traffic passes an access point or switch, a Layer 3 switch or router, and a firewall before reaching the internet.
- Most outages trace back to one device in that path. Knowing what each one should show you turns guessing into a checklist.
What are network devices?
Network devices are the hardware or virtual appliances that connect endpoints and move, filter, translate or protect traffic between them. Laptops, phones and servers are endpoints. Switches, routers, firewalls and access points are network devices.
The most useful way to tell devices apart is by what they look at when deciding what to do with traffic. A hub looks at nothing. A switch reads MAC addresses. A router reads IP addresses. A modern firewall can read ports, users and applications. That maps directly to the OSI model: the higher the layer, the more a device can understand and control.
Network devices at a glance
| Device | OSI layer | Decides using | Where you find it | Key security setting |
|---|---|---|---|---|
| Repeater / hub | 1 | Nothing (repeats signals) | Legacy networks | Replace with switches |
| Bridge | 2 | MAC addresses | Joining two segments (now built into switches) | Same as switch |
| Switch | 2 | MAC addresses | Every wired LAN | Port security, 802.1X, disabled unused ports |
| Layer 3 switch | 2 and 3 | MAC and IP addresses | Campus core, data centre | ACLs between VLANs |
| Router | 3 | IP addresses and routes | Network edges, WAN links | Anti-spoofing ACLs, secure management |
| Modem / ONT | 1 and 2 | Line signalling | Where the ISP line enters | Change default credentials |
| Wireless access point | 1 and 2 | MAC addresses, SSIDs | Offices, homes | WPA3, separate guest SSID |
| Firewall / NGFW | 3 to 7 | IPs, ports, apps, users | Internet edge, between zones | Default-deny policy, logging |
| IDS / IPS | 3 to 7 | Traffic signatures and behaviour | Behind the firewall, data centre | Tuned signatures, alerting to SIEM |
| Proxy / secure web gateway | 7 | URLs, domains, content | Between users and the internet | TLS inspection policy, URL filtering |
| Load balancer | 4 to 7 | Server health, ports, HTTP data | In front of applications | TLS settings, WAF features |

How a request moves through network devices
Follow a user in a typical office opening an internal web application:
- The laptop connects through a wireless access point or a wired access switch, which forwards the frame by MAC address.
- The frame reaches the Layer 3 core switch (the laptop’s default gateway), which routes it towards the server VLAN.
- An internal firewall checks the connection against policy before it enters the data centre zone.
- A load balancer picks a healthy application server and forwards the request.
- The server replies, and the response returns through the same devices in reverse.
Laptop -> Access point / switch -> L3 core switch -> Firewall -> Load balancer -> App server
<- response follows the same path back <-For internet traffic, the path ends at an edge router or firewall, often with a proxy or secure web gateway inspecting web traffic first. Every one of these hops is a place where traffic can be slowed, blocked or logged.

Each device explained
Hub and repeater (Layer 1)
A repeater regenerates a weak signal so it can travel further. A hub is a multi-port repeater: anything that arrives on one port is copied to every other port. All devices share the same bandwidth and anyone can see everyone’s traffic. Hubs are obsolete, but you still meet the concept in interviews and in some industrial networks.
Switch (Layer 2)
A switch learns which MAC address lives on which port and forwards each frame only to the right port. It also separates the network into VLANs. To see what a Cisco switch has learned:
show mac address-table # which MAC is on which port
show interfaces status # port up/down, VLAN, speed, duplex
show interfaces gi1/0/5 counters errors # CRC and other physical errorsCommon problem: a port in the wrong VLAN, or a speed/duplex mismatch causing errors. Security: disable unused ports, use port security or 802.1X, and enable DHCP snooping and Dynamic ARP Inspection to stop ARP spoofing. A switch with too small a MAC table can be abused by MAC flooding.
Layer 3 switch
A Layer 3 switch does normal switching and also routes between VLANs in hardware, very fast. It is usually the default gateway for user VLANs in a campus network. Without ACLs, it will happily route between every VLAN, which is why it is a key point for network segmentation.
Router (Layer 3)
A router connects different networks and forwards packets based on destination IP addresses and its routing table. Routers connect offices over the WAN and connect your network to the internet. Baseline router behaviour is defined in RFC 1812.
show ip route # how the router reaches each network
show ip interface brief # interface IPs and status
show ip arp # IP-to-MAC mappings on connected networksCommon problem: a missing or wrong route, so replies never come back. Security: restrict management access, use SSH instead of Telnet, and drop packets arriving from outside that claim internal source addresses.
Modem and ONT
A modem (for DSL or cable) or an ONT (for fibre) converts the ISP’s line signal into Ethernet. At home, the ISP usually supplies one box that combines a modem, router, switch, firewall and Wi-Fi access point. In an office these are normally separate devices, which is why home and enterprise troubleshooting feel so different.
Wireless access point and controller
An access point (AP) connects Wi-Fi clients to the wired network. In larger sites, a wireless controller (on-premises or cloud-managed) configures many APs centrally and handles roaming. Common problems: interference, weak signal and overloaded APs. Security: use WPA3 (or at least WPA2-Enterprise with 802.1X), put guests on a separate SSID and VLAN, and watch for rogue APs.
Firewall and next-generation firewall
A firewall allows or blocks traffic based on policy. Traditional firewalls filter by IP address, protocol and port and track connection state. A next-generation firewall (NGFW) also identifies applications and users, runs intrusion prevention and can inspect TLS traffic. NIST’s SP 800-41 Rev. 1 covers firewall policy design. See the firewall guide for the different types.
Common problem: a missing rule, or a rule in the wrong order, silently dropping traffic. The fix almost always starts with the firewall’s traffic log for that source and destination. Security: default-deny, documented rules with owners, and logs sent to your SIEM.
IDS and IPS
An intrusion detection system (IDS) watches traffic and alerts on suspicious patterns. An intrusion prevention system (IPS) sits inline and can block them. Many NGFWs include IPS features. NIST’s SP 800-94 describes the main IDPS types. The hard part is tuning: untuned signatures produce so many alerts that real attacks get missed.
Proxy and secure web gateway
A forward proxy makes web requests on behalf of users, so it can filter URLs, scan downloads and log every site visited. Cloud secure web gateways do the same without on-premises hardware, which matters when users work from home. A reverse proxy does the opposite: it sits in front of servers and handles incoming requests.
Load balancer
A load balancer (or application delivery controller) spreads requests across several servers and stops sending traffic to servers that fail their health checks. Layer 4 load balancers work with IPs and ports. Layer 7 load balancers can route by URL or host name and often terminate TLS. Common problem: a health check that marks every server down, or a misconfigured one that keeps sending users to a broken server.
What about “gateway”?
“Gateway” is a role, not a single device. Your default gateway is the router or Layer 3 switch your device sends off-subnet traffic to. A protocol gateway translates between different protocols. A secure web gateway filters web traffic. Always ask which kind of gateway someone means.
Home network vs enterprise network
| Function | Typical home | Typical enterprise |
|---|---|---|
| Internet connection | ISP modem/router combo | Dedicated edge router or firewall, often two for redundancy |
| Switching | 4 ports inside the router | Access switches on every floor, Layer 3 core switches |
| Wi-Fi | Built into the router | Many managed APs with a controller |
| Security | Basic NAT firewall | NGFW, IPS, proxy, NAC, segmentation |
| Visibility | Almost none | Logs from every device sent to a SIEM |
Network devices in the cloud
In the cloud you rarely touch physical boxes, but the same functions still exist as software. Knowing the mapping helps when you move from on-premises work to cloud security.
| On-premises device | Typical cloud equivalent |
|---|---|
| Switch / VLAN | Virtual network (VPC or VNet) and subnets |
| Router | Route tables and gateways managed by the cloud provider |
| Firewall ACLs | Security groups and network ACLs |
| NGFW / proxy | Cloud firewall service or a virtual firewall appliance |
| Load balancer | Managed application or network load balancer |
| Remote access VPN | Zero Trust access service or cloud VPN gateway |
The risks move with them: an overly open security group is the cloud version of an “allow any” firewall rule, and it is a common cause of cloud data breaches.
Attacks that target network devices

Attackers do not only pass through network devices. They target them, because a compromised router or firewall gives them visibility and control over everything behind it.
- Default or weak credentials on routers, APs and modems.
- Unpatched firmware with known vulnerabilities, especially on internet-facing firewalls and VPN gateways.
- Exposed management interfaces (web admin, SSH, SNMP) reachable from the internet or the user network.
- Layer 2 attacks such as ARP spoofing, MAC flooding and VLAN hopping from inside the LAN.

Basic hardening covers most of this: change defaults, patch on a schedule, put management interfaces on a separate management network, disable unused services and send device logs to your SIEM.
Troubleshooting device by device

| Device | Symptom | First check |
|---|---|---|
| Access point | Wi-Fi connects but is very slow or drops | Signal strength, channel use, number of clients on the AP |
| Switch | One user offline, others fine | Port status, VLAN assignment, error counters |
| L3 switch / router | Can reach local devices, not other subnets | Default gateway on the client, routing table, inter-VLAN ACLs |
| Firewall | Ping works, application does not | Traffic log for the source, destination and port |
| Proxy | Some websites fail, others load | Proxy logs, URL category, TLS inspection errors |
| Load balancer | Application fails for some users only | Pool member health checks and session persistence |
Work along the path from the user towards the application and stop at the first device that does not behave as expected. The TCP/IP model guide shows how to confirm each layer with packet captures and TCP flags.
Frequently asked questions
What is the difference between a hub, a switch and a router?
A hub copies traffic to every port. A switch sends frames only to the port where the destination MAC address lives. A router connects different IP networks and chooses where to send packets based on IP addresses.
Is my home Wi-Fi router a router, a switch or an access point?
Usually all three, plus a basic firewall and often a modem. It is several network devices in one box.
Does a firewall replace a router?
Many firewalls can route, and small sites often use one device for both. Larger networks keep them separate so each can be sized, managed and secured for its own job.
What is the difference between a Layer 3 switch and a router?
Both route by IP address. A Layer 3 switch is optimised for fast routing between VLANs inside a campus or data centre. A router typically handles WAN links, internet connections and more advanced routing protocols and services.
Conclusion
Every network is a chain of devices, each making its own decision about every packet. Learn what each device looks at, where it sits in the path and what it should show you when it is healthy. Then, when something breaks, you can walk the chain one device at a time instead of guessing.
Related TechNaga guides
- OSI Model Explained: The 7 Layers and How to Troubleshoot Each One
- TCP/IP Model Explained for Security Analysts
- What is a Firewall in Cybersecurity? Types and Examples
- Next-Generation Firewall Guide
- Network Segmentation Explained with Real-World Example
- Network Protocols and Ports









5 thoughts on “Network Devices Explained: Types, Functions and How They Work Together”