Say for example two routers (R1 and R2) are connected to the same switch (SW1) and both routers have Gateway Load Balancing Protocol (GLBP) correctly configured as the First-Hop Redundancy Protocol (FHRP) solution. Router 1 has been elected the Active Virtual Gateway (AVG) and is in charge of assigning virtual MAC addresses to the Active Virtual Forwarders (AVF).
MY QUESTION: Since Router 1 is the AVG, it is the only router responding to ARP Requests, when it is performing load balancing (alternating the virtual MAC address used in the ARP Replies) won't that confuse the MAC address table on the switch? Won't the switch think that both virtual MAC addresses are on that one interface connected to R1 by learning it from the ARP Replies? So now, the switch will forward frames with the destination of R2's virtual MAC address through the interface connected to R1 (where the ARP Replies came from) instead of the interface that R2 is connected to.
Does GLBP correct this by automatically making R2 send a gratuitous ARP Reply right after R1 makes the initial reply?