Linux network card promiscuous mode settings and cancellation

Source: Internet
Author: User

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

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.