Static routing

Static routing, as the name implies, is defined within the local host, and must be manually changed as the network changes. Typically, a configuration file contains the definitions for directly-attached networks, routes for specific hosts, and a possible default route that directs packets to a destination for networks that are not previously defined.

Static routes can be defined using the z/OS® TCP/IP BEGINROUTES statement to configure the internal routing tables; the statement is defined in the hlq.PROFILE.TCPIP data set. The internal routing tables for z/OS TCP/IP can be modified by one of the following ways:
  • Start of changeChanging the BEGINROUTES statement and recycling the TCP/IP address space.End of change
  • Using the VARY TCPIP,,OBEYFILE command.
See z/OS Communications Server: IP System Administrator's Commands for details about defining the BEGINROUTES statement.
Tip: Start of changeWhen the BEGINROUTES statement is updated by using VARY TCPIP,,OBEYFILE, all previously defined static routes are discarded and replaced by the new BEGINROUTES definitions.End of change