13.9. Exercises

E13.1

Investigate the Linux route command and write a short description of what it does. Using route, how would you:

a. Add a default route to 128.138.129.1 using interface eth1?

b. Delete a route to 128.138.129.1?

c. Determine whether a route was added by a program such as routed or an ICMP redirect? (Note that this method works with the output of netstat -rn as well.)

E13.2

Compare static and dynamic routing, listing several advantages and disadvantages of each. Describe situations in which each would be appropriate and explain why.

image E13.3

Consider the following netstat -rn output. Describe the routes ...

Get Linux Administration Handbook, Second Edition 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.