Installed 20.04LTS Desktop on Hyper-V, after install there is no network connectivity, host network is ipv4 only network with dhcp, no other VM (or physical) has any issues. This is how it is immediately after install and updates.
/etc/netplan/01-network-manager-all.yaml only constains 3 lines: network: version: 2 renderer: NetworkManager Nothing else. After manually adding: ethernets: eth0: addresses: [ 192.168.0.20/24 ] gateway4: 192.168.0.1 nameservers: addresses: [192.168.0.1, 1.1.1.1, 1.0.0.1] there is connectivity. But now DNS doesn't work (plenty of topics this around internet without a definite resolution), quick fix is to: sudo echo nameserver 192.168.0.1 > /etc/resolv.conf unfortunately i've no idea of a more permanent fix, this must be done after every boot. -- 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