Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-01-2012, 09:24 PM
|
#1
|
|
Member
Registered: Sep 2009
Posts: 81
Rep:
|
cannot connect to centos from ubuntu
I am using ubuntu10.10 for sometime and few months back I did setup another linux machine with Cenots5. I used to connect to the Centos5 machine from my ubuntu via ssh and used to transfer files using scp.
Recently I upgraded the Centos5 machine with centos6.3.
Now that I did all the setting as before in the Centos6.3 machine and tried to ssh from Centos to Ubunut, but it fails to connect.
I get message as :
Quote:
|
ssh: connect to host 192.168.168.115 port 22: No route to host
|
Can anyone help to solve this issue?
Thanks in advance.
Vijay
|
|
|
|
08-01-2012, 09:42 PM
|
#2
|
|
Guru
Registered: Sep 2003
Location: Danville, VA Approx. N 36°36.434' W 79°24.342' Accur. 100' or so.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,245
Rep: 
|
Hi vjramana, Are both machines on the same network, how are they connected? What do the firewalls look like on both machines?
Good luck. ;-)
|
|
|
|
08-01-2012, 09:42 PM
|
#3
|
|
Senior Member
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 3,604
|
Hi,
Are there any other network problems? For example is the network on the centos box really up?
Also are you sure that is the correct IP address? If yes, what is the output
Code:
traceroute 192.128.168.115
when run from the Ubuntu machine?
Evo2.
|
|
|
|
08-01-2012, 10:08 PM
|
#4
|
|
Member
Registered: Sep 2009
Posts: 81
Original Poster
Rep:
|
Quote:
Originally Posted by Peacedog
Hi vjramana, Are both machines on the same network, how are they connected? What do the firewalls look like on both machines?
Good luck. ;-)
|
Yea both machines are in the same network. Previously there were no problem at all.
We use IPCOP router.
|
|
|
|
08-01-2012, 10:10 PM
|
#5
|
|
Member
Registered: Sep 2009
Posts: 81
Original Poster
Rep:
|
Quote:
Originally Posted by evo2
Hi,
Are there any other network problems? For example is the network on the centos box really up?
Also are you sure that is the correct IP address? If yes, what is the output
Code:
traceroute 192.128.168.115
when run from the Ubuntu machine?
Evo2.
|
There is no problem in network. The network in centos is up and run. From centos I can access internet.
my ubunt machine dont have traceroute package. When I tried to install, it says error because mine is version 10.10.
|
|
|
|
08-01-2012, 10:42 PM
|
#6
|
|
Senior Member
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 3,604
|
Hi,
Quote:
Originally Posted by vjramana
There is no problem in network. The network in centos is up and run. From centos I can access internet.
|
Ok, so it looks to be a problem with your internal network.
Quote:
|
my ubunt machine dont have traceroute package. When I tried to install, it says error because mine is version 10.10.
|
Sorry, without the exact error message I can't easily help you install it. So, what is the output of
Code:
sudo apt-get install traceroute
In the mean time can you at least try to ping from the Ubuntu machine. Eg
Code:
ping 192.128.168.115
Also you did not say if you confirmed that the IP address is correct.
Evo2.
|
|
|
|
08-01-2012, 11:01 PM
|
#7
|
|
Senior Member
Registered: May 2005
Location: boston, usa
Distribution: fc-12/ fc-11-live-usb/ aix
Posts: 2,673
|
|
|
|
|
08-01-2012, 11:16 PM
|
#8
|
|
Senior Member
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 3,604
|
Quote:
Originally Posted by schneidz
|
Yeah... but the OP is getting "No route to host", not "connection refused". This why I've now explicitly asked twice for the IP address to be confirmed...
It is usually better (IMHO) to gather information to try to understand the problem instead randomly trying different things to fix a problem.
Evo2.
|
|
|
|
08-02-2012, 10:30 AM
|
#9
|
|
Senior Member
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 1,662
|
Can the CentOS machine ssh to itself at that IP address? What about to 127.0.0.1?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:10 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|