Skip to main content

Configuring Elastic IPs

Equinix Metal provides you the ability to assign Elastic IP addresses statically to your servers through the console and API.

IP Addresses that can be used as Elastic IPs:

All IP addresses have to be in the same Metro and Project as the servers you are assigning them to, with the exception of Global Anycast IP addresses (which can be used globally).

Adding Elastic IP Addresses to an Existing Server

From the server's Network tab, in the Elastic IPs section, click + Assign New Elastic. A slide-out appears that allows you to select the subnet and IP Addresses to assign.

Assigning an Elastic IP to an Existing Server

Host IP Configuration

Unlike management IPs, elastic IPs are not automatically configured on your servers. As a security measure, as we do not maintain access to servers to update their network configuration files once the operating system is installed. You have to add new IP addresses to the server's network configuration yourself.

Using a sample IP address of 198.51.100.3, the following configuration changes will make the IP address usable on your server:

To configure temporarily (won't come back up on reboot):

sudo ip addr add 198.51.100.3 dev lo

To make permanent, add to /etc/network/interfaces:

auto lo:0
iface lo:0 inet static
address 198.51.100.3
netmask 255.255.255.255

Keeping Track of Elastic IP Addresses

To check the status of subnets and IP addresses in the console, click your Project's IPs tab. Click on the Actions menu of the IP block and you can see which subnets and IPs are assigned to which servers.

A IP block's IP assignments

For a server-level view, navigate to the server's Network tab. Under the Elastic IPs section, you can see the Elastic IPs assigned to that server.

A server's Elastic IP assignments

Unassigning an Elastic IP Address

To unassign a subnet or IP address from a server, navigate to the server's Network tab. Under the Elastic IPs section, select the Elastic IPs, and click Detach to unassign it from the server.

Unassigning an IP address from a Server

Other Subnets and IP Address Options

Assigning an IP or subnet statically is not the only way to use the IP addresses in your reserved subnets and management blocks.

In addition, Equinix Metal offers Metal Gateways, which provides a public or private IPv4 address as a gateway for a subnet.