Could not set DHCPv4 route: Nexthop has invalid gateway. Network is unreachable

I found adding "critical: true" in file: /etc/netplan/00-installer-config.yaml ensure that the interface did not regularly go down (seems like an issue with IONOS). The file should look like:

# This is the network config written by 'subiquity'
network:
  ethernets:
    ens192:
      dhcp4: true
      critical: true
  version: 2

then run:

$ sudo netplan generate
$ sudo netplan apply

this should help with any network dropouts.