You can manually assign TCP/IP configuration values for a host
When you configure a static IP address, you must also configure the subnet mask and default gateway.

When you configure a static IP address, you disable DHCP and APIPA. If you use DHCP you can also assign DNS server addresses manually.

Use static addressing
For small networks that do not often change or grow. If your network does not have a DHCP server, or if you want to eliminate DHCP traffic from your network. For specific hosts that must have the same address each time (such as servers).

You can use DHCP on the rest of the network and only use static addressing for a few hosts. However, before you use static addressing, explore the possibility of using a DHCP server to assign the same IP address to specific hosts each time the address is requested.

Host Configuration Protocol (DHCP) DHCP
is an automatic method for assigning IP address and other TCP/IP configuration parameters to hosts. Client computers contact a DHCP server to receive TCP/IP configuration information.

Automatic Private IP Addressing (APIPA) APIPA
is an automatic configuration method where hosts automatically select their own IP address within a specific range
With APIPA
Windows computers will use APIPA if a DHCP server cannot be contacted. Hosts select an IP address in the 169.254.0.1 to 169.254.

255.255 range with a mask of 255.255.0.

0. After choosing the address, the host verifies that no other host on the network is using the selected address.

APIPA
sets only the IP address and mask. Because it does not assign a default gateway, APIPA can be used on a single subnet, but cannot be used if communication with other subnets is required. Use APIPA for small, single-subnet networks that do not use DNS servers or have Internet or connectivity outside of the local subnet.

Use an alternate configuration
If you have a computer (such as a laptop) that connects to two networks: one with a DHCP server and another without a DHCP server. If you want to provide values to properly configure the computer in case the DHCP server is unavailable.
Static full assignment
is where the entire 128-bit IPv6 address (prefix and interface ID) and all other configuration information (default gateway and DNS IP address) is statically assigned to the host.
Static partial assignment
is where the prefix is statically assigned and the interface ID is automatically generated, using either a randomly-generated value or the modified EUI-64 format derived from the MAC address. You are not assigning the default gateway nor the DNS IP address (you can configure the client to receive these from a stateless DHCP server).

Stateless autoconfiguration
is where clients automatically generate the interface ID, and learn the subnet prefix and default gateway through the Neighbor Discovery Protocol (NDP). NDP uses the following messages for autoconfiguration
Router solicitation (RS)
is a message sent by the client to request that routers respond.
Router advertisement (RA)
is a message sent by the router periodically and in response to RS messages to inform clients of the IPv6 subnet prefix and the default gateway address.
The RA contains two flags that indicate how the client should obtain configuration information
The M flag (Managed Address Configuration) identifies how prefix and interface ID information is configured. The O flag (Other Stateful Configuration) identifies how other information, such as the default gateway and DNS server addresses, is received.
DHCPv6 IPv6
uses an updated version of DHCP (called DHCPv6) that operates in one of two different modes
Stateful DHCPv6
is where the DHCP server provides each client with the IP address, default gateway, and other IP configuration information (such as the DNS server IP address).

The DHCP server tracks the status (or state) of the client.

Stateless DHCPv6
does not provide the client an IP address and does not track the status of each client, but rather is used to supply the client with the DNS server IP address. Stateless DHCPv6 is most useful when used in conjunction with stateless autoconfiguration.