Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Linux router (Ubuntu). It is working well with unicast but with multicast routing/forwarding I have some trouble.

The problem is that my hosts do not send igmp/mld messages thus the router does not learn that there are interested parties on a link.

How can I manually configure the forwarding. So that multicasts coming to eth0 are forwarded out eth1.

I was trying to make it work with the following command: route add -net netmask eth0

But this seems only to be used for outgoing traffic.

I also tried out smcroute, but this daemon does not work on my Ubuntu.

Is it possible with iptables to do the forwarding? Or with this route add command?


share|improve this question

A little late on this one, but here is a pretty solid guide At the end he mentions:

iptables -t mangle -A OUTPUT -d <group> -j TTL --ttl-set <num>

But my understanding is that you would want your network switches to handle the igmp querying/forwarding which your router would then use.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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