Last Updated: 29-01-2026
There's an identified technical bug on existing VirtFusion-based systems at C-Servers prior to 29-01-2026, where cloud-init incorrectly deploys IPv6 on Netplan's routing configuration, upon installation of any Ubuntu operating system (18.04, 20.04, 22.04 or 24.04). Common symptoms are very high packet loss (90%+) or entirely non-existent IPv6 connectivity, exclusively on Ubuntu-based systems, with IPv4 still working correctly.
This is due to a deprecation of the "gateway" parameter on Ubuntu, previously used by cloud-init, and replacement with the "routes" parameter. This parameter, specific to Ubuntu only, has incorrect Router Advertising (RA) parameters, with a very long IPv6 address which is used for... nothing.
After talking to VirtFusion's support, we now have a way of fixing this issue: making Ubuntu not accept RA.
There is a fix for this issue - and it's simple
The fix we will provide works for all Ubuntu versions we provide, starting from 18.04 up to 24.04 LTS.
However, this fix works by default in many cases on Ubuntu 24.04 LTS simply with the existing preconfiguration we attempted, meaning that, if you wish to use Ubuntu 24.04 LTS, a reinstall could be the only thing necessary to get IPv6 working again. Regardless of that working or not, we'll still provide below what are the necessary configurations to get IPv6 working again for all versions of Ubuntu.
For Ubuntu 20.04 LTS, 22.04 LTS and 24.04 LTS
sudo systemctl restart systemd-networkdip -6 addrsudo nano 99-usr-conf.yamlnetwork: version: 2 ethernets: enp3s0: accept-ra: falsesudo systemctl restart systemd-networkdAnd you can confirm you no longer have that long IPv6 address, by doing the "ip" command:
ip -6 addr
Lastly, you can confirm you now have proper IPv6 connectivity by doing the "ping" command:
ping google.com
It will default to IPv6 and it will now work correctly. This change is also persistent accross restarts.
For Ubuntu 18.04 LTS x86
Specific for Ubuntu 18.04 LTS, the instructions are slightly different. While the fix is implemented on the system, it is not assumed automatically by default upon install, but the default interface is correct by default (ens3), so changing it does not resolve the IPv6 issue.
What needs to be done is to:
1. Reinstall the Ubuntu 18.04 LTS on your system, regardless of the present status of the system;
2. After logging in and everything's complete, simply run the following command:sudo systemctl restart systemd-networkd
And you will immediately gain IPv6 connectivity, which will be persistent accross restarts as well.
This was tested successfully on all versions of Ubuntu.