Automatic Allocation of Multicast Addresses. To mitigate security attacks in a Zeroconf network, the best approach is to perform an authentication test on Address Allocation Protocol (AAP) messages. Since multicast routing protocols cannot prevent an unauthorized entity from sending fraudulent messages or joining multicast groups, therefore the highly recommended solution is to use IPSec, which is capable of providing confidentiality as well as the integrity of the AAP messages.