IP_PER_ADAPTER_INFO structure
The IP_PER_ADAPTER_INFO structure contains information specific to a particular adapter.
Syntax
typedef struct _IP_PER_ADAPTER_INFO { UINT AutoconfigEnabled; UINT AutoconfigActive; PIP_ADDR_STRING CurrentDnsServer; IP_ADDR_STRING DnsServerList; } IP_PER_ADAPTER_INFO, *PIP_PER_ADAPTER_INFO;
Members
- AutoconfigEnabled
-
Specifies whether IP address auto-configuration (APIPA) is enabled on this adapter. See Remarks.
- AutoconfigActive
-
Specifies whether this adapter's IP address is currently auto-configured by APIPA.
- CurrentDnsServer
-
Reserved. Use the DnsServerList member to obtain the DNS servers for the local computer.
- DnsServerList
-
A linked list of IP_ADDR_STRING structures that specify the set of DNS servers used by the local computer.
Remarks
APIPA enables automatic IP address configuration on networks without DHCP servers, using the IANA-reserved Class B network 169.254.0.0, with a subnet mask of 255.255.0.0. Clients send ARP messages to ensure the selected address is not currently in use. Clients auto-configured in this fashion continue to poll for a valid DHCP server every five minutes, and if found, the DHCP server configuration overrides all auto-configuration settings.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
See also