Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
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.
-
Without more information regarding your network setup, the issue you were having, and the fix you found, it's impossible to answer your question.
-
@ethernetzero this happened with every IP outside of that Network, not only 8.8.8.8
@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.
Thanks -
@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.
I have a Server with the IP address
x.x.233.61
For clarification, this is the public IP, it does not start with 192 or 172 or whatever local IP.
When I pinged 8.8.8.8 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 8.8.8.8 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?
question