Join, Leave, Query

A simple command-line tool to send IGMP messages

Multicast tree

Image: Fractal tree by P_Scholl from Pixabay


Send a IGMPv2 join (report)
sendigmp -s -g v2report

Send 10 IGMPv2 joins for the same group, once every 300ms
sendigmp -s -g -n 10 -w 300 v2report

Send IGMPv2 join for 5 groups continuously (till you hit Ctrl-C)
sendigmp -s -g -i 5 -n cont v2report

Send IGMP leave
sendigmp -s -g leave

Send IGMP general query (specify the grp-ip to send group specific query)
sendigmp -s query


sendigmp [OPTIONS] -s <src-ip> { v1report | v2report | leave | query }
OPTIONS: -g <grp-ip> -t <max-resp-time> -c <cksum> -n <pkt-count>|"cont" -i <iter-count> -w <wait-time> -v

src-ip must be specified - it is used to select the source IP and the outgoing interface.
grp-ip must be specified for all messages except general query.

Frequently Asked Questions

Which platforms are supported?

At this time, only Windows is supported. MacOS and Linux support may be added in the future

How do I run sendigmp as Administrator

From the start menu, search for cmd, right-click on Command Prompt and select Run as Administrator. You can now run sendigmp in this window. Alternatively use one of several ways to run as administrator

Why do I need to run sendigmp as Administrator?

Raw sockets are used to send IGMP packets which require administrator privileges

How do I verify that packet is sent?

Capture traffic on the port using Wireshark to verify that the IGMP packet(s) are indeed sent out

Why is my switch/router is not seeing the IGMP packet?

Does sendigmp print any errors or warnings? If so, fix those and retry. If not, verify that IGMP packets are sent out. Beyond that, you will need to check your switch/router documentation to troubleshoot

When will IGMPv3 and/or MLD be supported?

There are no plans to add support for IGMPv3 or MLD. Please use Ostinato for IGMPv3/MLD and other protocols.


sendigmp by Srivats P, creator and founder of Ostinato Traffic Generator for Network Engineers