I have a doubt with glbp
In the figure that i have attached,
let's assume that the client1 issued an arp broadcast request, so the switch will have the source mac add of client1 in the mac address table and the port no , the avg will send an arp reply with the virtual mac address and the switch will record the virtual mac and the port no of the source, which in this case is the virtual mac address of Router A.
i found no doubt in the above but,
when the client2 issues an arp, the avg(RA) will receive it and will send the virtual mac address of the avf(Router B), so now the swich will record the mac address of the sender which in this case is virtual mac addr of Router B (but given by Router A), so In the switch cam table, mac addr will be the virtual mac addr of routerb, but the port no recorded by the switch would be that of the port on which the routerA is present as it was the replier to the arp query,
So how does a switch know that it has to forward the frames to routerB as the replier to the arp query fro client B was Router A and its port is recorded by the switch.