As you can see by my example, the physical servers are the same, balancing HTTP traffic between 3 of the same physical servers. But the virtual IPs are different. Thus I want to determine in my code between traffic that is coming via virtual IP 1.1.1.1 and 1.1.1.2.
What you can try is running the traffic from the load balancers through WAF. WAF will add the "X-Forwarded-For" header, which you can look for on the server.