Description of configuring IPv6 on Debian
Below we have described how you can configure IPv6 on Debian. Please make sure that you follow the steps in the support article.
Step 1 – Contact Support for an IPv6
If you do not have an IPv6 address assigned, the first step is to send an email to [email protected] in order the get the required information for configuring your server with IPv6.
Step 2 – Log in to your server
Open a terminal and log in to your server using SSH. ssh root@ip_address_or_domain
Step 3 – Open your network interface
Open your network interface file with your favorite editor. We have used nano in our example. sudo nano /etc/network/interfaces
Step 4 – Add the IPv6 to your network configuration
Use the information from step 1. Add a new block to the end of the file for the IPv6 interface. It should look like the configuration below. Replace the red marked text with your own configuration. Save it once you have added the IPv6 block.
auto eth1 iface eth1 inet6 static address 2a00:7b80:451:1::10 netmask 48 gateway 2a00:7b80:451::1
The VLAN ID of this IPv6 is 451
Step 5 – Add the IPv6 to your network configuration
You have few options to enable the IPv6. The easiest way is to restart the networking service. You can use the commands below to restart the network service.
Debian 7
sudo /etc/init.d/networking restart
Debian 8 & 9
sudo systemctl restart networking
Step 6 – Restart the network service
The final step is to check whether the configured IPv6 is working. If your own working station is supporting IPv6 you can test it through your terminal. You can find the commands below per Operating System.
Windows:
ping -6 2a00:7b80:451:1::8
Linux:
ping6 2a00:7b80:451:1::8
MacOS:
ping6 2a00:7b80:451:1::8
Leave a Reply