Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the state of multicast support in consumer grade routers

I am designing a system which has multiple small embedded systems hosts communicating in a LAN. UDP multicast fits nicely for my purpose.

But I am worried about multicast support in commonplace routers. I need to deploy the system to normal households equipped with a Wifi router, so I could encounter any kind of routers. I will use UDP broadcast if multicast will be more trouble than benefit.

To decide, I am thankful for any data or experience on multicast support in today's commonplace routers:

  • Do all consumer routers sold today support multicast reasonably? Limitation to LAN is not an issue for me, I do not need multicast across the Internet.
  • How about older routers?
  • Are there any big issues in commonplace multicast implementations I need to be aware of (e.g. packet drops, configuration issues, etc.)?
like image 475
henning77 Avatar asked Feb 21 '12 14:02

henning77


People also ask

What is the multicast IP range?

The IP address that defines a multicast group is a Class D address (224.0. 0.0 to 239.255. 255.255). Multicast addresses cannot be used as source addresses for any traffic.

Should I enable multicast routing?

Multicast is more efficient For one, multicast routing is more efficient than unicast routing. With broadcast routing, all devices will receive the stream whether or not they have joined a specific multicast group. Only devices that want to receive the multicast stream will join a multicast group.

How do routers determine that an incoming IP packet is to be multicast?

Routers closely monitor the status of the incoming and outgoing interfaces, a process that determines the multicast forwarding state. A router with a multicast forwarding state for a particular multicast group is essentially “turned on” for that group's content.

What is multicast filtering?

Multicast is a form of communication that allows multiple transmissions of multimedia and streaming data to specific recipients at the same time. Enabling the Filter multicast feature on your Linksys router lets you sort out selective multiple transmissions for devices connected to the network.


2 Answers

Are you talking switches or routers? In a consumer setting I suspect switches. My experience is that they all support multicast, though not at wire speed. Also the cheap ones tend to broadcast any multicast traffic to all ports (no IGMP snooping). Packet loss is definitely something you need to deal with, it can and will happen even on 'professional' networking gear.

Edit: as long as you are in switched network, you typically don't need to configure anything.

like image 126
eile Avatar answered Oct 23 '22 13:10

eile


In many scenarios the equipment either does not support IGMP spoofing, or it is off by default. There are two problems:

  • Any wireless interface can be saturated by the traffic.

  • Poorly configured units may inadvertently route traffic out the default gateway stalling legitimate traffic.

In either case, you will have your equipment discarded as the cost of investigation will almost certainly outweigh the benefit received.

If your traffic has a limited rate and you are not concerned about the WiFi impact, you could use the local broadcast address to ensure delivery to recipients, without impacting on the routed communications.

You could install a discovery mechanism into your nodes it may be worthwhile to implement a unicast overlay to ensure that traffic does not have inadvertent impact.

A single larger group of customers with some non-compliant devices requesting support will swamp any costs associated with development or additional traffic caused by not implementing true multicasting.

like image 44
Pekka Avatar answered Oct 23 '22 13:10

Pekka