Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Ping Request/Reply

Posted on 2011-09-05
14
Medium Priority
?
487 Views
Last Modified: 2012-05-12
when pinging from one host to another , how do I know that the ping packets are reaching the destination host but the reply ping packets are not sent back by the destination host?

Thanks
0
Comment
Question by:jskfan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 3
  • 3
  • +2
14 Comments
 
LVL 6

Accepted Solution

by:
ashunnag earned 628 total points
ID: 36483670
use (tracert) command to investigate, no such way to know the packet is reaching the destination except sniffing the packet in the destination host network and analyse.
0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 36483716
I think we're talking wireshark here (http://www.wireshark.org/). Should be the easiest way to monitor this.
0
 
LVL 35

Assisted Solution

by:Ernie Beek
Ernie Beek earned 628 total points
ID: 36483732
Btw, by destination host you mean the router from your previous question?

You should be able to see something in the logging as well (when set to informational or debugging).
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 3

Assisted Solution

by:vk3kjc
vk3kjc earned 624 total points
ID: 36483790
The only way to know for certain is to monitor the packets coming and going out of the destination device. While Wireshark and other similar software can determine that the ping packet was sent it cannot be certain that the packets were actually received by the destination.

If the destination is a PC or server then running Wireshark or something similar on that machine will show whether the packets are actually received and whether a corresponding reply packet was sent.

If as suggested the destination device is a router then it depends whether it is possible to log into the device and monitor incoming and outgoing packets.
0
 
LVL 7

Assisted Solution

by:aamodt
aamodt earned 120 total points
ID: 36484210
Use wireshark on the destination host. the easiest way. or just go to the destination and accept ICMP replays :)
0
 

Author Comment

by:jskfan
ID: 36484554
so wireshark will help only when the destination host is a computer?

0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 36484594
Nope, if you can put a machine on a spare port on the router or on the switch the router is connected to, you can 'mirror' that port and watch all the traffic to/from the router.
0
 
LVL 3

Expert Comment

by:vk3kjc
ID: 36484596
Yes. When Wireshark is run on the destination computer you will see the ping if it is received - and you will see if a reply is sent.

If the destination is not a computer then you need to set an appropriate logging level and look for evidence of the ping being received.
0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 36484647
@vk3kjc: I beg to differ on that, see my previous post.
0
 
LVL 3

Expert Comment

by:vk3kjc
ID: 36488107
We know nothing about the hardware at the destination end. If it supports port mirroring, or is on a switch that supports port mirroring, then your solution would work. It the device, or a switch connected to it, is not a switch that supports port mirroring then we are back to enabling monitoring on the device itself.
0
 

Author Comment

by:jskfan
ID: 36488969
That's new to me this word "MIRROR".
is this used by wireshark ??

If I remember this word is used in SPAN & RSPAN










0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 36488984
You're right. That's a matter of terminology. With SPAN (or RSPAN) you create a mirrored port, that's all there is to it :)
0
 

Author Closing Comment

by:jskfan
ID: 36500889
Thanks
0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 36501015
You're welcome, thx for the points :)
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question