LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-21-2009, 01:36 AM   #1
chuikingman
Member
 
Registered: Aug 2009
Posts: 91

Rep: Reputation: 16
Smile No route to host


Hi,
I use linux.
I have below error , no route to host
[root@TSTgcota sbin]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.75.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.155.24.0 0.0.0.0 255.255.252.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 10.155.24.1 0.0.0.0 UG 0 0 0 eth0
[root@TSTgcota sbin]# telnet 192.168.75.1
Trying 192.168.75.1...
telnet: connect to address 192.168.75.1: No route to host
telnet: Unable to connect to remote host: No route to host
[root@TSTgcota sbin]# ssh 192.168.75.1
ssh: connect to host 192.168.75.1 port 22: No route to host
[root@TSTgcota sbin]#


Why ?? the linux server have ip address 10.155.25.22=TSTgcota.
 
Old 08-21-2009, 02:17 AM   #2
nelreth
LQ Newbie
 
Registered: Aug 2009
Posts: 1

Rep: Reputation: 0
Hi

Do You have eth0 up ?
Show the output of this commands
ip a s
ip r s

Regards
 
Old 08-21-2009, 02:55 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Also check the cable at the interface and on the switch. Make sure that the target is up as well. Do you have the 10.168.70.0 and 192.168.75.1 networks on the same network segment, or is eth0 for both a mistake?

Last edited by jschiwal; 08-21-2009 at 02:56 AM.
 
Old 08-21-2009, 09:17 PM   #4
chuikingman
Member
 
Registered: Aug 2009
Posts: 91

Original Poster
Rep: Reputation: 16
Smile No route to host

Quote:
Originally Posted by nelreth View Post
Hi

Do You have eth0 up ?
Show the output of this commands
ip a s
ip r s

Regards
Hi,
eth0 is up
 
Old 08-27-2009, 08:43 AM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
What is the IP address of eth0. You have routes to different networks without gateways. Does it have virtual IP addresses?
Please post the output of "ifconfig".
 
Old 08-27-2009, 08:49 AM   #6
evilted
Member
 
Registered: Aug 2009
Location: Ouagadougou, Burkina Faso
Distribution: centos
Posts: 92

Rep: Reputation: 18
does 192.168.75.1 ping?
is telnet or ssh installed (and not blocking you) at 192.168.75.1??
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No Route To Host manoj.linux Linux - Enterprise 1 10-25-2007 01:49 PM
no route to host vito_huang Linux - Newbie 6 06-14-2005 09:10 AM
no route to host PenguinHead Linux - Networking 9 02-02-2005 02:03 PM
no route to host php *BSD 2 11-10-2004 02:05 PM
No route to host senzoga Linux - Networking 1 07-14-2004 06:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration