Establishing a default NIM route between networks from the command line
Follow this procedure to establish default NIM routes between networks from the command line.
To create a default NIM route for a network, enter:
nim -o change -a routingseq_no='default Gateway' NetworkObject
default is the reserved keyword
used by NIM to indicate a default route, and
the host name (or IP address) of the interface that clients on
to contact other networks in the NIM environment.
For example, to establish default NIM routes for
nim -o change -a routing1='default gw1_tok' Network1 nim -o change -a routing1='default gw1_fddi' Network3
the host name of the default gateway for machines on
gw1_fddi is the host name of the default gateway for
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 = 22.214.171.124 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 = 126.96.36.199 snm = 255.255.255.0 Nstate = ready for use prev_state = information is missing from this object's definition routing1 = default gw1_fddi