Why does Wireshark show MAC addresses in the source\destination?

12,861

Solution 1

I'm assuming you're seeing something like this:

enter image description here

The Source and Destination addresses are always IP addresses. The difference is that they're IPv4 and IPv6 addresses.

You can actually see the involved MAC addresses for packets of either version by looking in the details pane:

enter image description here

Solution 2

a protocol operating at OSI layer 2 would not be able to use an IP address (Layer3), and would instead (on Ethernet type networks) address the frame via MAC address.

Share:
12,861

Related videos on Youtube

itayza88
Author by

itayza88

Updated on September 18, 2022

Comments

  • itayza88
    itayza88 over 1 year

    Every device on the my LAN should have IP's along with MAC addresses, and for most of the traffic Wireshark gets on me device, the source and destination columns shows IP addresses, but sometimes it shows MAC addresses. why is that?

    • itayza88
      itayza88 about 11 years
      (sorry for the syntax errors)
    • Oliver Salzburg
      Oliver Salzburg about 11 years
      I'm assuming those aren't MAC addresses, they're IPv6 addresses.
    • Admin
      Admin over 8 years
      I wouldn't assume that; as two answers indicate, sometimes the MAC addresses are the only source and destination addresses in the packet, and Wireshark will show them if you're showing "source address" and "destination address" columns, as opposed to "hardware" source or destination address columns that would always show the MAC address if available or "network" source or destination address columns that would show nothing of the network-layer address isn't available. MAC addresses have single octets with colons between them, like 00:01:02:03:04:05; IPv6 addresses look different.
    • Admin
      Admin over 8 years
      ...in particular, they have pairs of octets with colons between them, and may have empty fields between colons, such as fe80::503b:ab83:1113:... shown in one of the answers.