[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 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. In the NIM Networks container, double-click on the icon for any network. The General page of the Properties notebook for the selected network displays.
  2. Click the NIM Routes tab. The NIM Routes page of the Properties notebook displays.
  3. Use the NIM Routes page to add the default route.

You can also use the Add New Network TaskGuide to establish the default network route:

  1. In the NIM Network container, double-click on Add New Network. The Add New Network TaskGuide displays.
  2. Follow the TaskGuide instructions to create the network route as the network is being defined.

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 | Contents | Glossary | Home | Search ]