Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 489
  • Last Modified:

Ping Request/Reply

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
jskfan
Asked:
jskfan
  • 6
  • 3
  • 3
  • +2
4 Solutions
 
ashunnagCommented:
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
 
Ernie BeekExpertCommented:
I think we're talking wireshark here (http://www.wireshark.org/). Should be the easiest way to monitor this.
0
 
Ernie BeekExpertCommented:
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
Industry Leaders: 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!

 
vk3kjcCommented:
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
 
aamodtCommented:
Use wireshark on the destination host. the easiest way. or just go to the destination and accept ICMP replays :)
0
 
jskfanAuthor Commented:
so wireshark will help only when the destination host is a computer?

0
 
Ernie BeekExpertCommented:
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
 
vk3kjcCommented:
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
 
Ernie BeekExpertCommented:
@vk3kjc: I beg to differ on that, see my previous post.
0
 
vk3kjcCommented:
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
 
jskfanAuthor Commented:
That's new to me this word "MIRROR".
is this used by wireshark ??

If I remember this word is used in SPAN & RSPAN










0
 
Ernie BeekExpertCommented:
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
 
jskfanAuthor Commented:
Thanks
0
 
Ernie BeekExpertCommented:
You're welcome, thx for the points :)
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 6
  • 3
  • 3
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now