Technical data

Configuring Routing
4.2 Configuring Static Routes
This example shows a multihomed host with two interface adapters. For more
information about the
netstat
utility, enter the following command:
TCPIP> HELP NETSTAT
4.3 Enabling and Disabling Dynamic Routing
Use the configuration procedure TCPIP$CONFIG to enable dynamic routing and
configure your host to receive routing protocol messages as follows:
1. Select the Routing option from the Core Environment menu.
2. Answer ‘‘Yes’’ to the question "Do you want to configure dynamic ROUTED or
GATED routing [NO]:"
3. You are asked whether you want to enable GATED.
Do you want to enable GATED routing configuration?
If you answer ‘‘Yes’’ to this question, GATED will be enabled. If you answer
‘‘No,’ ROUTED will be enabled.
4. If you choose to enable ROUTED, indicate whether you want your host to
supply RIP updates to other hosts on the network (in addition to receiving
RIP updates) and the default network route.
5. If you choose to enable GATED, you must also configure the routing protocols
in the GATED configuration file TCPIP$GATED.CONF. See Section 4.4 for
more information about configuring GATED.
To disable dynamic routing:
1. Select the ‘‘Routing’ option from the CORE ENVIRONMENT menu.
2. Answer ‘‘Yes’’ to the following questions:
Do you want to reconfigure dynamic ROUTED or GATED routing [NO]: Y
Do you want to disable dynamic ROUTED or GATED routing configuration
[NO]: Y
Alternatively, enter the TCP/IP management command STOP ROUTING.
When you disable GATED routing, the GATED routes are preserved. To disable
GATED and remove all GATED routes from the routing table, enter the command
STOP ROUTING/GATED.
4.4 Configuring GATED
You must configure the GATED protocols before starting GATED routing.
Edit a copy of the sample file TCPIP$GATED.TEMPLATE (located in the
SYS$SYSDEVICE:[TCPIP$GATED] directory) to add statements that select
routing protocols, manage routing information, manage independent system
routing, and control tracing options.
1. Use TCPIP$CONFIG to enable GATED.
2. Edit the TCPIP$GATED.TEMPLATE file.
3. Save the file TCPIP$GATED.CONF in the
SYS$SYSDEVICE:[TCPIP$GATED] directory.
4. If GATED is already running, stop it by entering the command
STOP ROUTING/GATED.
4–6 Configuring Routing