Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
just think two system 10.255.240.230 and 10.255.240.102 are in network.
i can connect system 10.255.240.230 to system 10.255.240.102.
but i can not connect system B to system A but i can ping a system.
[root@localhost root]# ssh 10.255.240.230
ssh: connect to host 10.255.240.230 port 22: no route to host.
[root@localhost root]# ping 10.255.240.230
PING 10.255.240.230 (10.255.240.230) 56(84) bytes of data.
64 bytes from 10.255.240.230: icmp_seq=1 ttl=64 time=0.504 ms
64 bytes from 10.255.240.230: icmp_seq=2 ttl=64 time=0.500 ms
64 bytes from 10.255.240.230: icmp_seq=3 ttl=64 time=0.497 ms
64 bytes from 10.255.240.230: icmp_seq=4 ttl=64 time=0.494 ms
64 bytes from 10.255.240.230: icmp_seq=5 ttl=64 time=0.498 ms
see i can connect an other system too. so it means sshd running on both the machines.and this is not only the case. ftp telnet samba NFS are not working.
so obviously there is a problem in internaly.
That netmask covers 10.255.240.0 - 10.255.255.255 - a large subnet but if you've configured ALL your equipment to use that netmask, it shouldn't be a problem.
What is the output of /sbin/route on machine 10.255.240.102? It is very strange that this machine can ping 10.255.240.230 but ssh reports no route to that host.
Try this and then check if ssh works:
route del -net 192.168.1.0 netmask 255.255.255.0 eth0
route del -net 10.255.240.0 netmask 255.255.240.0 eth0
If you have some reason for the 192.168.1.0 routing entry, you can probably put it back in (I *think* it won't cause problems) but the 10.255.240.0 entry is certainly redundant given your default route.
route add -net 192.168.1.0 netmask 255.255.255.0 eth0
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.