There are two application servers(IIS). There is a switch or a virtual IP which load balances requests for the 2 servers.
I need to track requestor(client) IP address from my .NET application.
The code Request.ServerVariables["REMOTE_ADDR"] is giving the switch IP address.
The request first hits switch then request is diverted to either of the server, in this process my application is getting switch IP address for that code and client IP is masked.
how to make the switch populate the x-forwarded-for header?