This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

how to set up capture filter for two different subnets at same time

0

Hi all,

I would like to capture two subnets (for example 192.168.0.0/26 and 172.16.0.0/23) at same time. Could anyone please advise how to set up capture filter so that wireshark will only record "from and to" traffic to the subnets mentioned above ?

Regards, Muhammed

This question is marked "community wiki".

asked 19 Nov '14, 15:15

mazedau's gravatar image

mazedau
11113
accept rate: 0%

edited 19 Nov '14, 16:03

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196


One Answer:

0
net 192.168.0.0/26 or 172.16.0.0/23

answered 19 Nov '14, 15:55

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196
accept rate: 19%