Wireshark-dev: Re: [Wireshark-dev] capture filter issue
From: Sake Blok <[email protected]>
Date: Mon, 19 Jul 2010 13:31:32 +0200
On 19 jul 2010, at 13:19, <[email protected]> <[email protected]> wrote:

> When I am doing live capture with Wireshark using the “Capture filter” option (host, my expectation is that I can able to see both the to and from (source & dest) traffic with that ip address. But I can see only incoming traffic (i.e. destination ip address only), it is not showing any outgoing traffic from that ip address.
> If I remove that filter and start capturing, then I can see both incoming and outgoing traffic with that ip address.
> I am doubting some setup problem in my Wireshark, but not sure where to change.
> Can you please help me on this issue.

It could be that incoming traffic is not 802.1Q tagged, while outgoing traffic is  802.1Q tagged, that all depends on where you are doing the capture and what the L2 design is of that infrastructure.

The capture filter "host" will only match untagged traffic. If you would also like to see the 802.1Q tagged traffic for, you need to specify a capture filter like this:

"host or (vlan and host"

Please note that the order in that filter is important. See also: http://wiki.wireshark.org/CaptureSetup/VLAN#Capture_filters

Hope this helps,


PS  This can also happen on PPPoE networks or any other situation where L2 tagging/encapsulation is done in one direction, but the most common case is 802.1Q vlan-tagging