# Multicast Testing

With large and even mid-size NDI workflows, multicast is becoming more and more of a necessity in an environment where any video stream can be pulled by any receiver at any time. While multicast can be enabled, testing would require additional software.

1. Download and install Wireshark

2. Reduce the network connection to just a single NIC, coming from the network that the NDI device is on

3. Ensure that the switch the devices are connected to are managed, multicast capable, and have IGMP snooping enabled to prevent broadcast storms&#x20;

4. Launch the NDI device or software, and enable Multicast

   1. If this is from software that uses the NDI Access Manager to enable it, do the following: First, launch Access Manager
   2. Navigate to the Advanced Tab, then click the Multicast dropdown button\
      ![](/files/q3nOPSghVWSYwOT8Q6BJ)
   3. Check the box by IP. A warning will come up that doing so could cause consequences on an improperly managed network. Press OK to dismiss that message\
      ![](/files/ogKYUcekrsA00xOSaEsZ)
   4. Unless you know the IP and address, Mask, and TTL values to use, leave it as-is
   5. Press OK to save your changes, then Launch your NDI device device or software

5. Launch Wireshark on the receiving PC, and double click the interface that's receiving the connection. In my example, I'm clicking Ethernet, as that has active data. \
   ![](/files/3zouJ4BD2MrYKnGokdVO)

6. If the only two devices are this network are the receive and sender in multicast, you should see the data flow look like the below picture. The important things to note are
   1. The Source IP is the IP of the device that's sending Multicast
   2. The Destination IP is a reserved multicast IP (<https://datatracker.ietf.org/doc/html/rfc5771>). If the destination IP is the local IP of the system running Wireshark, then it's not a multicast stream
   3. Typically, the transmit data for multicast is UDP If the protocol shown is TCP, then it's not multicast \
      ![](/files/AP9XY3bQrJqKh03TjFxy)

7. If there's too much data from other programs or devices on the network or machines and you need to isolate to just the sending system,  use the filters for multicast: ip.addr==IP ADDRESS\ <img src="/files/7wbJFXue3SueDBKnrZVh" alt="" data-size="line">

8. Disable multicast and view the Wireshark output- it should change the Destination address to the local IP and may change the protocl to TCP. Re-enabled multicast and confirm it changes back

9. Restart the device and confirm the test again.\ <br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ndi.video/all/developing-with-ndi/ndi-certified/certification-process/testing-methods/multicast-testing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
