HP-UX Reference (11i v3 07/02) - 1M System Administration Commands A-M (vol 3)
i
ifconfig(1M) ifconfig(1M)
The tunnel_local_IPv6_address should be an address configured on the local system, and
tunnel_remote_IPv6_address should be an address configured on the remote system. The tunnel
configuration should be done on both the local and the remote systems.
Example. On the local system:
# ifconfig ip6tu1 inet6 tunnel ip6inip6 fe80::1 fe80::2 \
tsrc 2ffe::1 tdst 3ffe::1 up
Example. On the remote system:
# ifconfig ip6tu1 inet6 tunnel ip6inip6 fe80::2 fe80::1 \
tsrc 3ffe::1 tdst 2ffe::1 up
6to4 tunnel interface configuration
6to4 tunnel configuration allows automatic tunneling of IPv6 packets encapsulated in an IPv4 header over
an IPv4 infrastructure.
6to4 tunnel interface can be configured as shown below:
ifconfig iptu1 inet6 tunnel 6to4 [6to4_primary_address]
\
tsrc
tunnel_local_IPv4_address
up
The tunnel_local_IPv4_address should be a global IPv4 address. The primary address of the
6to4 inter-
face should be a
6to4 address and not a link-local address. The 6to4 primary address is optional, if it is
not specified, a 6to4 address will be autoconfigured based on tunnel_local_IPv4_address.
Example:
# ifconfig iptu1 inet6 tunnel 6to4 tsrc 15.13.136.204 up
A 6to4 address can be manually assigned as shown below:
# ifconfig iptu1 inet6 tunnel 6to4 2002:f0d:88cc::1 \
tsrc 15.13.136.204 up
To advertise a 6to4 prefix, see rtradvd(1M).
DIAGNOSTICS
Messages indicate if the specified interface does not exist, the requested address is unknown, or the user is
not privileged and tried to alter an interface’s configuration.
WARNINGS
The lanadmin, lanscan, and linkloop commands are deprecated. These commands will be removed
in a future HP-UX release. HP recommends the use of replacement command nwmgr(1M) to perform all
network interface-related tasks.
AUTHOR
ifconfig was developed by HP and the University of California, Berkeley.
SEE ALSO
netstat(1), lanscan(1M), nwmgr(1M), route(1M), rtradvd(1M), inet(3N), inet6(3N), hosts(4), NDP(7P),
route(7P), routing(7).
IP Version 6 Addressing Architecture, RFC2373, Hinden, Derring.
Transition Mechanisms for IPv6 Hosts and Routers, RFC 2893, Gilligan, Nordmark.
Generic Packet Tunneling in IPv6 Specification, RFC 2473, Conta, Deering.
Connection of IPv6 Domains via IPv4 Clouds, RFC 3056, Carpenter, Moore.
HP-UX 11i Version 3: February 2007 − 6 − Hewlett-Packard Company 331