Solved

Need help with a tshark filter.

Posted on 2010-08-17
4
692 Views
Last Modified: 2012-05-10
I am using Wireshark to capture network traffic to a file, using the filter 'no arp no broadcast no multicast host 10.20.30.40'.  I would like to use tshark to do the capture to a file instead.  This same filter generates errors when it is used in tshark.  What would the equivalent Tshark filter be?
0
Comment
Question by:CousinDupree
  • 2
  • 2
4 Comments
 
LVL 12

Accepted Solution

by:
hfraser earned 500 total points
ID: 33460994
The syntax should be:

not arp and not broadcast and not multicast and host 10.20.30.40
0
 

Author Comment

by:CousinDupree
ID: 33461109
My apologies, 'not arp and not broadcast and not multicast and host 10.20.30.40' is indeed the filter that I am using.  It doesn't work in Tshark, however.
0
 
LVL 12

Expert Comment

by:hfraser
ID: 33463051
This is the correct syntax for the filter, if that's where the problem is. What error are you getting?
0
 

Author Closing Comment

by:CousinDupree
ID: 33500414
My command line syntax was incorrect, your answer was correct..  Thanks for the help!
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…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

809 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