iprsetup(8) — Maintenance
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 -d
FLAGS
-sSets ipforwarding and ipgateway to one, which means the system functions as an IP router. This flag cannot be combined with the -r flag.
-rResets ipforwarding and ipgateway to zero, which means the system does not function as an IP router. This flag cannot be combined with the -s flag.
-dDisplays the values of ipforwarding and ipgateway. The values are displayed after the values are changed when combined with the -s and -r flags.
DESCRIPTION
The iprsetup command sets the ipgateway and ipforwarding variables in the running kernel allowing your system to function as an Internet Protocol router.
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
/usr/sbin/netsetup
Contains the /usr/sbin/iprsetup command.
/sbin/init.d/inet
Contains the /usr/sbin/iprsetup command.
RELATED INFORMATION
Network Configuration