VPS1Euro Dashboard Wiki

Complete client guide: infrastructure, services, account and support.

FR EN

Add an IP to your VPS

Learn how to attach a mobile IP or an IPv6 block from the client area, then enable or remove the addresses inside your VPS.

What this tutorial does

The tutorial "Add an IP to your VPS" helps you achieve this goal:

Learn how to attach a mobile IP or an IPv6 block from the client area, then enable or remove the addresses inside your VPS.

← Back to tutorials
3 profiles 32 steps 18 commands ~20 min

Dedicated IP or mobile IP

  1. From the client area, open IP Addresses, then My IPv4 or My IPv6.
  2. Locate the resource you want to use and click Manage.
  3. Choose the target VPS you own, then click Attach.
  4. If the IP is already attached elsewhere, use Change VPS to move it cleanly.
  5. Once the attachment is confirmed in the panel, connect to the target VPS over SSH.
  6. To add an IPv6 on Linux, you can use: ip -6 addr add 2001:db8:128:60::10/128 dev eth0
  7. To remove that same IPv6 later, use: ip -6 addr del 2001:db8:128:60::10/128 dev eth0
  8. The add keyword creates an IP and the del keyword removes an IP.
  9. If you need to verify or restore the default route, use the gateway shown in your client area: ip -6 route replace default via GATEWAY dev eth0
  10. For a mobile IPv4, the workflow is the same: first attach it to the VPS from the panel, then apply the persistent network configuration in your OS.
  11. If you want the address to survive a reboot, save the configuration in Netplan, ifupdown or NetworkManager.

Mobile IPv4 /32

  1. Start from IP Addresses, then open My IPv4 in your client area.
  2. Locate the IPv4 you want, click Manage, then attach it to the VPS you own.
  3. Once the attachment is confirmed in the panel, connect to the VPS over SSH.
  4. To add the IPv4 on Linux, use: ip addr add IPv4/32 dev eth0
  5. Replace IPv4 with the exact address shown in your client area, for example: ip addr add 109.111.55.10/32 dev eth0
  6. Then add the route linked to the gateway: ip route add GW dev eth0
  7. Next add the default route: ip route add default via GW
  8. Replace GW with the gateway displayed in your client area.
  9. If you want to remove that IPv4 later, use: ip addr del IPv4/32 dev eth0
  10. If an older route already exists, remove it or replace it cleanly before applying the new configuration.
  11. To keep the configuration after a reboot, also save it in your system persistent network configuration.

IPv6 block /120, /122 or /124

  1. An IPv6 block is not managed like a single IP. First open My IPv6, then click Manage on the block you want.
  2. With a Standard account, the block is routed globally to one VPS.
  3. With a Pro account, you can subdivide the block into child blocks or /128 addresses, then distribute those resources across several VPS.
  4. Example: a /124 block contains 16 IPv6 addresses. You can route it to one VPS or split it to distribute /128 addresses across multiple VPS.
  5. Once the block is routed to your VPS, choose which addresses from that block you really want to activate in the system.
  6. Example of adding one IP from the block: ip -6 addr add 2001:db8:124:50::2/128 dev eth0
  7. To remove one IP from that block: ip -6 addr del 2001:db8:124:50::2/128 dev eth0
  8. If the block is in Sub-allocations mode, first manage the child blocks or /128 resources from the panel before attaching them to a VPS.
  9. The gateway remains the one displayed in your panel. You can reuse it when needed with: ip -6 route replace default via GATEWAY dev eth0
  10. Keep a list of already used addresses inside the block to avoid duplicates when moving or subdividing your resources.