Question

ipv6 broken on Ubuntu 20.04

Posted October 20, 2021 149 views
IPv6

I noticed last night my IPv6 configuration is borken on my Ubuntu 20.04 machine. It used to work before, I guess (but don’t know) it broke during an update.

Any idea how to re-enable it?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hello there,

There could be a configuration problem. Looks like 50-cloud-init.yaml file using the same value for IPv6 address and IPv6 gateway. Could you please confirm whether you have updated the correct gateway for ipv6 and you will be able to find the ipv6 gateway on the droplet page of your DigitalOcean cloud panel?.
https://docs.digitalocean.com/products/networking/ipv6/how-to/enable/

Once you have fixed that you will have to reboot the droplet and then try to ping6 again.

I hope this helps but feel free to write back if you have any concerns.

  • This file exists on my machine, but it’s generated on every boot by “the datasource” according to a comment at the top. It’s very sparse anyway and doesn’t include neither and address nor a gateway.

    # This file is generated from information provided by the datasource.  Changes
    # to it will not persist across an instance reboot.  To disable cloud-init's
    # network configuration capabilities, write a file
    # /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
    # network: {config: disabled}
    network:
        ethernets:
            eth0:
                dhcp4: true
                match:
                    macaddress: xx:xx:x...
                set-name: eth0
        version: 2