Configure IP Routes

Procedure for configuring IP routes for compute nodes. This is not required on a CLE system.

Configuring IP routes for compute nodes is not required on a CLE system.

An /etc/sysconfig/network/routes file can provide route entries for compute nodes. This provides a mechanism for administrators to configure routing access from compute nodes to login and network nodes, using external IP destinations without having to traverse RSIP tunnels. Careful consideration should be given before using this capability for general purpose routing.

The /etc/sysconfig/network/routes file will provide a route from the compute nodes to a gateway node (login or network). However, that gateway node must provide a connection to the network of interest (via IP forwarding, NAT, or something else). These instructions do not cover providing that connection.

Use the simple_sync functionality to make the /etc/sysconfig/network/routes file available on the compute nodes.

Configure IP routes via simple_sync.

The new /etc/sysconfig/network/routes file is examined during startup. Non-comment, non-blank lines are passed to the route add command. The empty file contains comments describing the syntax.

To make the routes file available to the compute nodes, do the following on the SMW.

  1. Edit a routes file with the desired compute node routes in a local directory.
    smw# vi routes
  2. Create the directory etc/sysconfig/network in the desired config set directory, /var/opt/cray/imps/config/sets/<config set>/files/simple_sync/platform/compute/files. This will create an /etc/sysconfig/network directory on the compute nodes.
    smw# mkdir -p /var/opt/cray/imps/config/sets/p0/files/simple_sync/platform/compute/files/etc/sysconfig/network
  3. Copy the routes files from the local directory into the newly created etc/sysconfig/network directory. Then, this file will be available on all of the compute nodes when they boot.
    smw# cp -p routes /var/opt/cray/imps/config/sets/p0/files/simple_sync/platform/compute/files/etc/sysconfig/network