ifconfig.1m (2010 09)
i
ifconfig(1M) ifconfig(1M)
broadcast (inet only) Specify the address that represents broadcasts to the network.
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 permit-
ted 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 rout-
ing 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 net-
work 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 con-
tain 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 por-
tion 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 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. Secon-
dary 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.
anycast (inet6 only) Specify that the address configured is an anycast address.
Anycast addresses can be specifed for secondary interfaces only. Once
the anycast address is configured, the secondary interface needs to be
marked down before configuring a new IPv6 unicast or anycast address
on that secondary interface.
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 unicast
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.
2 Hewlett-Packard Company − 2 − HP-UX 11i Version 3: September 2010