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

Hi, I need to set a Range / Subnet (for example 10.244.0.0/24) in my trace. Hosts are no problem, but nobody knows what Adresses sre realy involved in my trace scenario... Sofar my trace looks like this:

"C:\Program Files\Wireshark\dumpcap.exe" -i LAN1 -f "port 1720 or portrange 5000-5060 or ip host 10.244.1.3 or ip host 10.244.1.4 or ip host 10.244.1.55" -b files:100 -b filesize:5000 -w C:\Tools\traces\cap\Wireshark.pcapng

asked 29 Jun '16, 08:29

Roy's gravatar image

Roy
6113
accept rate: 0%

edited 29 Jun '16, 08:31


To set a network in a capture filter use the net primitive, e.g. net 10.244.0.0/24. See the tcpdump pcap filter syntax page for more info.

permanent link

answered 29 Jun '16, 09:14

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×139
×89

question asked: 29 Jun '16, 08:29

question was seen: 1,077 times

last updated: 29 Jun '16, 09:14

p​o​w​e​r​e​d by O​S​Q​A