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