Configuring multicast

The following sample code displays the defaults for the multicast configuration for Product Master. Do not change these settings unless you are familiar with multicast configuration. The address and the ttl values are defined in the env_settings.ini file. The configure_env.sh script will write these values to the appropriate xml file.

[cache]
# multicast ip addr for MDMPIM cache.  Must be unique on the LAN
multicast_addr=239.0.10.1
# TTL for multicast packets.  Set to 0 for single-machine installations or 1 for clusters
multicast_ttl=0
In the mdm-ehcache-config.xml file, the defaults are as follows:
<cacheManagerPeerProviderFactory
        class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
        properties="peerDiscovery=automatic,
                    multicastGroupAddress=239.0.10.1,
                    multicastGroupPort=4446, timeToLive=0"/>
Ensure that use a unique multicast_addr for each multicast application on your network. A different multicastGroupPort would serve the same purpose.
Note: There is a very specific range of IP addresses that can be used for multicast: 224.0.0.0 to 239.255.255.255.