abort Closes all TCP connections associated with a network
address. Use this parameter when removing aliases or
deleting network addresses. This prevents connections
from hanging when the network address is deleted.
alias alias_address[/bitmask]
Establishes an additional network address for this
interface. This can be useful when changing network
numbers and you want to continue to accept packets
addressed to the old interface.
If you do not specify a bitmask or netmask with the
alias address, the default netmask is based on the
alias address's network class.
If you are using the optional bitmask argument, do not
use the netmask argument.
This parameter has the following restrictions:
o You can specify only one alias alias_address
parameter for each ifconfig command line.
o You cannot specify an alias and a primary address on
the same command line.
-alias alias_address
Removes the network address specified. This can be
used either if you incorrectly specified an alias or
if an alias is no longer needed. The -alias parameter
functions in the same manner as the delete parameter.
aliaslist address_list[/bitmask]
Establishes a range of additional network addresses for
this interface. The range can be a comma-separated list
or a hyphenated list, and is inclusive. You can also
specify the optional CIDR bitmask (/bitmask) argument
at the end of the list. Do not use a comma-separated
list and a hyphenated list for a range. (IPv4 only)
-aliaslist
Removes a range of network addresses for this
interface. This can be useful when deleting network
numbers and you want to keep the primary interface
address. The alias list rules are the same as for the
aliaslist parameter. (IPv4 only)
allmulti Enables the reception of all multicast packets.
-allmulti
Disables the reception of all multicast packets.
arp Enables the use of the Address Resolution Protocol
(ARP) in mapping between network-level addresses and
link-level addresses. This parameter is on by default.
-arp Disables the use of the ARP. Use of this parameter is
not recommended.
broadcast broad_address
Specifies the address to use to represent broadcasts
to the network. The default broadcast address is
the address with a host part consisting of all 1s
(ones). Note that the computation of the host part
is dependent on netmask. (See the description of the
netmask parameter for more information).
delete [net_address]
Removes the network address specified. Use this
parameter if you incorrectly specified an alias, or
if it was no longer needed. If you incorrectly set an
NS address, specifying the host portion, remove all NS
addresses to respecify the host portion.
If no address is specified, all network addresses for
the interface are deleted.
Be careful when you use this parameter. If you either
specify the network address before the delete parameter
or specify no network address after the delete
parameter, all IPv4 and IPv6 network addresses for
the interface and IPv6 routes are deleted. IPv4 routes
are not deleted.
down Marks an interface as not working (down), which keeps
the system from trying to transmit messages through
that interface. If possible, the ifconfig command
also resets the interface to disable reception of
messages. Routes that use the interface, however, are
not automatically disabled.
ip6dadtries value
Specifies the number of consecutive Neighbor
Solicitation messages that your system transmits while
it performs Duplicate Address Detection on a tentative
address. (IPv6 only)
ip6hoplimit hops
Sets the default number of hops to be included in
transmitted unicast IP packets. (IPv6 only)
ip6interfaceid id
Overrides that default interface ID, which depends on
the underlying link type (for example, Ethernet, FDDI,
and Token Ring), and specifies id as the interface
ID. For example, if your system has the Ethernet
hardware address 08-00-2b-2a-1e-d3, the following
command generates the inet6 link-local address
fe80::a00:2bff:fe2a:1ed3 for the interface:
ifconfig ln0 ipv6
On the same system, the following command generates the
IPv6 interface ID abcd:1234 for the interface:
ifconfig ln0 ip6interfaceid ::abcd:1234 ipv6
(IPv6 only)
ip6mtu mtu_value
Alters the maximum transfer unit (MTU) for messages
that your system transmits on the link. (IPv6 only)
ip6nonud Disables Neighbor Unreachability Detection (NUD) on the
interface. (IPv6 only)
ip6reachabletime time
Sets the time, in milliseconds, that your system con
siders a neighbor is reachable after your system
receives a reachability confirmation message. (IPv6
only)
ip6retranstimer value
Sets the time interval, in milliseconds, between
Neighbor Solicitation messages to a neighbor. (IPv6
only)
ipmtu mtu_value
Alters the size of the maximum transfer unit (MTU)
for messages that your system transmits. It might
be necessary to reduce the MTU size so that bridges
connecting token rings can transfer frames without
error.
ipv6 Initializes IPv6-related data structures and assigns an
IPv6 link-local address to the interface. (IPv6 only)
-ipv6 Removes any IPv6 configuration associated with the
interface, including all IPv6 addresses and IPv6
routes through the interface. This is equivalent to
the following command:
ifconfig interface inet6d delete
(IPv6 only)
metric number
Sets the routing metric, or number of hops, for the
interface to the value of number. The default value
is 0 (zero) if number is not specified, indicating
that both hosts are on the same network. The routing
metric is used by ROUTED and GATED, with higher metrics
indicating that the route is less favorable.
ndna [ address ]
Sends an unsolicited ICMPv6, Neighbor Advertisement
for each address configured on the interface. If the
address is provided, then send a Neighbor Advertisment
for the specified address only. If a DNS alias is used
as the address, a Neighbor Advertisement is sent for
each address that comprises the DNS alias name. (IPv6
only)
netmask mask
Specifies how much of the address to reserve for
subdividing networks into sub-networks. This parameter
can only be used with an address family of inet. Do not
use this parameter if you are specifying the CIDR mask
(/bitmask) with the address argument, alias parameter,
or aliaslist parameter.
The mask variable includes both the network part of
the local address and the subnet part, which is taken
from the host field of the address. The mask can be
specified as a single hexadecimal number beginning with
0x, in the standard Internet dotted-decimal notation,
or beginning with a name.
The mask contains 1s (ones) for the bit positions in
the 32-bit address that are reserved for the network
and subnet parts, and 0s (zeros) for the bit positions
that specify the host. The mask should contain at least
the standard network portion.
The default netmask is based on the address parameter's
network class. (IPv4 only)
up Marks an interface as working (up). This parameter is
used automatically when setting the first address for
an interface, or can be used to enable an interface
after an ifconfig down command. If the interface was
reset when previously marked with the parameter down
(see the following section for a description of this
parameter), the hardware will be reinitialized.