Start job is running for wait for network to be configured. Ubuntu server 18.04

Notes:

  • Undo your previous fixes. Return them to the original state.

  • You may be having a problem obtaining IPv4 addresses.

  • In setting up your VM, you set "Adapter 1 to NAT, Adapter 2 to Host-Only", and I'm not sure that's 100% correct... However, if you're getting the correct IP addresses then it's probably OK.


Try this in your /etc/netplan/50-cloud-init.yaml...

network:
  version: 2
  renderer: networkd
  ethernets:
    enp0s3:
      dhcp4: true
      dhcp6: false
      optional: true
    enp0s8:
      dhcp4: true
      dhcp6: false
      optional: true

In the terminal, run the following...

  • sudo netplan --debug generate

  • sudo netplan apply

  • reboot