2

Is there any way I can capture the router IP or MAC addresses along the path of a ping packet using Wireshark tool?

5
  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you could provide and accept your own answer. – Ron Maupin Aug 15 '17 at 2:22
  • @RonMaupin No I haven't been able to find a satisfactory answer sir. Still searching. – Danis Fermi Aug 15 '17 at 18:10
  • You may not like the answer, but you simply can't is the correct answer. – Ron Maupin Aug 15 '17 at 18:19
  • Oh then if you could post that answer I can accept that as the answer sir. – Danis Fermi Aug 16 '17 at 1:20
  • That's really what my answer says, especially, the last sentence, "The addresses of the devices in the path are not captured along the way." – Ron Maupin Aug 16 '17 at 1:39
2

You can only capture addresses in the headers of the network stack:

  • Layer-2 source and destination addresses. The source address will be the address of the host on your LAN which originated the frame in your LAN. The destination address will be your address. Layer-2 addresses, e.g. MAC addresses, are only relevant or seen in the LAN where the hosts are.
  • Layer-3 source and destination addresses. The source address will be the address of the host which originated the packet (or the address of a NAT device for the originating host). The destination address will be your address.
  • Layer-4 source and destination addresses. The source address will be the port used by the originating host (or the port used by the NAT device of the originating host). The destination address will be the port on your host.

The addresses of the devices in the path are not captured along the way.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.