- A route is a line of the table: the destination network, the gateway after
viaand the interface afterdev. - The kernel adds the route to its own subnet by itself; other networks need lines of their own or
default. - Of the matching lines, the longest prefix wins; the metric only decides between equal prefixes.
ip route getshows the kernel's decision, andpingshows that the exchange worked.- At the start of the lesson
198.51.100.20did not answer: the client knew only its own subnet192.0.2.0/24and had no route to that address.
Step 7 of 7 · summary · 2 min
Summary
Found an inaccuracy? Report an error in the lesson