O'Reilly logo

Solaris™ 9 Network Administrator Exam Cram™ 2 (Exam CX-310-044) by John Philcox

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required