Adding IPv6

Adding IPV6 to VM

For Debian & Ubuntu :

Without Netplan :

These steps are for the following templates: 

BNWKQSD, BZEQHYX, CDYTARO, CKJKMZY, CYCHEXP, CZGNFWQ, DABXLGH

Step1:

vi /etc/network/interfaces 

Step2:

iface eth0 inet6 static
pre-up modprobe ipv6
address **IPV6 IP Address**
netmask 36
gateway 2602:ffd5:1:100::1

Step3:

reboot 

 

With Netplan :

For Ubuntu 20:

These steps are for the following templates:  BNFZZFJ

Step1:

vi /etc/netplan/50-cloud-init.yaml 

network:
   ethernets:
     eth0:
         addresses:
            - 162.250.191.230/24
            - IPV6 Address/36
         dhcp4: false
         gateway4: 162.250.191.1
         nameservers:
             addresses:
             - 8.8.8.8
             - 2001:4860:4860::8844
             - 2001:4860:4860::8888
             search: []
 

Step2:

sudo netplan apply

Step3:

reboot 

 

 

For Centos :

Step1:

vi /etc/sysconfig/network 

NETWORKING_IPV6=yes 

Step2:

vi /etc/sysconfig/network-scripts/ifcfg-eth0

IPV6INIT=yes
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
HWADDR=00:30:48:33:bc:33
IPADDR=202.54.1.5
GATEWAY=202.54.1.3
NETMASK=255.255.255.248
IPV6INIT=yes
IPV6ADDR=**IPV6 IP Address**
IPV6_DEFAULTGW=
2602:ffd5:1:100::1

Step3:

service network restart 

 

 

  • 148 Users Found This Useful
Was this answer helpful?

Related Articles

How to enable Two- factor Authentication for client area

What is Two-factor Authentication? Two-factor authentication adds an additional layer of...

Powered by WHMCompleteSolution