> For the complete documentation index, see [llms.txt](https://platform9.com/kb/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://platform9.com/kb/pcd/networking/multicast-traffic-from-vms-does-not-reach-physical-receivers-on-a-vlan-provider-network.md). Agents can also search and read this documentation through its [MCP server](https://platform9.com/kb/~gitbook/mcp).

# Multicast Traffic From VMs Does Not Reach Physical Receivers on a VLAN Provider Network

### Problem <a href="#problem" id="problem"></a>

A VM on a VLAN provider network sends multicast traffic to devices on the physical network (same subnet/VLAN, no routing involved). The traffic is visible leaving the VM, but it never reaches the physical uplink of the hypervisor host, so the physical receivers get nothing.

Typical symptoms:

* A packet capture inside the VM or on the VM tap interface shows the multicast stream being sent.
* A capture on the physical bridge or bond of the same host shows no multicast traffic for that group.
* Unicast traffic between the same VM and the same physical devices works normally.
* Security groups and port security are not involved (the behaviour is the same with port security disabled).

### Environment <a href="#environment" id="environment"></a>

* Private Cloud Director Virtualization - v2026.4 and Higher
* Self-Hosted Private Cloud Director Virtualization - v2026.4 and Higher
* Component - Networking (OVN)

### Cause <a href="#cause" id="cause"></a>

IGMP snooping is enabled by default in PCD (`igmp_snooping_enable = true`). With snooping enabled, OVN forwards multicast for a group only to ports that have registered interest in that group through an IGMP join.

When the receivers are physical devices outside PCD, their IGMP joins never reach OVN. By default the OVN `localnet` port of the provider network (the port that connects the logical switch to the physical bridge) is also not marked as a multicast forwarding destination. As a result OVN has no output port for the traffic and drops it inside the logical switch, before it reaches `br-phy` and the physical uplink.

Setting `igmp_flood = true` in Neutron marks the `localnet` port with `mcast_flood=true`, so multicast is always forwarded to the physical network while VMs still receive only the groups they joined. However, Neutron applies this option only when a `localnet` port is created. Provider networks that already exist keep the old setting until it is changed manually in the OVN Northbound database.

### Diagnostics <a href="#diagnostics" id="diagnostics"></a>

{% hint style="info" %}
**NOTE:** `ovn` commands below can also be executed from inside the OVN North Bound Pod on the Management Cluster. Only Self-Hosted Private Cloud Director Virtualization users can run the steps below.

1. Access the OVN North Bound Pod in the Management Cluster using the command below.

   ```bash
   $ kubectl -n <REGION_NAMESPACE> exec -it <OVN_NORTH_POD> --kubeconfig <PATH_TO_KUBECONFIG> -- bash
   ```

2. Run the commands from the Diagnostics and Workaround sections from inside the pod.
   {% endhint %}

3. Identify the provider network and its segment:

   ```bash
   $ openstack network show <NETWORK_ID>
   $ openstack network segment list --network <NETWORK_ID>
   ```

   Example Output

   ```bash
   | provider:network_type     | vlan     |
   | provider:physical_network | physnet1 |
   | provider:segmentation_id  | 340      |
   ```

   Note the segment ID from the second command. It is used in the `localnet` port name (`provnet-<SEGMENT_ID>`).

4. Confirm the multicast traffic leaves the VM:

   Run the following on the compute host where the sender VM is running. Find the VM tap interface first:

   ```bash
   $ sudo virsh domiflist <INSTANCE_UUID>
   ```

   Then capture multicast on the tap interface:

   ```bash
   $ sudo tcpdump -ni <TAP_INTERFACE> 'ip multicast and not igmp'
   ```

   Sample Output

   ```bash
   10:12:01.104331 IP 10.20.40.15.5000 > 239.233.1.10.5000: UDP, length 512
   10:12:01.204337 IP 10.20.40.15.5000 > 239.233.1.10.5000: UDP, length 512
   ```

5. Confirm the same traffic does not reach the physical network:

   On the same host, capture on the provider bridge or the physical bond for the network VLAN:

   ```bash
   $ sudo tcpdump -eni br-phy1 vlan <VLAN_ID> and 'ip multicast and not igmp'
   ```

   or

   ```bash
   $ sudo tcpdump -eni <BOND_INTERFACE> vlan <VLAN_ID> and dst net 239.0.0.0/8
   ```

   If the stream is visible on the tap interface but not on `br-phy1` or the bond, the traffic is being dropped inside OVN.

6. Check the IGMP snooping setting on the logical switch:

   ```bash
   $ ovn-nbctl list Logical_Switch neutron-<NETWORK_ID> | grep other_config
   ```

   Example Output

   ```bash
   other_config        : {mcast_flood_unregistered="false", mcast_snoop="true"}
   ```

   `mcast_snoop="true"` means IGMP snooping is active on the network.

   *Note: `ovs-vsctl list bridge br-int | grep mcast` returns `mcast_snooping_enable: false` even when IGMP snooping is active. OVN implements snooping in its own logical flows, not through the OVS bridge snooping feature, so the OVS bridge value does not reflect the OVN setting. Do not enable `mcast_snooping_enable` on `br-int` manually.*

7. Check the multicast options on the `localnet` port:

   ```bash
   $ ovn-nbctl lsp-get-options provnet-<SEGMENT_ID>
   ```

   Example Output (affected network)

   ```bash
   network_name=physnet1
   ```

   If `mcast_flood=true` is missing from the output, the physical uplink is not a multicast destination and OVN drops multicast that has no registered receivers inside PCD.

   *Note: Please check the **Additional Information** section for more information on how to run OVN commands depending on your environment.*

8. (Optional) Confirm the drop with a trace:

   ```bash
   $ ovn-trace neutron-<NETWORK_ID> 'inport=="<VM_PORT_ID>" && eth.src==<VM_MAC> && ip4.src==<VM_IP> && ip4.dst==<MULTICAST_GROUP> && eth.dst==<MULTICAST_MAC> && udp'
   ```

   On an affected network the trace ends without an output to the `localnet` port.

### Resolution <a href="#resolution" id="resolution"></a>

This is a known issue and already reported internally under the below bug IDs:

* **PCD-11167**: Apply the IGMP flood settings to existing provider networks automatically and ship them in the standard PCD configuration.
* **PCD-11188**: Add a region-level multicast mode setting in the UI and API.

Until these are Fixed, use the workaround below.

### Workaround <a href="#workaround" id="workaround"></a>

Both steps are required. Step 1 covers networks created after the change. Step 2 updates networks that already exist.

{% hint style="info" %}
*For Private Cloud Director Virtualization (SaaS) regions, the Neutron configuration change in Step 1 is applied by Platform9 Support Team. Please open a ticket with the* [*Platform9 Support Team*](https://support.platform9.com/) *and include the region name and the affected network IDs.*
{% endhint %}

1. Update the Neutron configuration for the region.

   In the secret `neutron-etc`  of the region namespace, locate the base64 encoded content in the  `ml2_conf.ini` file in the `data` section.\
   Decode that and under the `[ovs]` section, set:

   ```bash
   [ovs]
   igmp_snooping_enable = true
   igmp_flood = true
   igmp_flood_reports = true
   igmp_flood_unregistered = false
   ```

   \
   Encode the file again with the above changes and replace that base64 encoded content into the same `ml2_conf.ini` file of the `data` section in the `neutron-etc` secret.\
   &#x20;\
   Restart `neutron-server`  pods in the region for the change to take effect.

   * IGMP snooping stays enabled, so VMs still receive only the multicast groups they joined.
   * `igmp_flood_unregistered = false` prevents unregistered multicast from being flooded to every VM port on the network.
   * Restarting `neutron-server` briefly interrupts Networking API operations (for example creating or updating ports). Running VM traffic is not affected.
2. Enable multicast flooding on the `localnet` port of each existing affected network:

   ```bash
   $ ovn-nbctl set Logical_Switch_Port provnet-<SEGMENT_ID> options:mcast_flood=true options:mcast_flood_reports=true
   ```

   Example

   ```bash
   $ ovn-nbctl set Logical_Switch_Port provnet-6f1d2c3a-1b2c-4d5e-8f90-123456789abc options:mcast_flood=true options:mcast_flood_reports=true
   ```

   To list all `localnet` ports and their options in the region:

   ```bash
   $ ovn-nbctl --columns=name,options find Logical_Switch_Port type=localnet
   ```
3. Verify the change:

   ```bash
   $ ovn-nbctl lsp-get-options provnet-<SEGMENT_ID>
   ```

   Example Output

   ```bash
   mcast_flood=true
   mcast_flood_reports=true
   network_name=physnet1
   ```

   Repeat the capture from Diagnostics step 3. The multicast stream should now be visible on `br-phy1` or the bond, and the physical receivers should start receiving traffic.

### Additional Information <a href="#additional-information" id="additional-information"></a>

* The following approaches do **not** resolve this issue:
  * **Disabling IGMP snooping** for the region (`igmp_snooping_enable = false`). This floods all multicast to every VM port on every network in the region. It hides the problem but is not a fix, and is usually not acceptable on networks with high multicast volume.
  * **Sending an IGMP join from the sender VM.** A join only registers the VM's own port for the group, not the `localnet` port, so the traffic to the physical network is still dropped.
  * **Disabling port security or adding security group rules** on the VM port. Port security and security groups are not part of this drop path.
* If the region runs an OVN version affected by **PCD-5856**, active IGMP snooping can cause a full OVN control-plane recompute on IGMP join/leave events. Check with the [Platform9 Support Team](https://support.platform9.com/) before changing IGMP settings on large regions.
* For further questions/concerns, reach out to the [Platform9 Support Team](https://support.platform9.com/).
* To run `ovn-*` commands on the hosts onboarded to PCD, execute below steps.

1. Create an environment file `ovs-alias.rc` as below:

   ```bash
   EXTERNAL_ID=$(sudo ovs-vsctl get open . external_ids:ovn-remote | awk -F: '{print $2}')
   export NBDB=tcp:${EXTERNAL_ID}:6641
   export SBDB=tcp:${EXTERNAL_ID}:6642
   alias ovn-sbctl="ovn-sbctl --db=$SBDB"
   alias ovn-nbctl="ovn-nbctl --db=$NBDB"
   alias ovn-trace="ovn-trace --db=$SBDB"
   ```
2. Export the rc file and start using the ovn commands:

   ```bash
   $ source ovs-alias.rc
   $ ovn-nbctl ls-list
   ```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://platform9.com/kb/pcd/networking/multicast-traffic-from-vms-does-not-reach-physical-receivers-on-a-vlan-provider-network.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
