That depends on the network hardware you use.
Most times multicast is enabled for D-subnet (mean x.x.x.### only the last part of ip address should be different). All other posibilities must be explicit configured.
You might test it with the JGroups tools here