Trusted Solaris Installation and Configuration

(Optional) Configuring Routing

If you configure the name service master to use static routing, you must configure the clients to use the same routing method.

Set up static routing only if the security administrator has planned for an open network and you do not plan to use dynamic routing. Dynamic routing is the default, and requires no setup.

See "Administering Trusted Networking" in Trusted Solaris Administration Overview for more information.

For static routing, do one of "Set Up Simple Static Routing" or "Set up Static Routing Using Extended Metrics".

Graphic
Set Up Simple Static Routing

For small networks, an /etc/defaultrouter file provides a simple routing method.

  1. Double-click the Set Default Routes action in the System_Admin folder.

    See "To Open a File that has a Defined Action" if you are unfamiliar with using trusted actions.

    An empty /etc/defaultrouter file appears in the trusted editor.

  2. Enter the name or the IP address of the defaultrouter. If there is more than one, enter them all, one per line, and then save the file.

    For example, if the hosts trustworthy and forwardho are routers, enter them, one per line:


    trustworthy
    forwardho
    

Set up Static Routing Using Extended Metrics

If your host or site accesses a complex network of gateways, the /etc/tsolgateways file offers more routing options. See the tsolgateways(4) man page for examples.

  1. Double-click the Set TSOL Gateways action in the System_Admin folder.

    See "To Open a File that has a Defined Action" if you are unfamiliar with using trusted actions.

    An empty /etc/tsolgateways file appears in the trusted editor.

  2. Enter the IP address of the subnet, the name of the gateway and its metric. Repeat for every gateway and save the file.

    For example, if the hosts trustworthy and forwardho are gateways:


    192.168.15.0 trustworthy 1
    192.168.8.0 forwardho 2
    

    Note -

    If the system has an /etc/defaultrouter file and an /etc/tsolgateways file, only the /etc/tsolgateways file is used for routing decisions.