Understand the promiscuous mode in the operating mode of the NIC

Source: Internet
Author: User

Promiscuous mode, the English name is promiscuous mode, which refers to a machine that can receive all of its data streams, regardless of whether the destination address contained in the data stream is itself, this pattern corresponds to a non-promiscuous mode. In non-promiscuous mode, the network adapter listens only for traffic on its own MAC address. In promiscuous mode, it can listen on all packets. By default, the network adapter is set to non-promiscuous mode. Promiscuous mode is a security policy in the Data Link layer (L2).

The NIC in promiscuous mode can receive all traffic through it, no matter what format, address (any packet transmitted in the same conflict domain), after receiving the packet by the network layer determines how the packet is handled, such as whether it is submitted to the upper processing or to the lower level forwarding or discard. Instead of promiscuous mode, the network card only sends its own packets (including broadcast packets) to the upper layer, and all other packets are discarded.

To give a simple example, a switch is connected to 3 computers, respectively, C1, C2 and C3, non-promiscuous mode C1 to C2 send packets C3 is not received, and in promiscuous mode C1 to C2 send packets C3 can receive, at this time C3 is a network listener (stealing listeners), And this kind of monitoring C1 and C2 is not aware of. Therefore, the person in the promiscuous mode is called the listening mode.

According to network data, the NIC has four modes, namely broadcast mode, multicast mode, promiscuous mode and non-promiscuous mode (direct mode). Specifically, you can refer to Google.

This article is from "Communication, My Favorites" blog, please make sure to keep this source http://dgd2010.blog.51cto.com/1539422/1585438

Understand the promiscuous mode in the operating mode of the NIC

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.