LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-10-2014, 07:25 PM   #1
kwatts59
Member
 
Registered: Aug 2012
Posts: 34

Rep: Reputation: Disabled
Reply from <ip address>: Destination host unreachable.


When I try to ping my server (131.216.46.60) from the dos command prompt I get "destination host unreachable". But when I ping my other server (131.216.46.121) it works fine. Below are the messages:

Code:
C:\Users\Ken>ping 131.216.46.60
Pinging 131.216.46.60 with 32 bytes of data:
Reply from 131.216.46.66: Destination host unreachable.
Reply from 131.216.46.66: Destination host unreachable.
Reply from 131.216.46.66: Destination host unreachable.
Reply from 131.216.46.66: Destination host unreachable.
Ping statistics for 131.216.46.60:
  Packets sent = 4, Received = 4, Lost = 0 (0% loss),

C:\Users\Ken>ping 131.216.46.121
Pinging 131.216.46.121 with 32 bytes of data:
Reply from 131.216.46.121: bytes=32 time=2ms TTL=64
Reply from 131.216.46.121: bytes=32 time<1ms TTL=64
Reply from 131.216.46.121: bytes=32 time<1ms TTL=64
Reply from 131.216.46.121: bytes=32 time<1ms TTL=64
Ping statistics for 131.216.46.121:
  Packets sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
  Minimum = 0ms, maximum = 2ms, Average = 0ms
I also cannot access 131.216.46.60 from my PC via Navicat or my terminal software. It was working fine earlier today but I disconnected my Dlink DES-1005E switch to test a printer problem. 131.216.46.60 and my PC are connected to this switch but 131.216.46.121 is not. I can access the internet from my PC, but I cannot access the internet from the 131.216.46.60 console.
Any advice on how to get this server to respond would be great.
 
Old 06-10-2014, 08:48 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,622
Blog Entries: 28

Rep: Reputation: 6231Reputation: 6231Reputation: 6231Reputation: 6231Reputation: 6231Reputation: 6231Reputation: 6231Reputation: 6231Reputation: 6231Reputation: 6231Reputation: 6231
I duplicated the problem from here.

Is it physically possible to swap the cables between 131.216.46.121 and 131.216.46.60? That would be the quickest way to determine whether the issue lies in 131.216.46.60 or between it and the gateway. In a situation such as this, testing the hardware first can be very helpful, as no amount of software troubleshooting can fix a broken component.

Not knowing the geography of your system, it's difficult to speak other than generally, but here are some ideas:

Rule out the uplink from the switch by hooking a computer directly to it long enough to test from there. If the uplink is good, then

Rule out the switch by swapping it in place with a known-good switch, if the switch is good, then

Rule out the cabling from 131.216.46.60 to the switch replacing it with a known-good stretch of cable long enough to test the connection. (And so on.)

If all the components from the computer to the gateway test as valid, check the ethernet card in the computer.

Last edited by frankbell; 06-10-2014 at 08:49 PM.
 
Old 06-10-2014, 09:46 PM   #3
kwatts59
Member
 
Registered: Aug 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
Thank you for your quick response. An excellent suggestion frankbell.

My Dlink DES-1005E switch has 5 ports on it. The configuration is as follows:
port 1 is connected to a wire that goes into the wall
port 2 is empty
port 3 is connected to the server 131.216.46.60
port 4 is connected to a printer that I can't get working but that's a different matter
port 5 is connected to my PC

I swapped the wires going into port 3 and port 5.
When I ping from my PC, the results are the same.
I can ping 131.216.46.121 but I cannot ping 131.216.46.60 and I still can access the internet from my PC.
I did some additional swapping and no matter how I swap the wires, there is no change.
This rules out a problem with the ports.

The server 131.216.46.121 is in another room. I am not able to switch the wire with my other server right now.
Is there anything else I can try?
 
Old 06-10-2014, 09:51 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,144

Rep: Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640
Find out why .60 doesn't seem to be connected to anything. The place to start is the switch area.
 
Old 06-11-2014, 02:19 PM   #5
kwatts59
Member
 
Registered: Aug 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
Problem resolved!

I typed the following command on the server and it resolved the problem

Code:
$ sudo dhclient -v eth2
Thanks all for your help.
 
Old 06-11-2014, 04:42 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,144

Rep: Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640
Good job, thanks for the update and solution.
 
Old 06-11-2014, 08:41 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,622
Blog Entries: 28

Rep: Reputation: 6231Reputation: 6231Reputation: 6231Reputation: 6231Reputation: 6231Reputation: 6231Reputation: 6231Reputation: 6231Reputation: 6231Reputation: 6231Reputation: 6231
Glad you're back up!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Ping to Honeyd virtual host replying Destination Host Unreachable Doejohn Linux - Networking 2 12-22-2023 11:43 AM
Network is Unreachable/Unknown host/Destination Host Unreachable [Debian] denv Linux - Networking 4 03-27-2014 03:58 PM
Destination host unreachable hanifn9 Ubuntu 8 03-24-2008 08:18 AM
destination host unreachable Santanu1963 Linux - Networking 7 03-09-2004 03:24 PM
destination host unreachable!!! katana Linux - General 7 07-20-2001 02:25 AM

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

All times are GMT -5. The time now is 08:02 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