Linux 7 Multicast Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
Line 17: Line 17:
=Troubleshooting=
=Troubleshooting=


====
==Display Multicast Group Membership Information==


<pre>
<pre>
Line 23: Line 23:
</pre>
</pre>


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


====
==Send Multicast Traffic==


See {{Internal|Java Network Traffic Generator|Java Network Traffic Generator}}
See {{Internal|Java Network Traffic Generator|Java Network Traffic Generator}}

Revision as of 16:43, 21 March 2017

Internal

Concepts

Multicast

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

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