I have a Server with the IP address
For clarification, this is the public IP, it does not start with 192 or 172 or whatever local IP.

When I pinged it said
From x.x.1.1: Destination Net Unreachable

After asking my Hoster what this IP address was, he said it would be the router.

In a traceroute to this IP never appears.

Since these ping problems are now fixed, this IP never appears anywhere. If it really is the Server racks router, is there any way to get that IP in Linux?

  • 5
    Your server is missing a network route that leads to the Google DNS IP. Usually, that network route is the default gateway of the Internet connection of your server, which leads to whatever IP that's not in your local network.
  • 1
    Without more information regarding your network setup, the issue you were having, and the fix you found, it's impossible to answer your question.
  • 0
    @ethernetzero this happened with every IP outside of that Network, not only

    @Gogeta70 i didn't find a fix. I was just wondering how this IP appears. Guess I have to try some stuff out by myself.

  • 0
    @EaZyCode As I said, that's exactly what the default gateway is for. When your system has to reach an IP that's outside of your local network range and you don't have any other static network routes that might lead to them, it'll just go to the default gateway.

    Your system doesn't have one. That's why you get that error about not being able to reach the network. Your system doesn't know how to reach any other network that's not your own local one, so you need to tell it the default gateway, which is usually the address of the router where your server is connected. It's not clear if your server is at your own home or if it's in a datacenter. In the second case, your datacenter should provide you with that information.
Your Job Suck?
Get a Better Job
Add Comment