Computer network series: using Wireshark to grab packets on a virtual machine

Source: Internet
Author: User

The first step must be to download the Wireshark software to the top of this machine first. After downloading, we put the installation package of this software on the C drive, and set the share for the C drive, and put the installation package on the top of the virtual machine.

Explain how to set up sharing on this computer:

For example, we share the E-drive settings:

1. Right-click on "e-Disk" and select "Share":


2, then step by step setup, after setting, we need to set these two options:


Once we've set it up, we've shared it, and the next step is to open the virtual machine.

Second, install the software on top of the virtual machine.

First, you need to set up a bridge to connect to the network on the virtual machine:


We then enter the following command in the CMD Command Line window of the virtual machine:

Ipconfig/release

Ipconfig/renew

Ipconfig/all

The query gets the IP address of the virtual machine.

The third step, open the virtual machine "My Computer", enter the IP address of the computer, then you can find the shared disk, and then the software to assign the value and install.


Fourth, after the installation is complete Wireshark, we can start to grab the bag:

Grasping the package steps:

1. Run the shortcut and start the interface:


2. Wireshark is a network packet that captures a NIC on a machine , and when you have more than one NIC on your machine, you need to select a NIC.

Click Caputre->interfaces. The following dialog box appears and selects the correct network card. Then click on the "Start" button to start grabbing the bag


(PS: I use a virtual machine, and does not show this interface, because there is only one network card, so directly click on the start is possible)

3. After clicking Start, this interface will appear below:


This is the packet we crawled. Additional instructions for grabbing the package are described in a later document.

(It's a bit of a hassle to write an article on a class.)


Computer network series: using Wireshark to grab packets on a virtual machine

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.