设置网卡为混杂模式

linux下

ifconfig eth0 promisc    #设置混杂
ifconfig eth0 -promisc #取消混杂 
原文地址:https://www.cnblogs.com/tswcypy/p/3982102.html