That netplan config looks correct. Basically it just hands off to NetworkManager.
Are you sure the DHCP is passed through to your VM? NetworkManager would normally setup a DHCP connection for you – if available. IMHO there is something wrong with the network setup on your host about passing through the DHCP. With your updated netplan config you specify a static network configuration (no DHCP), which is apparently working. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881832 Title: Ubuntu server 20.04 fails to get IP address from DHCP server (no network connectivity) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1881832/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs