HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)

i
ifconfig(1M) ifconfig(1M)
Tunneling interface:
The tunneling interface, tu0, enables both automatic and configured tunneling when it is marked up. Tun-
neling allows dual stack IPv6/IPv4 nodes to communicate over IPv4 routing infrastructures, by encapsulat-
ing the IPv6 packet inside an IPv4 packet. In automatic tunneling, the tunnel endpoint address is deter-
mined by the IPv4-compatible destination address of the IPv6 packet being tunneled. In configured tunnel-
ing, the tunnel endpoint address is configured by the user (see route(1m)).
IPv6 interface flags displayed:
An IPv6 interface may have three new flags that are not present in an IPv4 interface: TUNNEL, AUTO,
and ONLINK. The TUNNEL flag is set for the tunnel interface (tu0). The AUTO flag is set for
autoconfigured secondary interfaces. The ONLINK flag is set for interfaces with IP addresses that can be
reached without going through a router.
Examples:
Stateless address autoconfiguration with link-local address
ifconfig lan0 inet6 up
Manual configuration for a primary interface with link-local address
ifconfig lan0 inet6 fe80::1 up
Manual configuration for a secondary interface with link-local address
ifconfig lan0:1 inet6 fe80::3 up
Manual configuration for a secondary interface with site-local address
ifconfig lan0:2 inet6 fec0::6 up
Manual configuration for a secondary interface with global address
ifconfig lan0:3 inet6 2222::4 up
Tunnel interface configuration
ifconfig tu0 inet6 up
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.
AUTHOR
ifconfig was developed by HP and the University of California, Berkeley.
SEE ALSO
netstat(1), lanscan(1M), route(1M), inet(3N), inet6(3N), hosts(4), routing(7), NDP(7P).
IP VErsion 6 Addressing Architecture, RFC2373, Hinden, Derring.
Section 1M350 Hewlett-Packard Company 4 HP-UX 11i Version 1: September 2005