A non-transitory computer-readable storage medium provided in a first device belonging to an Ethernet virtual private network (EVPN) and an Ethernet segment (ES), the ES including a second device and a third device, the second device also belonging to the EVPN, the third device being multihomed to the first device and the second device via the ES, and the first and second devices having snooping enabled for multicast group messages, the non-transitory computer-readable storage medium storing processor-executable instructions which, when executed by at least one processor of the first device, cause the at least one processor to perform a method comprising:
- 1) detecting, on a first interface of the first device, from the third device via the ES, a multicast query message, wherein the multicast query message is not detected by the second device via the ES;
- 2) marking the first interface of the first device as a multicast router port;
- 3) generating a message identifying the ES and including information encoding that the multicast query message was detected on the ES;
- and
- 4) sending, via the EVPN, the message generated to the second device so that the second device will mark an interface, on the ES, with the third device, as a multicast router port.