首先,linux下如何开启混杂模式?
两种方式:
1、ifconfig . 使用man ifconfig 帮助可以看到
ifconfig eth1 promisc
----------------开启混杂模式
ifconfig eth1 -promisc
----------------关闭混杂模式
2、ip 命令
1、ifconfig . 使用man ifconfig
-
[-]promisc
Enable or disable the promiscuous mode of the interface. If selected, all packets on the network will be received by the interface.
2、ip 命令
- ip
link set DEVICE { up | down | arp { on |



