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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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?
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".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.