Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

3.8. Enabling IP Multicast with IGMP


The Internet Group Management Protocol (IGMP) enables the administrator to manage routing and subscription to multicast traffic between networks, hosts, and routers. The kernel in Red Hat Enterprise Linux supports IGMPv3.
To display multicast information, use the ip maddr show subcommand, for example:
~]$ ip maddr show dev br0
8:	br0
	inet  224.0.0.1
	inet6 ff02::1
	inet6 ff01::1
[output truncated]
Copy to Clipboard Toggle word wrap
Alternatively, look for the MULTICAST string in the ip link show command output, for example:
~]$ ip link show br0
8: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT qlen 1000
    link/ether 6c:0b:84:67:fe:63 brd ff:ff:ff:ff:ff:ff
Copy to Clipboard Toggle word wrap
To disable multicast on a device and to check that multicast is disabled on the br0 device:
~]# ip link set multicast off dev br0
~]$ ip link show br0
8: br0: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT qlen 1000
    link/ether 6c:0b:84:67:fe:63 brd ff:ff:ff:ff:ff:ff
Copy to Clipboard Toggle word wrap
The missing MULTICAST string indicates that multicast is disabled.
To enable multicast on the br0 device and to check it is enabled:
~]# ip link set multicast on dev br0
~]$ ip link show br0
8: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT qlen 1000
    link/ether 6c:0b:84:67:fe:63 brd ff:ff:ff:ff:ff:ff
Copy to Clipboard Toggle word wrap
See the ip Command Cheat Sheet for Red Hat Enterprise Linux article and the ip(8) man page for more information.
To check current version of IGMP and IP addresses subscribed for multicasting, see the /proc/net/igmp file:
~]$ cat /proc/net/igmp
Copy to Clipboard Toggle word wrap

Note

IGMP is not enabled in firewalld by default. To enable IGMP for a zone:
~]# firewall-cmd --zone=zone-name --add-protocol=igmp
Copy to Clipboard Toggle word wrap
See the Using Firewalls chapter in the Red Hat Enterprise Linux Security Guide for more information.
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat