• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 454
  • Last Modified:

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.
0
mokkan
Asked:
mokkan
  • 2
2 Solutions
 
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 very much, but does router should support multicast?
0
 
mokkanAuthor Commented:
thank you for the helps.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now