最近工作中发现wireshark 的捕获过滤抓不到东西,原因在于电脑网卡开启了 802.1Q vlan tagging,具体写Capture filter要分以下两种情况: 网卡开启vlan 捕获 PPPoE vlan && pppoes && port 80 捕获 IPoE vlan && port 80 网卡关闭vlan 捕获 PPPoE pppoes && port 80 捕获 IPoE port 80 捕获过滤语法 <Protocol><Direction><Hosts><Value>