NIC mode is set to promiscuous mode

1. Install net-tools

Download the net-tools package to assist the management server, which contains the ifconfig command that needs to be used this time.

yum install -y net-tools

2. Promiscuous mode of the network card, in this mode the network card will capture the data on the network together.
        ifconfig eth1 promisc set promiscuous mode
        ifconfig eth1 -promisc unpromiscuous mode

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325550787&siteId=291194637