https://bugzilla.redhat.com/show_bug.cgi?id=498981#c4
https://serverfault.com/questions/544651/vlan-tags-not-shown-in-packet-capture-linux-via-tcpdump
如果不加-e參數,抓取不到 vlan信息,會導致wireshark解析出現問題。因為,抓到的二層認為上層是vlan協議,但是協議數據沒抓到,導致解析出現錯誤,如果這樣的話只能強制將0x8100解碼為IPv4協議 。如下圖,
但是如果但看 tcpdump的手冊里的說明,根本就看不到這一點。所以需要更新這個document?
-e
Print the link-level header on each dump line. This can be used, for example, to print MAC layer addresses for protocols such as Ethernet and IEEE 802.11.