Академический Документы
Профессиональный Документы
Культура Документы
Blocks until all network services have completed configuring, or have timed out in the process
of configuring. This is only useful for initial system start-up time synchronization for legacy
network services that are incapable of dealing with dynamic network configuration changes.
getifaddr interface-name
Prints to standard output the IP address for the first network service associated with the given
interface. The output will be empty if no service is currently configured or active on the interface.
ifcount
Prints the number of interfaces that IPConfiguration is capable of configuring. The value thats
printed will not change unless relevant network interfaces are either added to or removed from
the system.
Mac OS X
IPCONFIG (8)
IPCONFIG (8)
interface-name NONE
interface-name (DHCP | BOOTP)
interface-name (MANUAL | INFORM) ip-address subnet-mask
interface-name NONE-V6
interface-name AUTOMATIC-V6
interface-name MANUAL-V6 ipv6-address prefix-length
interface-name 6TO4
Sets the interface to have a new temporary network service of the given type. Any existing services on the interface for the particular protocol (IPv4 or IPv6) are first de-configured before
the new service is instantiated.
If NONE is specified, all existing IPv4 services are de-configured. If NONE-V6 is specified,
all existing IPv6 services are de-configured.
DHCP and BOOTP require no additional arguments. The IP address, subnet mask, router, and
DNS information are retrieved automatically.
Both MANUAL and INFORM require the specification of an IP address ip-address and a
subnet mask subnet-mask.
The INFORM service configures the IP address statically like MANUAL, but then broadcasts
DHCP INFORM packets to retrieve DHCP option information. If the DHCP server responds
and supplies a subnet mask, that subnet mask is used instead of the specified subnet-mask.
AUTOMATIC-V6 requires no additional arguments. The IPv6 address, prefix length and
router are retrieved automatically.
MANUAL-V6 requires the specification of the IPv6 address ipv6-address and a prefix
length prefix-length.
6TO4 only works on Six To Four (IFT_STF) interfaces e.g. stf0. If it is specified on a nonIFT_STF interface, it has the same effect as specifying NONE-V6.
The set command requires root privileges.
Note: The set command is very useful for debugging, but it cant be used to configure a persistent service. The temporary services that are created only remain until the next network configuration change occurs. See scselect(8).
setverbose level
Enables or disables verbose mode logging in the IPConfiguration agent. Specify a level
value of 0 to disable verbose logging, the default. Specify a value of 1 to enable verbose logging. This setting is persistent across boots of the operating system.
When enabled, verbose log files are generated in the directory /Library/Logs/CrashReporter.
The filenames follow the naming convention com.apple.networking.IPConfiguration.log.<timestamp>.
Mac OS X
IPCONFIG (8)
IPCONFIG (8)
Mac OS X