Network Devices: Switches, Routers and More
Different devices, different jobs
A switch connects devices within a local network; a router forwards IP packets between networks. An access point connects wireless clients to a network. A modem adapts signals for an access technology such as cable or DSL. A firewall permits or blocks traffic according to policy. One physical box can implement several of these roles.
Follow a home network
The diagram separates functions that might be combined inside one home gateway. Laptop uses Wi-Fi to reach AP. A wired printer and AP connect to S1. R1 routes between the local network and provider network; F is its firewall function. M adapts the access signal. Assume the local network is correctly configured and the printer is on the same local segment. A print job can follow Laptop → AP → S1 → Printer without traversing R1 or M. A request to an external server normally uses R1 and the provider connection.
Laptop ~~ AP ---- S1 ---- Printer | R1 [F] ---- M ---- ProviderWhat each forwarding device examines
A network interface card (NIC) provides a host connection to the network. A repeater regenerates or repeats physical signals. A classic Ethernet hub repeats incoming signals to other ports rather than selecting a destination. A bridge connects local link segments and can filter frames; a typical Ethernet switch is a multiport bridge that learns link-layer addresses (MAC addresses) and uses them to forward frames. A router uses the destination IP address and its routing information to choose a next hop. We will study MAC and IP formats in later chapters.
Other roles in larger networks
A gateway is an entry or exit point for communication; a default gateway is the router used when a host has no more specific route to a destination. A proxy makes requests on behalf of a client or accepts requests on behalf of a server, depending on its role. A load balancer distributes traffic among eligible backends. A network controller coordinates configuration or forwarding policy for managed devices. These are functions, not necessarily separate appliances. A multilayer switch can also route.
Choose by function, not by the label
If a small office needs more wired connections within one LAN, a switch is the relevant function. If a new remote network must be reached, routing is required. If visitors need wireless connectivity, an AP provides radio access, but visitor isolation requires additional segmentation and policy. An AP alone does not guarantee privacy. A modem alone does not necessarily provide routing or firewalling; fiber services may use an optical network terminal (ONT) instead.
Practice: predict what still works
Imagine the provider connection fails while all LAN devices stay powered and the local configuration remains valid. Predict whether Laptop can print locally and whether it can reach an external server over that connection. Check: local printing can still work; the external path is unavailable. Next, learn how the arrangement of devices changes failure behavior.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Network device roles — knowledge check
Apply device and topology concepts to fictional network situations.
A laptop must join an existing wired LAN using Wi-Fi. Which function provides the radio connection?
Two local computers on the same segment exchange frames. Which device normally selects an outgoing port using MAC addresses?
A provider connection fails, but a local printer and its network remain healthy. What can still work?
A business wants to permit approved traffic and reject other traffic at a boundary. Which function is designed for this policy?
A home gateway contains a switch, router and AP. What does this illustrate?