1. A method, comprising: determining, by a device in a network, whether a destination address of a packet received by the device is within a neighbor discovery (ND) cache of the device; based on determining that the destination address of the second packet is within the ND cache of the device, forwarding, by the device, a second packet received by the device to a destination address of the second packet; based on determining that the destination address of the packet is not within the ND cache, determining, by the device, whether the destination address is possibly in or is not in a set of addresses used to generate a Bloom filter; performing, by the device, address resolution for the destination address of the packet, based on determining that the destination address of the packet is possibly in the set of addresses used to generate the Bloom filter; dropping, by the device, the packet received by the device, based on determining that the destination address is not in the set of addresses used to generate the Bloom filter; receiving, at the device, a plurality of Bloom filters from a plurality of switches in the network; and merging, by the device, the plurality of Bloom filters.