How can I use TCPDump on Unix to view messages sent to a specific multicast address?

69,978

I believe this should be enough for a specific group:

tcpdump -i eth0 -s0 -vv host 239.255.255.250

All multicast traffic:

tcpdump -i eth0 -s0 -vv net 224.0.0.0/4
Share:
69,978
John Humphreys
Author by

John Humphreys

I'm a cloud DevOps director with a strong history of software & service development spanning military embedded systems, financial platforms, big data metrics systems, and general DevOps platform services. For the last 6+, years I have focused on building cross-company platform SaaS & PaaS services spanning query, orchestration, monitoring and compute both in the cloud and on-premises. I have led significant efforts leveraging orchestration technologies (Kubernetes, Airflow), big data technologies (Apache Spark, Presto, Apache Drill, Hive, Data Lakes), and streaming technologies (e.g. Kafka / Messaging). I have driven DevOps and CI/CD practices, improving automation and decreasing release cycle duration repeatedly (leveraging kubernetes, GitLab, terraform, ansible, etc). I've led DevOps teams managing large scale infrastructure and services in both the Azure and AWS clouds, but am much more accustomed to working in AWS these days. I also keep a blog here -> https://coding-stream-of-consciousness.com. It is mostly to help me recall things in the future; but I like that it occasionally saves others time as well. I hope you find it useful.

Updated on October 29, 2020

Comments

  • John Humphreys
    John Humphreys over 3 years

    I'm trying to view traffic transmitted to a specific multicast address on a network in order to analyze a protocol we're using.

    I don't have Wireshark available on the setup (unfortunately). TCPDump is available though. So, can anyone show me a command have TCPDump filter to only view messages transmitted to a secific multicast group address?