6to4relay

- administer configuration for 6to4 relay router communication

形式

/usr/sbin/6to4relay

/usr/sbin/6to4relay [-e] [-aaddr]

/usr/sbin/6to4relay [-d]

/usr/sbin/6to4relay [-h]

機能説明

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 destination 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

オプション

The 6to4relay command supports the following options:

-aaddr

Use the specified address, addr.

-e

Enable support for relay router. Use -aaddr if it is specified. Otherwise, use the default anycast address, 192.88.99.1.

-d

Disable support for the relay router.

-h

Help

オペランド

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. Otherwise, an error will occur, and the command will fail.

使用例

例 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: