Network Devices Explained: Types, Functions and How They Work Together

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

DeviceOSI layerDecides usingWhere you find itKey security setting
Repeater / hub1Nothing (repeats signals)Legacy networksReplace with switches
Bridge2MAC addressesJoining two segments (now built into switches)Same as switch
Switch2MAC addressesEvery wired LANPort security, 802.1X, disabled unused ports
Layer 3 switch2 and 3MAC and IP addressesCampus core, data centreACLs between VLANs
Router3IP addresses and routesNetwork edges, WAN linksAnti-spoofing ACLs, secure management
Modem / ONT1 and 2Line signallingWhere the ISP line entersChange default credentials
Wireless access point1 and 2MAC addresses, SSIDsOffices, homesWPA3, separate guest SSID
Firewall / NGFW3 to 7IPs, ports, apps, usersInternet edge, between zonesDefault-deny policy, logging
IDS / IPS3 to 7Traffic signatures and behaviourBehind the firewall, data centreTuned signatures, alerting to SIEM
Proxy / secure web gateway7URLs, domains, contentBetween users and the internetTLS inspection policy, URL filtering
Load balancer4 to 7Server health, ports, HTTP dataIn front of applicationsTLS settings, WAF features
Whiteboard diagram mapping common network devices to the OSI layers they operate at

How a request moves through network devices

Follow a user in a typical office opening an internal web application:

  1. The laptop connects through a wireless access point or a wired access switch, which forwards the frame by MAC address.
  2. The frame reaches the Layer 3 core switch (the laptop’s default gateway), which routes it towards the server VLAN.
  3. An internal firewall checks the connection against policy before it enters the data centre zone.
  4. A load balancer picks a healthy application server and forwards the request.
  5. 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.

Traffic flow from a user laptop through switch, router, firewall and load balancer to an application server

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 errors

Common 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 networks

Common 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

FunctionTypical homeTypical enterprise
Internet connectionISP modem/router comboDedicated edge router or firewall, often two for redundancy
Switching4 ports inside the routerAccess switches on every floor, Layer 3 core switches
Wi-FiBuilt into the routerMany managed APs with a controller
SecurityBasic NAT firewallNGFW, IPS, proxy, NAC, segmentation
VisibilityAlmost noneLogs 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 deviceTypical cloud equivalent
Switch / VLANVirtual network (VPC or VNet) and subnets
RouterRoute tables and gateways managed by the cloud provider
Firewall ACLsSecurity groups and network ACLs
NGFW / proxyCloud firewall service or a virtual firewall appliance
Load balancerManaged application or network load balancer
Remote access VPNZero 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

Attack scenario showing how an attacker abuses weaknesses in switches, routers and firewalls

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.
Risk map of common security weaknesses across different types of network devices

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

Troubleshooting flow that checks each network device in the path from user to application
DeviceSymptomFirst check
Access pointWi-Fi connects but is very slow or dropsSignal strength, channel use, number of clients on the AP
SwitchOne user offline, others finePort status, VLAN assignment, error counters
L3 switch / routerCan reach local devices, not other subnetsDefault gateway on the client, routing table, inter-VLAN ACLs
FirewallPing works, application does notTraffic log for the source, destination and port
ProxySome websites fail, others loadProxy logs, URL category, TLS inspection errors
Load balancerApplication fails for some users onlyPool 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

References

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

Leave a Comment