There was a problem loading the comments.

How to Configure Static IPv6 on Your Dedicated Server

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

How to Configure Static IPv6 on Your Dedicated Server

Overview:
This guide explains how to configure a static IPv6 address on your dedicated server using the /64 block assigned to you from our IPv6 infrastructure. The IP addresses used in this guide (e.g., 2001:db8:100:1000::/64) are example addresses from the documentation range and should not be used in production.

 

You will find your actual assigned /64 IPv6 block and gateway listed under your server details in the SynergyCP control panel. If you have multiple dedicated servers with us, each will have its own unique allocation.

If you require a larger IPv6 allocation (such as a /56 or /48), please open a support ticket and we will review your request.


1. IPv6 Addressing Scheme

Your assigned /64 can be used directly on your server. A /64 provides 18 quintillion IP addresses, which is sufficient for most deployments.

  • Your assigned block: 2001:db8:100:1000::/64
  • Gateway: 2001:db8:100:1000::a
  • Suggested IP for host: 2001:db8:100:1000::1/64

2. Linux Configuration (Debian/Ubuntu)

Edit your network configuration file:

nano /etc/network/interfaces

Add the following lines under your primary interface (e.g., eth0):

auto eth0
iface eth0 inet static
    address 192.0.2.2/24
    gateway 192.0.2.1

iface eth0 inet6 static
    address 2001:db8:100:1000::1/64
    gateway 2001:db8:100:1000::a

Restart networking:

systemctl restart networking

Verify:

ip -6 route show
ping6 google.com
dig AAAA google.com

3. Ubuntu with Netplan

For systems using Netplan (Ubuntu 18.04+):

network:
  version: 2
  ethernets:
    ens18:
      addresses:
        - 2001:db8:100:1000::1/64
      gateway6: 2001:db8:100:1000::a

Apply changes:

netplan apply

4. Windows Server Configuration

Using PowerShell as Administrator:

New-NetIPAddress -InterfaceAlias "Ethernet" `
  -IPAddress "2001:db8:100:1000::1" -PrefixLength 64 `
  -DefaultGateway "2001:db8:100:1000::a"

Or via GUI:

  • Control Panel → Network and Sharing Center
  • Change Adapter Settings → Properties → IPv6
  • Use the static IP, prefix /64, and gateway 2001:db8:100:1000::a

5. DNS Configuration (Optional)

Public resolvers:

  • Cloudflare: 2606:4700:4700::1111
  • Google: 2001:4860:4860::8888

Example /etc/resolv.conf:

nameserver 2606:4700:4700::1111
nameserver 2001:4860:4860::8888

6. Best Practices for Your /64

  • Use only addresses from your assigned /64.
  • If hosting multiple services, use different IPs within your /64 for organizational purposes.
  • If you require multiple /64s or a larger allocation, open a ticket in SynergyCP support.
  • Document IP assignments for future reference.

7. Troubleshooting

  • Ensure your firewall allows IPv6 traffic.
  • Verify your default gateway is set correctly.

Check connectivity:

ping6 2001:db8:100:1000::a
traceroute6 google.com
tcpdump -i eth0 icmp6

For Windows:

Test-NetConnection -ComputerName google.com -TraceRoute

If you still have issues, open a support ticket with your assigned IPv6 block, gateway, and a copy of your configuration for review.


Share via
Did you find this article useful?  

Comments

Add Comment

Replying to  

© EZSCALE Hosting, LLC