Lesson
Lesson 5: Endpoint and intermediary devices
Learning goal
After this lesson, you can identify endpoints and intermediary devices and explain when an exchange stays local or requires routing.
Why this concept matters
Separating endpoints from intermediaries shows where data is created and forwarded. It also distinguishes a frame on one link from an IP packet crossing networks.
Compare a local path with a routed path
- For a printer in the same subnet, the computer sends a local frame through the switch or bridge toward the access point.
- The access point connects the wired and wireless sides; the frame reaches the printer.
- For a remote service, the host addresses the local frame to the default gateway’s link-layer address.
- The router extracts the IP packet, chooses an egress interface, then creates a new frame for the next link.
- A firewall may enforce policy, but its mere presence does not prove complete protection.
Data units and the path
A frame is a link-layer data unit in a technology such as Ethernet. An IP packet is an Internet Protocol data unit carrying IP addresses across networks. A subnet is a logical division of an IP address range that helps a host decide what is local and what requires a router.
Intermediary roles
- A switch forwards frames in a local link environment.
- A router forwards IP packets between networks under a routing table and policy.
- An access point attaches wireless clients to the local distribution system.
- A firewall applies traffic rules; its presence does not prove that all traffic is safe or that policy is correct.
A wired computer reaches a wireless printer through a switch or bridge and an access point.
Printing path and Internet path
The intended printing path is wired computer, then switch or bridge, then access point, then wireless printer. If both endpoints share a subnet and no VLAN or isolation policy blocks them, their exchange need not traverse a router.
For an external network the computer uses its default gateway: the address of the router interface on the local network, not a separate appliance. The diagram combines router and gateway because the address belongs to that interface.
Local traffic remains on the link; external traffic uses the router interface address as its default gateway.
Common misconception
| Device | Functional question | Data unit | Example decision | Role boundary |
|---|---|---|---|---|
| Switch | Which local port gets this frame? | Link-layer frame | Select a LAN port | Does not normally choose an inter-network IP route |
| Router | Which network or next hop gets this packet? | IP packet | Select an egress interface | Does not make the application trustworthy |
| Access point | How do wireless stations join the LAN? | Wireless and local frames | Associate a Wi‑Fi client | It is not the Internet |
| Firewall | Does policy allow this traffic? | Flows or packets | Allow or block by rule | Cannot stop every threat merely by existing |
Diagnostic exercise
Takeaway and the next lesson
Frames move on links; routers choose paths for IP packets and create a new frame for each next link. Lesson 6 shifts from devices to application roles.
Quick review
- How does a frame differ from an IP packet?
- When can printing stay on the local path?
- Why is the default gateway not drawn as a separate device?
Show the explained answers
- A frame is a link-layer unit for a local link; an IP packet carries logical addresses and can cross networks.
- When the computer and printer share the local network and can resolve and exchange locally without using a gateway.
- The default gateway is the address of a router interface on the host’s network, not a separate third device.

