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

i
ifconfig(1M) ifconfig(1M)
forward (inet6 only) Enable forwarding of packets by this interface. This is
the default behavior.
-forward (inet6 only) Disable forwarding of packets by this interface.
metric n Set the routing metric of the interface to n. The default is 0. The
routing metric is used by the routing protocol (see gated(1M)).
Higher metrics have the effect of making a route less favorable;
metrics are counted as additional hops to the destination network
or host.
netmask mask
(inet only) Specify how much of the address to reserve for subdi-
viding networks into sub-networks or aggregating networks into
supernets. mask can be specified as a single hexadecimal number
with a leading 0x, with a dot-notation Internet address, or with a
pseudo-network name listed in the network table (see net-
works(4)). For subdividing networks into sub-networks, mask
must include the network part of the local address, and the subnet
part which is taken from the host field of the address. mask must
contain 1’s in the bit positions in the 32-bit address that are to be
used for the network and subnet parts, and 0’s in the host part.
The 1’s in the mask must be contiguous starting from the leftmost
bit position in the 32-bit field. mask must contain at least the
standard network portion, and the subnet field must be contiguous
with the network portion. The subnet field must contain at least 1
bit. For aggregating networks into supernets, mask must only
include a portion of the network part. mask must contain contigu-
ous 1’s in the bit positions starting from the leftmost bit of the 32-
bit field.
prefix n (inet6 only) n indicates the length of the network prefix associated
with this interface. The primary interface (see Interface Naming
subsection given below) prefix length is always 10, and is not
configurable. The prefix option can be used only with the address
option, and only for secondary interfaces. Default: 64. Range: 1 to
128.
private (inet6 only) Enable processing of received router advertisements.
Secondary address(es) will be autoconfigured on the interface
using the prefix(es) received in router advertisement(s). This is the
default behavior.
-private (inet6 only) Disable processing of received router advertisements.
tunnel type Specify the type of tunnel. The tunnel types can be ip6inip,
ipinip6, ip6inip6, and 6to4.
tdst addr Specify the destination addr of the tunnel. This is the destination
address in the encapsulating (outer) header. It should be an
address configured on an interface on the tunnel exit-point node.
For tunnel types ipinip6 and ip6inip6, the addr should be an
IPv6 address. For tunnel type ip6inip, the addr should be an
IPv4 address; and for tunnel type 6to4, the tdst parameter
should not be specified.
tsrc addr Specify the source addr of the tunnel. This is the source address
in the encapsulating (outer) header. It should be an address
configured on an interface in the tunnel entry-point node. For
tunnel types ipinip6 and ip6inip6, the addr should be an
IPv6 address. For tunnel types ip6inip and 6to4, the addr
should be an IPv4 address.
arp (inet only) Enable the user of the Address Resolution Protocol in
mapping between network level addresses and link level addresses
(default). If an interface already had the Address Resolution Pro-
tocol disabled, the user must "unplumb" the interface before it can
Section 1M300 Hewlett-Packard Company 2 HP-UX 11i Version 2: September 2004