RIP_INTERFACE statement allows you to specify all of the routing
options that you configure on a per-interface basis.
The RIP_INTERFACE statement contains the functionality for
defining routes and creating static routes. In releases before OS/400® V4R2,
this functionality existed in the NET statement and HOST statement.
You can specify multiple interface options on a single entry
in the configuration file. You can use the following options:
- BLOCK
- FORWARD
- FORWARD.COND
- NOFORWARD
You can specify interfaces on the system by the following
methods:
- Network
- Network of the system, which is specified as an IP address
and either a mask or a bit number. The bit number n indicates which
bit in the 0 – n bits of the IP address (counting left to right) is
the last bit of the IP address' network portion. If the MASK and bit number
are missing, the system calculates a network by using the subnet mask of the
interface specified through the Add TCP/IP Interface (ADDTCPIFC) command.
- Interface name
- Logical Interface name that identifies a PPP interface with an IP address
that is assigned dynamically when the PPP connection becomes active.
- Hostname
- The host name of the system, which is resolvable through
the Domain Name System (DNS).
- *
- This character refers to all of the interfaces on the system
and is useful for setting default values that apply to all interfaces. You
can override these defaults by providing a RIP_INTERFACE statement for a specific
interface with different values for selected parameters.