VMware Cloud Community
jmberoud
Contributor
Contributor

VCSA 6.5: IPv6 settings lost after reboot. Know bug?

Hello,

I can configure a VCSA 6.5 with dual IPv4+IPV6 stack.

When I  reboot the appliance, the IPV6 settings are lost.

I still can see the adresses in /etc/systemd/network/10-eth0.network

but a 'systemctl restart systemd-networkd.service' does not change anything

Known bug?

Cheers Jean-Marc

0 Kudos
3 Replies
BrianCunnie
Enthusiast
Enthusiast

Comment out this line in /etc/sysctl.conf & reboot — you should have IPv6

net.ipv6.conf.eth0.disable_ipv6=1

See this link for more: Is IPv6 broken in vSphere 6.5?

0 Kudos
coza
Contributor
Contributor

I have just installed the current latest version 6.5.0-8024368 and it still looses ipv6 settings on reboot.     That line "net.ipv6.conf.eth0.disable_ipv6=1" no longer exists in the /etc/sysctl.conf file.

0 Kudos
BrianCunnie
Enthusiast
Enthusiast

On VCSA 6.7, ssh into your VCSA and run the following commands after you've configured both the IPv4 and IPv6 addresses; after the VCSA reboots both interfaces should be working properly:

cp /etc/sysctl.d/99-sysctl.conf{,-orig} # backup file just in case
sed -i s/disable_ipv6=1/disable_ipv6=0/ /etc/sysctl.d/99-sysctl.conf
shutdown -r now

0 Kudos