Wireless – Which address should I choose to send a multicast message on an wireles ad-hoc meshed network

multicastwireless

I am trying to implement a wireless multicast ad-hoc network, but I don't know how it works.

I think I have to send my packets to a specific 224.0.0.* address, but I don't which one choose.

My network is 192.168.1.0 and the packets are using the UDP protocol.

To which address should I send the packets ?

Do I have to configure something before ?

Which IP address my computers should have ? Do I need to change of network ?

Best Answer

You don't configure multicast address anywhere.

Some box sends traffic out with multicast destination, this will automatically get L2 multicast address on the link.

This L2 multicast address is normally broadcasted in L2, unless there are some specific features enabled, like IGMP snooping to stop the flooding.

If IGMP snooping is enabled, then the L2 switch will learn which ports want to receive the multicast (they do IGMP join to the multicast group) and will not flood traffic to other than interested ports.

If L3 is involved, then you'll learn via PIM which ports are interested in receiving the multicast.

I can recommend this book for multicast basics, it's not JNPR specific.

If you don't know which addresses to use, if you have 2byte ASN, you should use 233.0.0.0/8 GLOP block (with your ASN in it) if you don't have 2byte ASN your best bet is 239.0.0.0/8 which can be thought has RFC1918 (e.g. 10.0.0.0/8) for multicast.

Related Topic