Struggling Newbie with ZFSBootMenu getting network in fresh Ubuntu install

I hit this issue recently. First the short version:

Run ip a to find your network devices:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute 
       valid_lft forever preferred_lft forever
  • lo is the local loopback interface.
  • The one starting with e (enp1s0 in the example) is the ethernet interface
  • If you have one starting with w it is probably wifi.

(Not cast iron rules, but right 99% of the time in my experience)

Create a file - /etc/netplan/99_default_network.yaml with the content below - adjusting it to name the network device you have found from the ip a output:

  version: 2
  renderer: networkd
      dhcp4: true

Then run

netplan apply

And you should be on the network. With the above file, the network will come up when the machine runs.

For more on netplan, the ubuntu server network docs are decent.