HP-UX Reference (11i v2 07/12) - 1M System Administration Commands A-M (vol 3)
i
ifconfig(1M) ifconfig(1M)
broadcast (inet only) Specify the address that represents broadcasts to the net-
work. The default broadcast address is the address with a host part of
all 1’s.
encaplimit n
Specify the tunnel encapsulation limit value n. The tunnel encapsula-
tion limit is the maximum number of additional encapsulations per-
mitted for the packets. The tunnel encapsulation limit option is
defined in RFC 2473. This option is valid only for tunnel types
ipinip6 and ip6inip6. The default is 4.
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 subdividing
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 networks(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 start-
ing from the leftmost bit position in the 32-bit field. mask must con-
tain at least the standard network portion, and the subnet field must
be contiguous with the network portion. The subnet field must con-
tain at least 1 bit. For aggregating networks into supernets, mask
must only include a portion of the network part. mask must contain
contiguous 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 sub-
section 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
370 Hewlett-Packard Company − 2 − HP-UX 11i Version 2: December 2007 Update