1748139 Members
4023 Online
108758 Solutions
New Discussion юеВ

No route to host

 
Nath_3
Frequent Advisor

No route to host

Hi All,

In linux,

[root@ccixapp-nprd1-213 ~]# ssh ccixapp-nprd1-211
ssh: connect to host ccixapp-nprd1-211 port 22: No route to host

I have checked the sshd it running ,22 port is open. I am able to ping the server. Still i am unable to do an ssh.

Any suggestions/ help?

Thanks
Ravi
7 REPLIES 7
Matti_Kurkela
Honored Contributor

Re: No route to host

More facts please.

Exactly which server are you able to ping and _from where_?

Are these two hosts in the same network segment? If not, have you forgotten to define a gateway?

Can you post the network configuration settings of both ccixapp-nprd1-213 and -211? The outputs of "ifconfig" and "route -n" commands would be very useful in solving this problem.

Is there a network firewall somewhere? Or is your server configured with an iptables filter?

A firewall or an iptables filter can certainly be configured to send a false "no route to host" response to some non-approved connection attempts. A more common strategy would be to make the firewall/filter just eat the non-approved packets and not send anything back.

MK
MK
Hakki Aydin Ucar
Honored Contributor

Re: No route to host

Yes , there are lots of thing to check. Additionaly, you can check trace:

traceroute ccixapp-nprd1-211
Nuwan Alwis
Valued Contributor

Re: No route to host

Hi Nath,
If you can ping to this system there is no problem in routing.
This seems like pure firewall issues.
check if any reply from remote system port 22
when you telnet.
dont forget to check your selinux policies also.

Good Luck...!
NJ
cedrichiu
Frequent Advisor

Re: No route to host

hi,

Try to do traceroute to ccixapp-nprd1-211 and print us the result

Maybe there is firewall blocking in between or server routing server might need to include the end server ip range.

Good luck!
Nath_3
Frequent Advisor

Re: No route to host

Its in protected n/w and There is some ACl issue.

Thanks for the replies.
Nath_3
Frequent Advisor

Re: No route to host

close
Hakki Aydin Ucar
Honored Contributor

Re: No route to host