Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Wireshark filtering IP and port

Posted on 2016-10-10
4
59 Views
Last Modified: 2016-10-12
Hello there,

I have these 2 machine with IP 192.168.1.123 and 192.168.1.103. The port of the machine 192.168.1.103 is 2111 and 2112 which it is listening on. How can I just sniff these ip and ports with TCP protocol only.

cheers
Zolf
0
Comment
Question by:zolf
  • 2
  • 2
4 Comments
 
LVL 69

Expert Comment

by:Qlemo
ID: 41836445
A capture (not display!) filter of
   (host 192.168.1.123 or host 192.168.1.103) and tcp portrange 2111-2112
should work. It is not 100% exact but should be sufficient.
0
 

Author Comment

by:zolf
ID: 41836448
thanks for your comments. But I get red display in the filter meaning our filter is not correct
0
 
LVL 69

Accepted Solution

by:
Qlemo earned 500 total points
ID: 41836753
As said, you need to set this up as capture filter. You might have to click on the interface first, then set the filter.
WireShark-Capturefilter.png
0
 

Author Closing Comment

by:zolf
ID: 41839887
Cheers
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question