HP-UX Reference (11i v2 03/08) - 1M System Administration Commands A-M (vol 3)
i
ifconfig(1M) ifconfig(1M)
manually configures secondary interfaces.
To disable communication through a specific IP address on an autoconfigured secondary interface, that
secondary interface should be marked down, not removed or overwritten with a different IP address. If
that interface is removed or overwritten, the host will reconfigure another secondary interface with the
same IP address when it receives the next router advertisement. Alternatively, the router can be
configured to stop advertising the prefix that corresponds to the offending IP address.
Tunneling interface:
The tunneling interface, tu0, enables both automatic and configured tunneling when it is marked up.
Tunneling allows dual stack IPv6/IPv4 nodes to communicate over IPv4 routing infrastructures, by encap-
sulating the IPv6 packet inside an IPv4 packet. In automatic tunneling, the tunnel endpoint address is
determined by the IPv4-compatible destination address of the IPv6 packet being tunneled. In configured
tunneling, 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 1M−−298 Hewlett-Packard Company − 4 − HP-UX 11i Version 2: August 2003