Netplan configuration examples

Below are a collection of example netplan configurations for common scenarios. If you see a scenario missing or have one to contribute, please send me an email. Thank you!

network:
  version: 2
  ethernets:
    eth0:
      dhcp4: true
    eth1:
      dhcp4: true
      dhcp4-overrides:
        use-routes: no