Questions and Answers — VDSina

Do you issue IPv6?

Good afternoon, please tell me is it possible to assign an ipv6 address to my virtual machine?

03.12.2014 12:59 User ID 3817 Updated 05.02.2016 10:14 no comments yet
03.12.2014 12:59
Answers to the question — 1
Employee Михаил Озорович

Yes, we provide the option to use an IPv6 subnet.

To order, open the control panel, select the desired server in the "My Servers" section and go to the "IP" tab. You can order the service using the "Order IPv6" button.

 

vydaete-li-ipv6-1.png

 

In a moment, you will see your IPv6 subnet in the same section of the control panel.

Next, you need to add each IPv6 separately in the network settings of the operating system used on the server.

For example, if you have received a 2a10:9200:0:332::/64, then the first subnet address is 2a10:9200:0:332:: , the second 2a10:9200:0:332::1 and so on up to the last IPv6 of this subnet 2a10:9200:0:332:ffff:ffff:ffff:ffff

Consider the process of adding a single IPv6 address, for example 2a10:9200:0:332::1. In all cases, you also need to use IPv6 DNS, you can use public DNS from Google.

CentOS 7,8

Ubuntu 18.04, Ubuntu 20.04

Debian 8

Debian 9, Debian 10, Debian 11, Ubuntu 16.04

Windows

 

 

CentOS 7,8

Editing a file on the server

/etc/sysconfig/network-scripts/ifcfg-eth0 for Centoc 7

/etc/sysconfig/network-scripts/ifcfg-ens3 for Centos 8

and we write the following lines at the end of it

IPV6ADDR="2a10:9200:0:332::1"
IPV6_DEFAULTGW="fe80::1"
IPV6INIT=yes

In this case, 2a10:9200:0:332::1 - your IPv6 address, fe80::1 is the gateway.

After restarting the server, we will be able to check the work by running the ping6 command google.com

 

Ubuntu 18.04, Ubuntu 20.04

Editing the file /etc/netplan/01-netcfg.yaml and bring the ens3 section to this form

 ens3:
      addresses:
      - IPv4/24
      - 2a10:9200:0:332::1/64
      gateway4: IPv4
      gateway6: fe80::1

In this case, 2a10:9200:0:332::1 - your IPv6 address, fe80::1 is the gateway. We do not change the values for IPv4.

After the changes, you must run the command

netplan apply

And reboot the server.

 

Debian 8

Edit the /etc/network/interfaces file by adding the following entries

iface eth0 inet6 static
        address 2a10:9200:0:332::1
        netmask 64
        gateway fe80::1

In this case, 2a10:9200:0:332::1 - your IPv6 address, fe80::1 is the gateway.

After making changes, restart the network with the command

/etc/init.d/networking restart

 

Debian 9, Debian 10, Debian 11, Ubuntu 16.04

In the /etc/network/interfaces file, add

iface ens3 inet6 static
        address 2a10:9200:0:332::1
        netmask 64
        gateway fe80::1

In this case, 2a10:9200:0:332::1 - your IPv6 address, fe80::1 is the gateway.

Rebooting the network or the server as a whole

/etc/init.d/networking restart

 

Windows

Opening it  Control Panel -> Network and Sharing Control Center and select Change Adapter settings

 

vydaete-li-ipv6-2.png

 

Right-click on our network connection and select "Properties". Next, select "Internet Protocol version 6 (TCP/IPv6)" and click on the "Properties" button again, enter the parameters of the previously received IPv6.

 

vydaete-li-ipv6-3.png

 

vydaete-li-ipv6-4.png

 

In this case, 2a10:9200:0:332::1 - your IPv6 address, fe80::1 is the gateway.

Updated 15 February, at 16:31 13.01.2016 12:36

To answer you need to register or log in.
Close the window
Authentication
2FA verification
Close the window
Registration
A password will be sent to the specified email address
Close the window
Password Reminder
Close the window
Password Reminder
Close the window
Password Reminder
Exit