[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Network Installation Management Guide and Reference


Establishing a Default NIM Route Between Networks

This procedure describes how to create default NIM routes for two Networks (for example, Network1 and Network3).

From Web-based System Manager

  1. Select the Networks container.
  2. In the contents area, select any network.
  3. From the Selected menu, choose Properties. The General page of the Properties notebook for the selected network displays.
  4. Click the NIM Routes tab. The NIM Routes page of the Properties notebook displays.
  5. Use the NIM Routes page to add the default route.

From SMIT

  1. To create default NIM routes, enter the smit nim_mkdroute fast path.
  2. In the displayed dialog fields, supply the values or accept the defaults. Use the help information and the LIST option to help you.

From the Command Line

To create a default NIM route for a network, enter:

nim -o change -a routingseq_no='default
<Gateway>' NetworkObject

where default is the reserved keyword used by NIM to indicate a default route, and Gateway is the host name (or IP address) of the interface that clients on NetworkObject use to contact other networks in the NIM environment.

For example, to establish default NIM routes for Network1 and Network3, enter:

nim -o change -a routing1='default
gw1_tok' Network1
nim -o change -a routing1='default gw1_fddi' Network3

where gw1_tok is the host name of the default gateway for machines on Network1, and gw1_fddi is the host name of the default gateway for machines on Network3.

The detailed information for the network objects now shows the added default routes. To display the detailed information for the two networks, enter:

lsnim -l Network1 Network3

which produces output similar to the following:

Network1:
        class            = networks
        type             = tok
        net_addr         = 9.101.1.0
        snm              = 255.255.255.0
        Nstate           = ready for use
        prev_state       = ready for use
        routing1         = default gw1_tok
Network3:
        class            = networks
        type             = fddi
        net_addr         = 9.101.3.0
        snm              = 255.255.255.0
        Nstate           = ready for use
        prev_state       = information is missing from this
                           object's definition
        routing1         = default gw1_fddi


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]