On This Page
Loading...

Elastic IP Addresses

COMMAND LINE

Copy to clipboard

Elastic IP Addresses

Equinix Metal™ supports ordering additional static IP space (referred to as “Elastic IPs”) that can be moved easily between servers. You can choose to have both "local" and "global" elastic IP addresses, which you rent from Equinix Metal on an hourly basis.

  • Elastic IPs - Clients can use our customer portal to order additional public IPv4 address space, ranging from a /32 (a single IP) through a /24 (256 IPs). Though there is no technical limit to how these IPs can be configured, we encourage you to use them responsibly, and as such we charge a nominal fee per elastic IP address ($0.005/hr or about $3.60/mo).

  • Global Anycast IPs - Global Anycast IPs are public IPv4 addresses that are pulled from Equinix Metal-owned IP space and announced in all of Equinix Metal's core facilities. These IPv4 addresses cost $0.15/hr per IP. Regular $0.05/GB outbound rates apply, and (in addition) inbound bandwidth to Global Elastic IPs costs $0.03/GB.

Requesting Elastic IPs

Select the Project in which the reserved subnet is required. From within that specific project, from the IPs & Networks drop-down click IPs. Your project's current IP Addresses should be listed. To request additional IP Addresses, click Request IP Addresses.

From the slide out, you can select the size, type, and location of the reserved subnet. Be sure to include detailed information for the use case for the requested subnet.

Equinix Metal allows you to reserve the following sizes:

Elastic IPs Usable Global Anycast Usable
/31 2 IPv4 /32 1 IPv4
/30 4 IPv4 /31 2 IPv4
/29 8 IPv4 /28 4 IPv4
/28 16 IPv4

Creating an IP Reservation through the API

curl  -v \
      -X POST "https://api.equinix.com/metal/v1/projects/$PROJECT_ID/ips" \
      -H 'Content-Type: application/json' \
      -H "X-Auth-Token: $METAL_API_TOKEN" \
      -d @- <<-'EOF'
      {
        "type": "public_ipv4",
        "quantity": 4,
        "comments": "for mytestserver.com",
        "metro": "sv",
        "details": "my /30 in AMS1"
      }
EOF

The quantity parameter should be the number of IPs in the subnet, valid values are 2, 4, 8, 16. IP reservations larger than 16 will require additional verification by Equinix Metal

Please Note: Should you not receive a response from the request, a support ticket was submitted on your behalf, and our team will review the request an respond. If you do not see this ticket please email support directly

Provisioning with a Reserved IP Address

If you are provisioning new servers in projects and metros that already have reserved subnets, then you can use IP Addresses from those subnets on the new servers.

During the provisioning process, under Optional Settings, click Configure IPs. Choose Deploy from your subnet and select the subnet and number of IP Addresses to assign to the server.

IP Configuration under Optional Settings

Adding an Elastic IP 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

It is important to note that, unlike management IPs, elastic IPs are not automatically configured on servers by default. This is by design; as a security measure, as we do not maintain access to servers to update their network configuration files once they’re installed.

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

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

sudo ip addr add 147.75.255.255 dev lo

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

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

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

sudo ip addr add 147.75.255.255 dev lo

To make permanent, add to /etc/netplan/00-elastic.yaml:

network:
  version: 2
  renderer: networkd
  ethernets:
    lo:
      addresses:
        - 127.0.0.1/8
        - 147.75.255.255/32

then either sudo netplan try or sudo netplan apply

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

sudo ip addr add 147.75.255.255 dev lo

To make permanent, add to /etc/sysconfig/network-scripts/ifcfg-lo:0:

DEVICE="lo:0"
BOOTPROTO="static"
IPADDR=147.75.255.255
NETMASK=255.255.255.255
NETWORK=147.75.255.255
ONBOOT=yes

Frequently
asked questions

Slack

Still stuck?

Join us on Slack

Get support from our team and community members.

Frequently asked questions

What 3rd party Managed Services?

Neutra trust fund narwhal, palo santo bicycle rights live-edge stumptown health goth portland selfies kinfolk woke. ssss Echo park irony artisan vaporware typewriter. Next level pinterest drinking vinegar lyft mumblecore af small batch heirloom VHS. Fixie banh mi asymmetrical trust fund.

What 3rd party Managed Services?

Neutra trust fund narwhal, palo santo bicycle rights live-edge stumptown health goth portland selfies kinfolk woke. ssss Echo park irony artisan vaporware typewriter. Next level pinterest drinking vinegar lyft mumblecore af small batch heirloom VHS. Fixie banh mi asymmetrical trust fund.

What 3rd party Managed Services?

Neutra trust fund narwhal, palo santo bicycle rights live-edge stumptown health goth portland selfies kinfolk woke. ssss Echo park irony artisan vaporware typewriter. Next level pinterest drinking vinegar lyft mumblecore af small batch heirloom VHS. Fixie banh mi asymmetrical trust fund.

Copied code to clipboard