I have one of my Ubuntu machine-

rkost@rj-vm9-14105:~/infinispan/infinispan-server-6.0.0.Alpha1/bin$ uname -a

Linux rj-vm9-14105 2.6.35-22-server #33-Ubuntu SMP Sun Sep 19
20:48:58 UTC 2010 x86_64 GNU/Linux

how do I make sure multicast is enabled on my network interfaces and infrastructure?

I have tried several solutions but not able to understand whether it is actually enabled or not. I am trying to start the Infinispan server as the remote cache on both of my machines but somehow they are not able to form a cluster of two nodes so I am suspecting multicast feature is disabled somehow.

  • $ ip maddr will list mcast addresses. https://www.iana.org/assignments/multicast-addresses/multicast-addresses.xhtml lists IANA mcast IP addresses. $ ip addr | grep MULTICAST
    – noobninja
    Commented Dec 2, 2019 at 3:14

2 Answers 2


The default is that multicast is enabled.

You can force it on or off with ifconfig.


ifconfig eth0 multicast


ifconfig eth0 -multicast

To check which multicast groups are subscribed:

netstat -g

I don't see a control for multicast in NetowrkManager so if you need to force it on or off the simplest, least effort method would be to add the appropriate command to /etc/rc.local.

  • It looks like I have Multicast enabled. But the problem that I am facing is whenever I start Infinispan server, they are not able to form cluster. So that means somehow they are not able to communicate with each other bcoz of this Multicast. Does it listen on some port? Something like that I need to make sure of?
    – arsenal
    Commented Jul 19, 2013 at 21:43

To check if multicast is enabled on the interface do a "ifconfig eth0" and look for: MULTICAST

  • 1
    it might be worth noting that just because it's enabled, doesn't mean it's subscribed to any addresses. Commented Jul 19, 2013 at 20:16
  • or able to communicate with each other if multicast is not routed between the affected nodes Commented Feb 16, 2016 at 13:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .