tcpdump mailing list archives

pcap filters on a VLAN


From: "Puneet Sood" <psood () nortelnetworks com>
Date: Tue, 02 Dec 2003 14:50:12 -0500

Hi,

Will a filter like the one below capture IP packets encapsulated in Ethernet frames and IP packets in Ethernet frame with a 802.1q VLAN header?

   ether proto 0x0800

If not, how does one specify capturing IP packets within an Ethernet frame with a 802.1q VLAN header?

What about filter that specify only UDP or TCP ports? Will those filters work for both Ethernet frames and 802.1q VLAN frames?

Thanks,
Puneet


-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe


Current thread: