setup multicast between 3 linux servers

How do i setup multicast between 3  linux servers,  all are running centos.  I am trying to understand how multicast works.
mokkanAsked:
Who is Participating?
 
mokkanAuthor Commented:
Thank you very much, but does router should support multicast?
0
 
expert1010Commented:
I presume ip-multicast here and no routing daemon for multicast (like pimd etc.)

Check that you have multicast enabled.
ip a sh | grep -i multicast

Add multicast to your routing table.
ip r a 224.0.0.0/4 dev  <yournetwrokinterface> scope link

like this for eth0
ip r a 224.0.0.0/4 dev eth0 scope link

or the old way
route add -net 224.0.0.0 netmask 240.0.0.0 dev <yournetwrokinterface>

check it:
ip route sh

ping 224.0.0.1

You should get some answers from multicast enabled units on your network. Possibly a few DUP also.

If no answer your problem is in between. Ie local firewall, external firewall, switch with broken broadcaststorm prevention, router etc.
0
 
mokkanAuthor Commented:
thank you for the helps.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.