Question:
Unable to add an IP address in Plesk: This network interface obtains IP addresses automatically
Symptoms
- Unable to add an IP address in Plesk > Tools & Settings > IP Addresses. The following error is shown:
QuoteCannot add the IP address 203.0.113.2. This network interface obtains IP addresses automatically.
Cause
Static IP addresses cannot be added on DHCP-enabled network interfaces.
Resolution
Change the network interface to static:
1.Connect to the server via RDP.
2.Run the following command and write down the current IP addresses (which is leased by the DHCP) from
IPv4/IPv6 Addresses, Subnet Mask, Default Gateway, DNS Servers:
c:\>ipconfig /all
3.Go to
Control Panel > Network and Internet > Network and Sharing Center > Change adapter settings > example_interface > Properties > Internet Protocol Version 4|6 (TCP/IPv4|IPv6).
4.Switch to the
Use the following IP address option.
5.Add the IP addresses taken from step #2.
6.Click
OK.
QuoteNote: It is highly recommended to perform this task during maintenance time.