Manual Page Result
0
Command: iprsetup | Section: 8 | Source: Digital UNIX | File: iprsetup.8.gz
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
FLAGS
Sets ipforwarding and ipgateway to one, which means the system func-
tions as an IP router. This flag cannot be combined with the -r flag.
Resets ipforwarding and ipgateway to zero, which means the system does
not function as an IP router. This flag cannot be combined with the -s
and -f flags. Sets ipforwarding and ipgateway to one (like the -s
flag), and also sets ipfirewall to one, which means the system func-
tions as an IP firewall. Additionally, sets ipsrcroute and ipchkredi-
rects according to the specified value. The following table shows the
valid values and their meaning:
tab(@); lfHB lfHB l l . _
Value@Meaning
_
0@Sets both ipsrcroute and ipchkredirects to zero 1@Sets ipsr-
croute to zero and ipchkredirects to one 2@Sets ipsrcroute to
one and ipchkredirects to zero 3@Sets both ipsrcroute and
ipchkredirects to one
_
This flag cannot be combined with the -r flag. Displays the
values of ipforwarding and ipgateway. The values are displayed
after the values are changed when combined with the -s, -r, and
-f flags.
DESCRIPTION
The iprsetup command sets the ipgateway and ipforwarding variables in
the running kernel allowing your system to function as an Internet Pro-
tocol 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.
RELATED INFORMATION
Network Administration delim off
iprsetup(8)