Configuring IPv6 with netplan on OVH Public Cloud

# This file is generated from information provided by
# the datasource.  Changes to it will not persist across an instance.
# 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:
    version: 2
    ethernets:
        ens3:
            dhcp4: true
            addresses:
                    - YOUR:IPv6:ADDRESS/64
            gateway6: YOUR:IPv6:Gateway
            match:
                macaddress: MAC:ADDRESS:OF:YOUR:INSTANCE
            set-name: ens3

Then run

netplan apply

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.