Configuring an external route

Using Figure 1, assume that your NCP client ncp1 is channel-attached to an MVS™ host running an NCPROUTE server. The other two NCP clients, ncp2 and ncp3, are also running a RIP server. Your NCPROUTE server normally learns a route to ncp3 from ncp2, because ncp2 is running a RIP server. You might not want ncp1 to route to ncp3 for security reasons. For example, a university might want to prevent student hosts from routing to administrative hosts.

To prevent your NCPROUTE server from adding a route to ncp3, add an external route to the NCPROUTE gateways data set. This is the data set defined by the GATEWAYS_PDS statement in the NCPROUTE profile. You can use either of the following gateway statements:
  host  ncp3         gateway   ncp2        metric 2  external
 
  host  192.10.10.2  gateway  192.10.20.2  metric 2  external