Chapter 58. Route

A network route is the path the packets sent from your computer follows to get someplace else on the network. Note that there are often more than one possible path. The route not taken all depends upon the destination, and the contents of your routing table.

The Routing Table

A route begins with a network interface. From there, it may proceed to a gateway, which delivers it to a new network with its own routing table, and from there to wherever it needs to go to reach its destination.

Each machine along the way, from yours to the end of the trail, refers to its routing table to decide what to do with each outgoing packet.

To get a picture of what routes are configured on your machine, enter superuser mode and type the route command ...

Get CLI for Noobies: A Primer on the Linux Command Line now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.