Knowledge about capturing LAN data

Source: Internet
Author: User

Knowledge about capturing LAN data

Generally, the PC only accepts packets whose destination MAC address is its own Nic or broadcast or multicast.
However, if you set the network interface to the hybrid mode, the shared hub can directly capture all data communication in the network interface, however, it does not work for networks that can separate conflicting domain switches. This is because the switch cannot normally send data that does not belong to you to the port of your machine.

A switched network with the image function uses a switch as the network's central switch device. A switch works on the data link layer of the OSI model. Its ports can effectively separate conflicting domains. The network connected by the switch will separate the entire network into many small domains. If the vswitch in the network has the image function, you can configure the port image on the vswitch, and then install the network protocol analysis software on the host that connects the Image Port, in this case, the software can capture all the data communication in the entire network.
Although in the hybrid mode, the network adapter can accept and save all received packets, but if you do not have a port image, you cannot capture your own data. Simply put, the port image mirrors the data that passes through other switch ports to your port.
Therefore, to receive data from the entire network in the vswitch network, you must:
I. network cards work in hybrid mode
2. Make a port image for the vswitch.

Without the NIC hybrid mode, you cannot capture and analyze the network traffic flowing through your Nic through software.
No port image is used. You can only see the network traffic flowing through your network card, especially in the exchange environment
You cannot see the communication traffic of other machines unless the traffic type is broadcast or multicast.

Of course, you can also use other methods, such as ARP spoofing, to capture the data of the entire network.

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.