Wireshark is used to capture and inspect live network traffic at the bit level, demonstrating how ARP requests work to resolve IP addresses to MAC addresses on a local network.
Wireshark Network Analysis
So what's with these bits? Let's actually take a look at some of it. I have Wireshark. Wireshark is what allows us to see what is actually being sent through these network cards. I've got a list of the network cards that are available to me. I'm going to choose the Ethernet one. This is connected to a switch, and there's really nothing else that's connected to this switch.
The first thing that we see is that it's capturing some of the data that's going through here, and a lot of it's coming from the switch itself, so we don't really need to be too concerned with it. We're going to learn more about some of these discovery protocols and some of the spanning tree protocols later in future classes, but for now just realize it's capturing the data.
I want to generate some data that's going to go out from this Ethernet card. So I'm going to pull up a command prompt, and within the command prompt I'm going to see what network I'm on. I have a static IP address assigned to this network interface card, which is 192.168.74.12. I need to ping something on this network, and once again there's nothing really on this network to ping. Let's do 45. That's going to send some data out this Ethernet. What it's actually doing is it's trying to discover this device out there and figure out what MAC address belongs to this IP address. It's called the ARP request.
I'm going to stop the capture here. I can scroll through here and I'm going to look for those ARP requests. I click on it and I can see that it is an ARP request. It shows me that right here, and so it's asking who is this. It's trying to discover a MAC address, and it is coming from 192.168.74.12. So it's saying, hey, who is this? I want you to tell me, which is 192.168.174.12, what your MAC address is.
When we click on these different frames that have gone out, these packets slash frames that have gone out this network card, it's going to show the details down below in these bottom two frames. The middle frame right here shows us details. For instance, I'll scroll up. We see that this is a broadcast address, and we see that it's a broadcast address because it's all Fs.
I can click on here and it's actually going to show me what part of the frame down here. There's two different frames here. In the frame of Wireshark, it's going to show me the part of the frame or packet that was sent out this network card. So I can see that it's all Fs.
And you may say, "Oh, wait a minute. Now where's the bits?" Well, it's showing us this in hexadecimal form. So I actually want to see this in bits form, so we can actually see what bits went out there. So I'm going to right-click on this bottom frame and say "as bits". And now I can actually see all of the bits. And if you're familiar with hexadecimal, you'll notice that each F turned into four ones. And so here, the broadcast, it's all ones across there. I can see the actual bits that went across this.
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →