Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

iprsetup(8) [osf1 man page]

iprsetup(8)						      System Manager's Manual						       iprsetup(8)

NAME
iprsetup - Internet Protocol router setup SYNOPSIS
/usr/sbin/iprsetup -s /usr/sbin/iprsetup -sd /usr/sbin/iprsetup -r /usr/sbin/iprsetup -rd /usr/sbin/iprsetup -fvalue /usr/sbin/iprsetup -fvalued /usr/sbin/iprsetup -d OPTIONS
Sets ipforwarding and ipgateway to one, which means the system functions as an IP router. This option cannot be combined with the -r option. Resets ipforwarding and ipgateway to zero, which means the system does not function as an IP router. This option cannot be com- bined with the -s and -f options. Sets ipforwarding and ipgateway to one (like the -s option), and also sets ipfirewall to one, which means the system functions as an IP firewall. Additionally, sets ipsrcroute and ipchkredirects according to the specified value. The fol- lowing table shows the valid values and their meaning: ---------------------------------------------------------- Value Meaning ---------------------------------------------------------- 0 Sets both ipsrcroute and ipchkredirects to zero 1 Sets ipsrcroute to zero and ipchkredirects to one 2 Sets ipsrcroute to one and ipchkredirects to zero 3 Sets both ipsrcroute and ipchkredirects to one ---------------------------------------------------------- This option cannot be combined with the -r option. Only application gateways for firewall services use this option. Displays the values of ipforwarding and ipgateway. The values are displayed after the values are changed when combined with the -s, -r, and -f options. DESCRIPTION
The iprsetup command sets the ipgateway and ipforwarding variables in the running kernel allowing your system to function as an Internet Protocol router. When ipfirewall variable is set to one, the following variables are also set: Indicates whether IP source-routed packets are accepted (1) or dropped immediately (0). Indicates whether ICMP Redirect messages are authenticated (1) or accepted with no authentication (0). The iprsetup command is automatically executed by netsetup when you configure your network daemons. It is also executed by the /sbin/init.d/inet script when you reboot your system or restart the network on your system. FILES
Contains the /usr/sbin/iprsetup command Contains the /usr/sbin/iprsetup command SEE ALSO
Network Administration iprsetup(8)

Check Out this Related Man Page

routes(4)						     Kernel Interfaces Manual							 routes(4)

NAME
routes - Specifies Internet routing information to the routing tables SYNOPSIS
/etc/routes DESCRIPTION
Static routes can be defined in the /etc/routes file. The /etc/routes file identifies static routes that are automatically added to the network routing tables with the /usr/sbin/route add command. The /sbin/init.d/route script contains the /usr/sbin/route add command that is executed for each entry in the /etc/routes file when the network is restarted on the system or the system is rebooted. The general format of an entry in the /etc/routes file is: Dest Name1 Name2 The following is a brief description of each element in an /etc/routes file entry: A keyword that indicates whether the route is to a net- work or to a host. The two possible keywords are -net and -host. The name or address of the destination network or host. Name1 can be either a symbolic name (as used in the /etc/hosts or /etc/networks file) or an Internet address specified in dotted-decimal format. The name or address of the gateway host to which messages should be forwarded. Name2 can be either a symbolic name (as used in the /etc/hosts file) or an Internet address specified in dotted-decimal format. The routes file is a Context-Dependent Symbolic Link (CDSL) and must be maintained as such. See the System Administration manual for more information. EXAMPLES
To specify a route to a network through a gateway host with an entry in the /etc/routes file, enter: -net net2 host4 This example specifies a route to a network, net2, through the gateway host4. To specify a route to a host through a gateway host with an entry in the /etc/routes file, enter: -host host2 host4 This example specifies a route to a host, host2, through the gateway host4. To specify a route to a default gateway host with an entry in the /etc/routes file, enter: default 130.9.0.5 This example specifies a route to a default gateway with an Internet address of 130.9.0.5. FILES
Contains the /usr/sbin/routed add command. RELATED INFORMATION
Commands: route(8) Daemons: gated(8), routed(8) Files: gated.conf(4) Network Administration delim off routes(4)
Man Page