Linux 7 Multicast Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 9: Line 9:
=Procedure=
=Procedure=


* Make sure multicast is enabled at kernel level.
==Multicast at Kernel Level==
 
Make sure multicast is enabled at kernel level.  
 
To compile multicast support into the kernel, CONFIG_IP_MULTICAST must be present in the kernel configuration file.
 
==Multicast Support at Interface Level==
 
* Verify that the network interface you plan to use for multicast traffic has multicast enabled, and if not, turn it on.
* Verify that the network interface you plan to use for multicast traffic has multicast enabled, and if not, turn it on.
* Configure multicast routing: [[Linux_Routing_Configuration#Adding_Multicast_Routing_to_a_Specific_Network_Interface|Configure Multicast Routing]]
* Configure multicast routing: [[Linux_Routing_Configuration#Adding_Multicast_Routing_to_a_Specific_Network_Interface|Configure Multicast Routing]]

Revision as of 16:47, 21 March 2017

Internal

Concepts

Multicast

Procedure

Multicast at Kernel Level

Make sure multicast is enabled at kernel level.

To compile multicast support into the kernel, CONFIG_IP_MULTICAST must be present in the kernel configuration file.

Multicast Support at Interface Level

Troubleshooting

Display Multicast Group Membership Information

netstat -g

displays multicast group membership information for IPv4 and IPv6. Optionally use -n to prevent DNS lookups (faster).

Send Multicast Traffic

See

Java Network Traffic Generator

Organizatorium

TODO http://lartc.org/howto/lartc.multicast.html


echo 1 > /proc/sys/net/ipv4/ip_forward