December 11, 2017, 09:12:15 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: No route to host  (Read 3362 times)

Offline chuikingman

  • Linux Noob !
  • *
  • Posts: 6
No route to host
« on: August 21, 2009, 06:44:11 AM »
I use telnet and ssh to 192.168.75.1
But there is error .
the IP address of linux server is 10.155.25.22=tstgcota
Why ???

[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]#

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Re: No route to host
« Reply #1 on: August 22, 2009, 07:18:36 PM »
Temporary solution can by adding alias to your eth0, add another IP in your eth0 as :
10.155.25.10

Code: [Select]
/sbin/ifconfig eth0:0 10.155.25.10
« Last Edit: August 22, 2009, 07:21:19 PM by Ricky »