I am planning on setting up network load balancing for 2 web servers and I'm trying to understand how the cluster IP address works with the MAC addresses and ARP on a layer 2 managed switch. I've read a few Microsoft articles but it's still not very clear.
Let's say I ping the cluster IP address. The switch will look in its ARP table and see if there's a corresponding MAC address. once it figures out the mac address then it maps it to a port and I can look in the mac address table to figure out what port it's on.
How does the switch know what port to send the traffic to each time if the mac-address is bound to a specific port?