ifconfig.1m (2010 09)
i
ifconfig(1M) ifconfig(1M)
Example. On the local system:
# ifconfig ip6tu0 inet tunnel ipinip6 10.10.1.1 10.10.2.2 \
tsrc 2ffe::1 tdst 3ffe::1 up
Example. On the remote system:
# ifconfig ip6tu0 inet tunnel ipinip6 10.10.2.2 10.10.1.1 \
tsrc 3ffe::1 tdst 2ffe::1 up
IP6-in-IP6 tunnel interface configuration
"IP6-in-IP6" tunnel configuration allows transmission of IPv6 packets encapsulated in an IPv6 header.
"IP6-in-IP6" tunnels can be configured as shown below:
ifconfig ip6tu0 inet6 tunnel ip6inip6 source_link-local_address
\
destination_link-local_address
tsrc tunnel_local_IPv6_address
\
tdst tunnel_remote_IPv6_address
up
The tunnel_local_IPv6_address should be an unicast address configured on the local system, and
tunnel_remote_IPv6_address should be an unicast 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).
6 Hewlett-Packard Company − 6 − HP-UX 11i Version 3: September 2010