====== IP Configuration: Netplan ======
Netplan is the default to configure on Ubuntu.
# 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:
ethernets:
eth0:
dhcp4: no
addresses:
- 192.168.25.40/24
- 2001:6b0:1234:1470::40/64
gateway4: 192.168.25.1
gateway6: 2001:6b0:1234:1470::1
version: 2
sudo netplan apply