telnet: connect to address 192.168.15.3: No route to host
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.
telnet: connect to address 192.168.15.3: No route to host
hi fellas im a new member of this group . i m developing a socket programme . my one machine1 ip = 192.168.15.3 when send a string to machine2 ip = 192.168.15.2. the prg works fine but when i do this from machine2 to machine1 this doesnot work.
I pinged each other its fine but when i tried to telnet for 192.168.15.2 to 192.168.15.3 i got this error
telnet: connect to address 192.168.15.3: No route to host
my iptables is empty n SElinux is also disabled i dont understand the prb kindly help me out
nothing happened with additions on /etc/hosts still the same error
This ping fails with the /etc/hosts table updated? Does it pick up the correct IP address when you run the ping? If not, there is something severely wrong in your TCP/IP stack.
Check out the firewall settings, I had problems similar to that and although I added rules to iptables it still didn't work because the firewall settings did have the trusted service selected.
System -> Administration -> Security Level and Firewall
Then under trusted services select telnet and whatever else you wish to use.
No route to host ... means that the workstation thinks it cannot get there.
Well deduced. It may be helpful to check the arp cache of each machine after pinging from both sides ('arp -a'), and using tcpdump (or wireshark, if you like GUIs) when initiating a ping - you should see an arp request ('who-has IPADDRESS') and then a reply, if the mac isn't already in the cache.
It is also possible there is something odd with the switch between the machines. If it is manageable you could check the mac-address table on it, too.
@ chris2430 : thanks ,in fact everyone for responding to my prb. It has worked the firewall settings for TCP was not in trusted side on the receiving end .
soon will be coming with others
ThankU all.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.