Linux 7 Multicast Configuration: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 11: | Line 11: | ||
* Make sure multicast is enabled at kernel level. | * Make sure multicast is enabled at kernel 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 | * Configure multicast routing: [[Linux_Routing_Configuration#Adding_Multicast_Routing_to_a_Specific_Network_Interface|Configure Multicast Routing]] | ||
* If iptables runs on the system, allow multicast traffic for the interface that will handle multicast traffic | * If iptables runs on the system, allow multicast traffic for the interface that will handle multicast traffic: [[Iptables_Command_Line_Tool_Examples#Multicast|Configure iptables to allow Multicast]] | ||
* Test it. For more details see the [[#Troubleshooting|Troubleshooting]] section. | * Test it. For more details see the [[#Troubleshooting|Troubleshooting]] section. | ||
=Troubleshooting= | =Troubleshooting= | ||
= | ==== | ||
<pre> | <pre> | ||
Line 30: | Line 25: | ||
will give you group membership information. Optionally use -n to prevent DNS lookups (faster). | will give you group membership information. Optionally use -n to prevent DNS lookups (faster). | ||
==== | |||
See {{Internal|Java Network Traffic Generator|Java Network Traffic Generator}} | |||
=Organizatorium= | |||
TODO http://lartc.org/howto/lartc.multicast.html | |||
echo 1 > /proc/sys/net/ipv4/ip_forward |
Revision as of 16:41, 21 March 2017
Internal
Concepts
Procedure
- Make sure multicast is enabled at kernel level.
- Verify that the network interface you plan to use for multicast traffic has multicast enabled, and if not, turn it on.
- Configure multicast routing: Configure Multicast Routing
- If iptables runs on the system, allow multicast traffic for the interface that will handle multicast traffic: Configure iptables to allow Multicast
- Test it. For more details see the Troubleshooting section.
Troubleshooting
==
netstat -g
will give you group membership information. Optionally use -n to prevent DNS lookups (faster).
==
See
Organizatorium
TODO http://lartc.org/howto/lartc.multicast.html
echo 1 > /proc/sys/net/ipv4/ip_forward