2

The address space for IPv6 multicast addresses is very large (something like 2^112) and so I'm imagining it might not be so hard to get my hands on a million or so of them at some point, and try using the internet as a pub/sub broker between some thousands of devices.

I'm pretty new to multicast but it doesn't seem like it was designed for something like this, and the feeling I get from browsing around the topic is that there's not much confidence in the multicast implementations in the internet networks.

I'm also generally wondering what public multicast can be used for at the moment and whether the use case above would be abusing the system.

2
  • There are no "global IPv6 multicast addresses". Mutlicast has never worked over the internet; and doesn't appear that it ever will. (poorly understood tech, niche use at best, and infinitely too easy to abuse.)
    – Ricky
    Feb 14, 2016 at 0:24
  • global scope multicast addresses do exist. They just aren't practically very useful. Oct 21, 2016 at 16:34

2 Answers 2

2

You can easily get your hands on a /48 IPv6 prefix. this will allow you to have 65,536 /64 subnets, each subnet with a possible 18,446,744,073,709,551,616 addresses. ISPs will not advertise any prefix longer than /48, so your subnets will be aggregated into that single /48 address summary on the Internet. This means that, from the perspective of the Internet, all your subnets are at the same location, even if you have multiple locations with private links between them. At any point where your sites connect to the Internet, you would need to advertise the /48 prefix since the ISP for each point will not advertise any prefix longer than that. Basically, you would need to get a /48 prefix for each site you have, but fortunately, that is really not a problem. Most companies get smaller prefixes (/44, /40, /36, or /32) and chop them into longer prefixes for different sites and advertisement to the Internet.

Multicast requires multicast routing on every router in the path. This is not enabled on the Internet routers, so you can multicast within you company, but you cannot multicast across the Internet. You would need to create a tunnel between sites in order to get multicast from one location to another.

IPv6 has a dedicated multicast range (ff00::/8) with hard restrictions based on flags (third nibble) and scopes (fourth nibble). You need to take these flags and scopes into account when deciding on which multicast address(es) to use. Still, you have a ridiculously large number of multicast addresses which may be used. It is important for your company to define a unified, consistent multicast policy, otherwise it can get out of hand pretty quickly.

7
  • Is it likely that multicast in its current form will work on the Internet in the future? It sounds like it would really only work for a small number of multicast addresses - perhaps just the IANA permanent ones being used for Internet infrastructure?
    – MikeB
    Feb 13, 2016 at 19:30
  • 1
    You will never get the ISPs to agree to DM multicast, and SM multicast requires RPs. Who will pay for and own the RPs? Remember that "the Internet" is really just a bunch of separate, for-profit companies connected together, and you would need to require each and every one of them to set up the same unified multicast routing policy. That seems nearly impossible.
    – Ron Maupin
    Feb 13, 2016 at 19:34
  • I guess if you want to get the benefits of multicast on the internet you will need to implement it at a higher level with some overlay routing network.
    – MikeB
    Feb 13, 2016 at 19:34
  • Exactly, you need to set up tunnels from site to site which can encapsulate your multicast traffic.
    – Ron Maupin
    Feb 13, 2016 at 19:35
  • 1
    My company is rather large, larger than many ISPs, and we have a pretty good unified multicast policy and implementation. Multicast just isn't really all that useful across networks. There is a relatively small number of applications which use it.
    – Ron Maupin
    Feb 13, 2016 at 19:38
1

The problem with multicast is that it requires routers to keep a lot of additional state.

Each "multicast group" for which traffic passes through a router must be tracked in the routers memory along with a list of what ports the router should forward traffic from that multicast group to.

Most ISPs consider that too much of a burden. So while global-scope multicast addresses do exist they are only likely to work over specialist networks that explicitly support them, not over the internet in general.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.