This procedure describes how to create a static NIM route between two networks (for example, Network1 and Network3 ).
You can also use the Add New Network TaskGuide to establish the static network route:
To create a static NIM route between two networks, enter:
nim -o change -a routingseq_no='DestinationNetworkObject \ Gateway1 Gateway2' NetworkObject
where Gateway1 is the host name of the interface that clients on NetworkObject use to get to DestinationNetworkObject , and Gateway2 is the host name that clients on DestinationNetworkObject use to get back to NetworkObject .
For example, to establish a NIM route between Network1 and Network3 , enter:
nim -o change -a routing1='Network3 gw1_tok gw1_fddi' Network1
where gw1_tok is the host name of the gateway that machines on Network1 use to communicate with machines on Network3 , and gw1_fddi is the host name of the gateway that machines on Network3 use to communicate with machines on Network1 .
The detailed information for the network objects now shows the added routing attributes.
To display the detailed information about the two networks, enter:
lsnim -l Network1 Network3
The command produces output similar to this:
Network1: class = networks type = tok net_addr = 184.108.40.206 snm = 255.255.255.0 Nstate = ready for use prev_state = ready for use routing1 = Network3 gw1_tok
Network3: class = networks type = fddi net_addr = 220.127.116.11 snm = 255.255.255.0 Nstate = ready for use prev_state = information is missing from this object's definition routing1 = Network1 gw1_fddi