Solved

Need help with a tshark filter.

Posted on 2010-08-17
4
693 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

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 …
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
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…

839 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