Static Route Configuration
Static routes are permanent entries that do not change. They can be configured in two ways: manually by using the route command, or through the use of two configuration files, /etc/defaultrouter and /etc/gateways. This section covers the use of the route command. The configuration files are discussed later in this chapter.
The route Command
The route command is used to manipulate the routing table manually. Routes can be added, deleted, and changed with this command. The general format of the route command is
route add | delete | change <destination> <gateway>
where <destination> is the host or network you are trying to reach and <gateway> is the router that will forward the packet to the destination.
The routing ... |
Get Solaris™ 9 Network Administrator Exam Cram™ 2 (Exam CX-310-044) 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.