Problem:
After migrating Ubuntu server VM from 24.10 to 25.04 (Incus VM) there is no network connection anymore.
Solution:
List all the network interfaces and see who is DOWN with:
ip link show
(in my case “enp5s0” is DOWN)
Then edit this file:
nano /etc/netplan/00-installer-config.yaml
and change the network interface name to the new name (in my case “ens3” to “enp5s0”)
Reboot and network will work again.