IPv6 gets disabled after Debian server reboot: Missing required configuration variables for interface eth0/inet6

Created:

2017-05-02 12:08:46 UTC

Modified:

2017-08-08 13:28:21 UTC

0

Was this article helpful?


Have more questions?

Submit a request

IPv6 gets disabled after Debian server reboot: Missing required configuration variables for interface eth0/inet6

Applicable to:

  • Plesk Onyx

Symptoms

IPv6 addresses added via Plesk get disabled after Debian server reboot.

The following can be found in /var/log/syslog:

networking[291]: Configuring network interfaces...Missing required variable: address  
.....
networking[291]: Missing required configuration variables for interface eth0/inet6.  
..... 
networking[291]: Failed to bring up eth0.  
networking[291]: done.

 The following differences can be seen in /etc/networking/interfaces between the addresses add via OS and via Plesk:

 up /sbin/ifconfig eth0 inet6 add 2001:db8:f61:a1ff:0:0:0:80/128  <----- added via Plesk
address 2001:db8:f61:a1ff:0:0:0:81       <------ added manually
netmask 64 <------ added manually
gateway 2001:db8:f61:a1ff:0:0:0:82    <------ added manually

 

Cause

While adding an IPv6 address in /etc/network/interfaces on Debian, ifmng utility doesn't add necessary address and netmask.

This is Plesk bug with ID #PPPM-6181 which will be fixed in future Plesk updates.

Resolution

As a workaround, IPv6 can be enabled manually via the following commands:

# echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6

# echo 0 > /proc/sys/net/ipv6/conf/default/disable_ipv6

Have more questions? Submit a request
Please sign in to leave a comment.