liveBook · Manning

Router

As explained in Fundamentals of Cybersecurity

A router is a network device that forwards data between networks or network segments based on destination addresses.

A router connects two or more networks and forwards data packets according to their destination addresses. Its main job is to find a path for traffic to take. Think of a postal sorting center: it reads an address and sends a package in the right direction. section 11.12 section 11.2

A webpage request leaves the office

When you request a webpage, your computer connects through a switch or wireless access point. If the switch cannot find the destination device, it passes the message to an internal router. Using the destination IP address, that router chooses a path toward another internal router, another subnet, or an external network. The request later reaches an internet router on its way to the web server. section 11.2

Nearby devices have different primary jobs:

  • A switch tries to forward a message to the correct device; a router directs it between networks. section 11.2
  • A firewall checks traffic against rules to decide whether it may pass. A router primarily decides where traffic should go. section 11.2
Figure 11.1 Illustration of a request from the network of a small company traveling through the internet to the server located in the “Big company”.

Follow the illustrated request from a small-company network across the internet to a remote server; look for where routing moves it beyond the local network. section 11.2

How Fundamentals of Cybersecurity covers it

How deep it goes
Explains destination-based path choice with a postal analogy, but gives no routing algorithm or configuration procedure.
Examples
Traces a small-company webpage request through an internal router and an internet router toward a remote server.
What it assumes
Starts with connected devices and a familiar webpage request rather than assuming prior networking knowledge.
What you can do after
Evaluate/understand it: distinguish a router’s path-selection role from a switch’s forwarding role and a firewall’s traffic checks.
How it connects
Connects routers to IP addresses, switches, subnets, firewalls, and the internet.

Also explained in

Compare how 2 books explain router →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Fundamentals of Cybersecurity. The section links point to the parts of the book it draws on.