I’ve been having this issue very sporadically (sometimes a couple times a week, sometimes once a month). I’m curious as to how the more veteran folk here would try and narrow down the cause of this issue.

I can provide more info if needed!

Edit: More Info:

  • Using a static IP (no DHCP) through Netplan.
  • @[email protected]
    link
    fedilink
    English
    21 year ago

    Are you able to access the server’s Linux shell via KVM or out-of-band management during the Internet outage? If so, I would first check the kernel log for any errors. I’d then follow up with a PING to the local gateway within the same IP subnet to validate Ethernet connectivity. After that I’d start performing PINGs and traceroutes to subnets beyond the local gateway to see what’s going on with tcpdump capturing all interface traffic in the background.

    • @[email protected]OP
      link
      fedilink
      English
      21 year ago

      I am able to access the Linux shell locally or on the local area network. From within I can ping the gateway, but nothing beyond that.

      Is there a tracert equivalent for Ubuntu?

      I will say I get this error when trying to ping www.google.com:

      ping: unknown host

      • @[email protected]
        link
        fedilink
        English
        21 year ago

        The tracert equivalent that I use would be traceroute or mtr. If you can get a response from the gateway and access the server locally, it would indicate an IP routing issue as local subnet traffic is working.

        Instead of pinging a domain name, what happens if you ping a public IP like Google DNS (8.8.8.8)? The error you’re seeing could be related to a DNS resolution issue although that should not affect access to your server.

        • @[email protected]OP
          link
          fedilink
          English
          2
          edit-2
          1 year ago

          Ill try that next time it hiccups. I was thinking I should have pinged an IP address after I was pasting the unknown host error 🙃.

          In further hindsight I shouldn’t have restarted the server so I could try the things during our conversation. 🙁