Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Selecting a Multicast IP Address

I'm having trouble understanding how multicast addresses work.

First off, is it true that if I have N clients or peers working on separate networks, they all subscribe to the same multicast group, and this group allows any source to send messages, these peers/hosts can all communicate to each other through this group? (sounds like black magic!)

Second, I've heard hints that the IANA controls/regulates the multicast addresses. So do you have to request / ask IANA for a specific multicast address for your project / company? How does this work? Am I mistaken? Can you clarify multicast networking for me?

Thanks much!

like image 308
Josh G Avatar asked Apr 08 '11 20:04

Josh G


1 Answers

Firstly, multicast only works if the routers in the network support it. The IGMP protocol is used for this purpose: http://en.wikipedia.org/wiki/Internet_Group_Management_Protocol. Assuming you have N clients on separate networks connected by multicast capable routers, then they could send messages to a multicast address and other peers that have subscribed to that multicast address will then receive those messages. You can read up further on multicast on Wikipedia.

I think you're confusing IEEE with IANA, the Internet Assigned Numbers Authority (IANA). Have a look at http://www.iana.org/assignments/multicast-addresses/multicast-addresses.xml for multicast address assignments.

like image 62
Ralf Avatar answered Oct 12 '22 12:10

Ralf