1

We have been developing our Java applications under OSX for some time. Since switching to OSX Lion (version 10.7.1 now), we see sporadic issues around multicast packets going into the bit bucket and we don't know why. These are unit tests that are in the same VM connecting across the loopback. Sometimes disabling an interface resolves this. Other times it doesn't.

My only guess at this time is that it is related to multicast membership on different interfaces. I've noticed that even if an interface is offline (rj45 not plugged in or wifi disabled) that multicast groups still are attached to the interface. Is that proper?

IPv4 Multicast Group Memberships
Group                   Link-layer Address      Netif
224.0.0.251             <none>                  lo0
224.0.75.75             <none>                  lo0
228.10.0.10             <none>                  lo0
224.0.0.1               <none>                  lo0
224.0.0.251             1:0:5e:0:0:fb           en1 << offline
224.0.75.75             1:0:5e:0:4b:4b          en1 << offline
224.0.0.1               1:0:5e:0:0:1            en0
224.0.0.251             1:0:5e:0:0:fb           en0
224.0.75.75             1:0:5e:0:4b:4b          en0

Is there any way to tune these memberships? I've tried various commands with route (del and others) and ifconfig (up/down) to no avail. Am I barking down the wrong hole with this?

Thanks.

EDIT:

Turns out that if I unplug by hardwired ethernet and disable Wifi then my test can discover each other over multicast. But if either interface is enabled, it does not work.

2
  • Can you provide some more detail about what commands you tried with route and ifconfig? Also can you provide some more insight about what the network configuration is that you are trying to achieve success with? Do you need to talk between machines on a lan, or just localhost? We also have a java app using jgroups and haven't run into these issues on Lion, it sounds like the app isn't binding its multicast groups properly at first glance.
    – polynomial
    Sep 22, 2011 at 1:06
  • I've updated the question. I just tried route del and others and ifconfig down and up and others. These are unit tests in the same VM connecting across loopback.
    – Gray
    Sep 22, 2011 at 13:59

0

You must log in to answer this question.

Browse other questions tagged .