Manage IP addresses on a Linode

Each Linode is equipped with several IP addresses, which may enable it to be accessible over the public Internet and other Akamai services or accessible just to other Linodes within a VPC. This guide covers how to manage these IP addresses (including viewing, adding, removing, transferring, or sharing them) through Cloud Manager.

View IP addresses

  1. Log in to Cloud Manager and click the Linodes link in the sidebar.

  2. Click on your Linode from the list to view more details.

  3. Within the top Summary section, you can view the primary IPv4 and IPv6 addresses.

  4. To view all public and private IP addresses for this Linode (along with any associated rDNS values), navigate to the Network tab and review the IP Addresses section.

Types of IP addresses

IPv4

  • Public IPv4 Address: Most Linodes (those created without a VPC) have a single public IPv4 address, which enables your applications to be accessible over the Internet. Additional addresses can be provided with technical justification. If a VPC interface is configured when a Linode is created, that Linode typically does not have a public IPv4 address unless the Assign a public IPv4 address option is selected.
    Public IPv4 addresses can be auto-assigned or come from reserved IPs for the region. To learn more about reserving IPs, see the Reserved IPs guide.

  • VPC IPv4 Address: If a Linode is assigned to a VPC, that Linode is assigned an IPv4 address from the CIDR range configured on the subnet. This IP address can be automatically generated or manually provided. Optionally, if the Assign a public IPv4 address option is selected during creation, the Linode is assigned public IPv4 address as well.

  • VLAN IPv4 Address: When a Linode is configured with a VLAN, you assign it a IPv4 address to use within the VLAN. It is also automatically assigned a public IPv4 address.

  • Private IPv4 Address: Optionally, a private IPv4 address can be assigned to a Linode. This allows it to connect to other services located in the same data center, such as NodeBalancers or other Linodes. Private IPv4 addresses are available for configuration profile interfaces but are not supported on Linode interfaces. Private IP addresses are not supported for Linodes in distributed compute regions. For Linodes in these regions, we recommend using VPC. Other alternatives are VLAN and IPv6.

📘

A VPC is the recommended method for network isolation

In most cases, a VPC is the better option for true network isolation than either a VLAN or a private IP address. For a comparison between these methods, review the VPC documentation.

IPv6 addresses

  • IPv6 SLAAC Address: This is the main IPv6 address used to communicate over the public Internet and with other services in the same data center. All Linodes are assigned a single SLAAC address, which cannot be removed or transferred. Additional SLAAC addresses cannot be provided. If you need an additional IPv6 address, consider using a /64 range (see below).

  • IPv6 Link Local: This IPv6 address is assigned to each Linode and used for internal routing.

  • /64 Routed Range: This is the most common range provided to our customers and sufficient for most applications that require additional IPv6 addresses. A single /64 range provides 18,446,744,073,709,551,616 addresses that can be used when configuring the applications within your system. See the Manual network configuration on a Linode guide for instructions on configuring specific addresses from a range. By default, up to one /64 range can be added per customer per data center.

  • /56 Routed Range: These larger ranges are typically only required by specialized systems or networking applications. A single /56 range provides 4,722,366,482,869,645,213,696 addresses that can be used when configuring the applications within your system. See Manual network configuration on a Linode for instructions on configuring specific addresses from a range. By default, up to one /56 range can be added per customer per data center.

  • /116 Pool: (4,096 addresses) An IPv6 pool is accessible from every Linode on your account within the assigned data center. Addresses from that pool can be configured on each Linode within that data center. This can enable features like IPv6 failover. By default, up to one /116 pool can be added per customer per data center.

    ❗️

    The IPv6 /116 prefix has been deprecated and is no longer available for new Linodes. If you have an existing Linode with a /116 pool, please review the Upcoming changes related to network infrastructure upgrades to learn about changes that may affect your services.

Add an IP address

Follow the suitable instructions depending on whether your Linodes use configuration profile interfaces or Linode interfaces for networking.

Configure rDNS

To change the rDNS value on an IP address, follow the instructions in Configure rDNS (reverse DNS) on a Linode.

Reserve an IP address

You can reserve a public IPv4 address currently in use by a Linode. Once reserved, the address is added to your account's reserved IP list and remains exclusive to you to use in the same region, even if the Linode is deleted. The IP will remain permanently tied to the region where the Linode was created. Reserved IPs are ideal for services requiring a consistent address.

Charges apply while the IP is reserved, even if it is not assigned to a Linode. For more details, see Reserved IPs.

  1. Log in to Cloud Manager and click the Linodes link in the sidebar.

  2. Click your Linode in the list and navigate to the Network tab.

  3. In the IP Addresses section, click the actions menu for the public IPv4 address you'd like to reserve.

  4. Select Reserve IP from the dropdown. This displays the Reserve an IP Address form.
    A screenshot showing the Reserve IP option in the Linodes details page in Cloud Manager

  5. Select a Region for the IP. The reserved IPs and its resource must be in the same region.

    🚧

    Selecting a target region for reserved IPs

    The reserved IP and its target resource must be in the same region. Because reserved IPs are tied to a specific datacenter's network topology, you cannot change this region or move the IP to a different datacenter later.

  6. (Optional) Add any Tags to help organize and group your Akamai Cloud resources.

  7. Click Reserve IP Address for the changes to take effect.

After the address is reserved, the Reserve IP button is grayed out in the dropdown. Note that this reserves only one individual public IPv4 address within a specific region at a time, not the whole CIDR block. Navigate to Networking>Reserved IPs to see all your reserved IP addresses.

📘

In addition to reserving IP addresses currently in use by your Linodes, you can reserve IPs in the following ways:

Delete an IP address

  1. Log in to Cloud Manager and click the Linodes link in the sidebar.

  2. Click your Linode in the list and navigate to the Network tab.

  3. In the IP Addresses section, click the actions menu for the IP address you'd like to delete.

  4. Select Delete from the dropdown menu.
    A screenshot of the Delete option within the table.

  5. A pop-up confirmation dialog appears. Click the Delete Range button to confirm the request.

  6. To make sure the IP address is removed from the internal system of the Linode, verify that Network Helper is enabled and reboot the Linode.

    If Network Helper is turned off and you've configured a static IP address, you need to update the configuration files to remove the IP address or enable Network Helper.

Transfer IP addresses

Follow the suitable instructions depending on whether your Linodes use configuration profile interfaces or Linode interfaces for networking.

Configure IP Sharing

IP Sharing is a feature that enables two Linodes to be assigned the same IP address for the purpose of configuring failover. Within a typical failover setup, traffic on the shared IP address is routed to the primary Linode. In the event that Linode fails or goes down, traffic is automatically re-routed to the secondary Linode. While IP Sharing can be configured in Cloud Manager, failover must be manually configured within the internal system of both Linodes. See Configure failover on a Linode to learn more about configuring failover.

🚧

When IP Sharing is enabled for an IP address, all connectivity to that IP address is immediately lost until it is configured on Lelastic, FRR, or another routing software. This is not an issue when adding a new IP address, but should be considered if you are enabling IP Sharing on an existing IP address that is actively being used.

To learn how to enable IP Sharing within Cloud Manager, review the following steps.

  1. Log in to Cloud Manager and click the Linodes link in the sidebar.

  2. Determine which two Linodes are to be used within your failover setup. They both must be located in the same data center. Make sure the IP address you wish to share has been added to one of those Linodes. If not, add it now. See Adding an IP address.

  3. Of those two Linodes, select the one that does not yet have the Shared IP addresses assigned to it. Then, navigate to the Network tab.

  4. Click the IP Sharing button under the IP Addresses section.

    A screenshot showing the IP Sharing button within the IP Addresses section.

  5. The IP Sharing form appears with a list of IP addresses that are available to be shared. Select the IP address you wish to share with this Linode.

    📘

    If your desired IP address does not appear in that list, verify that the Linode to which it belongs has at least two public IPv4 addresses or has been assigned an IPv6 routed range (/56 or /64).

  6. Click Save to enable IP Sharing.

  7. After enabling IP Sharing in Cloud Manager, the next step is to configure a failover service (such as FRR, lelastic, or Keepalived) within the internal system on each Linode. For more information, see Configure failover on a Linode.

View the DNS resolvers' IP addresses

Each data center has its own set of DNS resolvers, which are accessed through both IPv4 or IPv6 addresses. To view the DNS resolvers, follow the instructions below.

  1. Log in to Cloud Manager and click the Linodes link in the sidebar.

  2. Click on your Linode from the list to view more details.

  3. Navigate to the Network tab and review the DNS Resolvers list, which should appear to the right of (or below) the network transfer graph.

    A screenshot of the Network tab showing the DNS Resolvers list.

Confirm IP addresses are correctly configured

Our platform's Network Helper tool automatically configures the internal network settings of your Linode's Linux system. This ensures changes made to your IP addresses within Cloud Manager are also made internally on your Linode. If you decide not to use Network Helper or are using a custom unsupported distribution, you need to manually configure your system's networking. In this case, review the Manual network configuration on a Linode guide.

To verify that your IP addresses are correctly configured, run the ip command on your Linode (see man pages reference), specifically ip a show (ip addr show). For more information on using this command, see Use the IP command in Linux .


Did this page help you?