1, the Linux network card commonly used several modes description:
Broadcast mode: The NIC in this mode can receive broadcast information in the network.
Multicast mode: The network card set in this mode can receive multicast data.
Direct mode: In this mode, only the destination network card can receive the data.
Promiscuous mode: The NIC in this mode can receive all data through it, regardless of whether the data
2. View, add, and remove promiscuous modes
A. Check the NIC mode [[Email protected] ~]# ifconfig -aens32: flags=4163<up,broadcast,running, multicast> mtu 1500 inet 10.203.12.88 netmask 255.255.255.0 broadcast 10.203.12.255 inet6 fe80::250:56ff:feb3:2253 prefixlen 64 scopeid 0x20<link> ether 00:50:56:b3:22:53 txqueuelen 1000 (Ethernet) rx packets 2800921171 bytes 2087772292594 (1.8&NBSP;TIB) rx errors 0 dropped 61583 overruns 0 frame 0 TX packets 2328391024 bytes 1651122431491 (1.5&NBSP;TIB) &NBsp; tx errors 0 dropped 0 overruns 0 carrier 0 collisions 0lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 Netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10
This article is from the "Frozen vs watermelon" blog, so be sure to keep this source http://molewan.blog.51cto.com/287340/1795607
Linux network card promiscuous mode settings and cancellation