LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   No Route to Host (https://www.linuxquestions.org/questions/linux-security-4/no-route-to-host-4175542287/)

Chetansingh 05-11-2015 01:48 PM

No Route to Host
 
I am getting the below error on my machine while doing a wget

[e7006@x1 ~]$ wget 10.53.6.135
--2015-05-08 16:34:23-- http://10.53.6.135/
Connecting to 10.53.6.135:80... failed: No route to host.

Do i need to add a route for this.

Current route details

[e7006@x1 ~]$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.53.16.0 * 255.255.255.0 U 0 0 0 eth0
10.53.124.0 * 255.255.255.0 U 0 0 0 eth1
156.55.8.0 10.53.124.1 255.255.252.0 UG 0 0 0 eth1
link-local * 255.255.0.0 U 1002 0 0 eth0
link-local * 255.255.0.0 U 1003 0 0 eth1
default 10.53.16.1 0.0.0.0 UG 0 0 0 eth0


there are two interface on this host
eth0 - 10.53.16.16
eth1 - 10.53.124.74

rtmistler 05-11-2015 02:21 PM

You have routes to the 10.53.16.x and 10.53.124.x networks. Either one of those has a router which can get you to the 10.53.6.x network, or they don't. And either 10.53.6.135 is a typo and you meant that to be 10.53.16.135.

Can you ping the address you wish to wget from?


All times are GMT -5. The time now is 01:26 PM.