Created on
‎01-09-2025
08:08 AM
Edited on
‎06-26-2025
12:34 AM
By
Jean-Philippe_P
Description | This article describes the difference in multicast policy configuration when using multicast forwarding versus multicast routing. |
Scope | FortiGate configured with multicast forwarding or multicast routing. |
Solution |
Multicast forwarding: Multicast forwarding is a feature that allows multicast packets to be efficiently distributed between multicast routers and receivers directly connected to the FortiGate. Once a multicast forwarding policy is configured, the FortiGate sends an IGMP Membership Query, which enables it to receive IGMP Membership Reports. IGMP Membership Reports are sent by the hosts that want to receive the multicast traffic (multicast receivers). Multicast forwarding is enabled by default, and it only requires a multicast policy to allow the traffic. The policy direction is from the interface facing the receiver to the interface facing the source, with the source IP being the receiver IP. Multicast forwarding is useful with simple setups where the multicast source and receiver are directly connected to the same FortiGate, and a multicast routing protocols are not used.
Multicast forwarding policy configuration:
config system settings set multicast-forward enable end
config router multicast set multicast-routing disable end
config firewall multicast-policy end
Multicast routing involves multicast routing protocols such as PIM sparse-mode and PIM dense-mode. This feature allows more control over multicast traffic, which is useful in more complex setups. Enabling multicast routing will automatically disable multicast forwarding even if it was enabled in the settings. Multicast routing policies differ from multicast forwarding policies in policy direction and source address, as seen in the example below. To verify the multicast forwarding status, the command diagnose sys vd list can be used. The example configuration below is for PIM dense-mode. The multicast policy configuration is the same for PIM sparse-mode.
Multicast routing policy configuration (FGT-01):
config system settings set multicast-forward disable end
config router multicast set multicast-routing enable config interface edit "port1" set pim-mode dense-mode set passive enable next edit "port2" set pim-mode dense-mode next end end
config firewall multicast-policy end
Multicast routing policy configuration (FGT-02):
config system settings set multicast-forward disable end
config router multicast set multicast-routing enable config interface edit "port1" set pim-mode dense-mode next edit "port2" set pim-mode dense-mode set passive enable next end end
config firewall multicast-policy end
To verify the multicast forwarding status:
FGT-01 # diagnose sys vd list |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.