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

I want to filter IPs on a .cap file , I use the command ip.addr == 123.456.789 but this only filters out one IP , I was wondering if there was a way to filter out multiple IPs ? thanks

asked 26 Jul '12, 09:04

helloworld0722's gravatar image

helloworld0722
10779
accept rate: 0%


ip.addr==x.x.x.x || ip.addr==y.y.y.y || ip.addr=z.z.z.z

permanent link

answered 26 Jul '12, 09:14

Jim%20Aragon's gravatar image

Jim Aragon
7.2k733118
accept rate: 24%

It works ,thanks

(26 Jul '12, 09:19) helloworld0722

Another way, if they are contiguous, is to use:-

ip.addr==10.10.10.10/24

This would display 10.10.10.1 - 10.10.10.254

This is also the way to filter on a subnet.

permanent link

answered 26 Jul '12, 11:05

KeithFrench's gravatar image

KeithFrench
121115
accept rate: 0%

Ok thank you !

(26 Jul '12, 12:28) helloworld0722
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:

×1,620
×832
×349
×238
×178

question asked: 26 Jul '12, 09:04

question was seen: 76,170 times

last updated: 17 Dec '13, 20:30

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