In this video, we are going to learn how to configure and choose the correct network interface or interfaces
to capture the packets.
So open your Wireshark.
This is the welcome window of Wireshark.
It displays all the installed network interface cards.
Now, this list of interfaces is going to be different for everyone.
Most probably you are not going to see all these local area connections that I have here.
They are not real or physical network cards.
They are created by my portable modems and virtual machines.
Now there are minimum to real or physical network cards on each system.
Wireless card and Ethernet wireless card is represented by wi fi on Windows, and Ethernet is simply
represented by Ethernet on Linux.
The wireless card is represented by W LAN zero and Ethernet is represented by it o or and as a33.
Now to start capturing the packets, you have to select the network interface that you are using to
connect or access your network or Internet.
I am connected to my network through a wireless card, so I am going to select the wi fi.
As you can see, the wi fi interface has spikes, right?
These spikes indicate that this interface is sending and receiving packets.
It is active.
We also have spikes in the adapter for loopback traffic capture.
Right.
Basically, this is your local host.
It does not capture your network's traffic.
It just monitors traffic within your own system.
Again, I am connected to my network through wireless card, so I'm going to select the wi fi to start
capturing the packets.
So double click on wi fi or the appropriate interface that you are using to access your network.
So double click on the interface.
As you can see, there is Wireshark is capturing packets on wi fi right now.
Wireshark allows you to capture packets on multiple interfaces as well.
So let me close the current session.
Click on Red Button.
Now click on this close button to go back to Welcome Window, continue without saving.
Now press and hold the control button, then select the interfaces.
So I'm going to select wi fi and adapter for loop back capture.
When you select multiple interfaces, then to start capturing the packets, you have to click on the
first button in the main toolbar, click on the button.
Now, as you can see, Wireshark has started to capture packets on the selected interfaces.
Right now, let's clean the welcome window right here.
We have a lot of unnecessary interfaces.
Most of them will never be used.
So to remove the interfaces on your right side, click on the down arrow.
If you want to hide all the wired interfaces, then click on the wild.
Now as you can see, the wired interfaces have been removed from the list, right?
And this way you can remove or keep other interfaces like wireless or virtual interfaces.
Just click on it to remove and display.
Right now, guys, this list does not give us option to select interfaces manually.
Right?
I only want to keep two interfaces on my welcome window wi fi and ethernet.
With this option we can either have wireless or wired.
So to customize this list, go to the CAPTCHA.
Click on options on your bottom right click on Manage Interfaces.
Now here we have a complete list of interfaces.
Here we can select the interfaces that we do not want to see on your welcome window.
So I'm going to deselect all the interfaces except.
Ethernet and WiFi.
Now click on okay close.
As you can see, guys, now we only have WiFi and Ethernet, but we have these unnecessary captions,
right?
Microsoft WiFi Ethernet connection 1218 Ethernet.
Right.
So when you customize the interfaces, it adds these unnecessary comments.
So to remove unnecessary comments, again, go to the CAPTCHA options, click on manage interfaces under
the comment column, double click on the interface.
I'm going to click on wi fi.
Now leave this field blank press enter again.
I'm going to repeat the same thing for Ethernet interface.
Double click on it.
Leave it blank.
Press enter.
Click on.
Okay, close.
Now, as you can see, guys, we have a very neat and clean list of interfaces.