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

6to4relay(1M)						  System Administration Commands					     6to4relay(1M)

NAME
6to4relay - administer configuration for 6to4 relay router communication SYNOPSIS
/usr/sbin/6to4relay /usr/sbin/6to4relay [-e] [-a addr] /usr/sbin/6to4relay [-d] /usr/sbin/6to4relay [-h] DESCRIPTION
The 6to4relay command is used to configure 6to4 relay router communication. Relay router communication support is enabled by setting the value of a variable that stores an IPv4 address within the tun module. This variable is global to all tunnels and defines the policy for communication with relay routers. By default, the address is set to INADDR_ANY (0.0.0.0), and the kernel interprets the value to indicate that support for relay router communication is disabled. Otherwise, support is enabled, and the specified address is used as the IPv4 des- tination address when packets destined for native IPv6 (non-6to4) hosts are sent through the 6to4 tunnel interface. The 6to4relay command uses a project private ioctl to set the variable. 6to4relay used without any options outputs the current, in-kernel, configuration status. Use the -a option to send packets to a specific relay router's unicast address instead of the default anycast address. The address specified with the -a option does not specify the policy for receiving traffic from relay routers. The source relay router on a received packet is non-deterministic, since a different relay router may be chosen for each sending native IPv6 end-point. Configuration changes made by using the 6to4relay are not persistent across reboot. The changes will persist in the kernel only until you take the tunnel down OPTIONS
The 6to4relay command supports the following options: -a addr Use the specified address, addr. -e Enable support for relay router. Use -a addr if it is specified. Otherwise, use the default anycast address, 192.88.99.1. -d Disable support for the relay router. -h Help OPERANDS
The following operands are supported: addr A specific relay router's unicast address. addr must be specified as a dotted decimal representation of an IPv4 address. Other- wise, an error will occur, and the command will fail. EXAMPLES
Example 1: Printing the In-Kernel Configuration Status Use /usr/sbin/6to4relay without any options to print the in-kernel configuration status. example# /usr/sbin/6to4relay If 6to4 relay router communication is disabled, the administrator will see the following message: 6to4relay: 6to4 Relay Router communication support is disabled. If 6to4 router communication is enabled, the user will see this message: 6to4relay: 6to4 Relay Router communication support is enabled. IPv4 destination address of Relay Router = 192.88.99.1 EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. FILES
/usr/sbin/6to4relay The default installation root ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
ifconfig(1M), attributes(5) Huitema, C. RFC 3068, An Anycast Prefix for 6to4 Relay Routers. Network Working Group. June, 2001. Carpenter, B. and Moore, K. RFC 3056, Connection of IPv6 Domains via IPv4 Clouds. Network Working Group. February, 2001. DIAGNOSTICS
The 6to4relay reports the following messages: 6to4relay: input (0.0.0.0) is not a valid IPv4 unicast address Example: example# 6to4relay -e -a 0.0.0.0 Description: The address specified with the -a option must be a valid unicast address. 6to4relay: option requires an argument -a usage: 6to4relay 6to4relay -e [-a <addr>] 6to4relay -d 6to4relay -h Example: example# 6to4relay -e -a Description: The -a option requires an argument. usage: 6to4relay 6to4relay -e [-a <addr>] 6to4relay -d 6to4relay -h Example: example# 6to4relay -e -d Description: The options specified are not permitted. A usage message is output to the screen. usage: 6to4relay 6to4relay -e [-a <addr>] 6to4relay -d 6to4relay -h Example: example# 6to4relay -a 1.2.3.4 Description: The -e option is required in conjunction with the -a option. A usage message is output to the screen. 6to4relay: ioctl (I_STR) : Invalid argument Example: example# 6to4relay -e -a 239.255.255.255 Description: The address specified with the -a option must not be a class d addr. SunOS 5.10 19 Nov 2002 6to4relay(1M)
Man Page