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

The Routing Table

At the heart of IPv4 routing is the route table, which contains a number of entries detailing how to get to various destinations. The route table is consulted when the exchange of data between two hosts is required. The netstat -r command is used to view the entries in the route table. The following example shows the route table for the hostname ultra10:

ultra10# netstat -r
Routing Table: IPv4
  Destination           Gateway           Flags  Ref   Use   Interface
-------------------- -------------------- ----- ----- ------ ---------
ultra-net            ultra10               U        1    177  hme0
multicast            ultra10               U        1      0  hme0
sparc-net            ultra-r1              UG       1    255  hme0
localhost            localhost             UH       3    635  lo0

Notice from this code that the first two columns are displaying names, rather than IP addresses. ...

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