VMware Networking Community
ivanunnio
Enthusiast
Enthusiast
Jump to solution

Load Balancing nsx how Enable Analitic based on source IP

Hello guys,
Would someone know tell me how I can enable analytics on the source IP of the balancer on the Edge?
Thank you

0 Kudos
1 Solution

Accepted Solutions
lhoffer
VMware Employee
VMware Employee
Jump to solution

In your application profile, there's a checkbox you can select to have the ESG insert an X-Forwarded-For HTTP header which references the source IP on the load balanced traffic.

View solution in original post

0 Kudos
5 Replies
lhoffer
VMware Employee
VMware Employee
Jump to solution

In your application profile, there's a checkbox you can select to have the ESG insert an X-Forwarded-For HTTP header which references the source IP on the load balanced traffic.

0 Kudos
ivanunnio
Enthusiast
Enthusiast
Jump to solution

Hi

This is  ?

pastedImage_0.png

0 Kudos
lhoffer
VMware Employee
VMware Employee
Jump to solution

Yes, checking that box will cause the LB to append an X-Forwarded-For HTTP header with the original source IP.

0 Kudos
ivanunnio
Enthusiast
Enthusiast
Jump to solution

But th source ip i must change this ?

pastedImage_0.png

0 Kudos
lhoffer
VMware Employee
VMware Employee
Jump to solution

No, inserting the X-Forwarded-For header doesn't actually manipulate the IP address in the IP header so has no effect on persistence, it just adds the HTTP header at layer 7 that references the original source IP (especially useful incases like a one-armed deployment model where the LB is performing source NAT as it allows the terminating server in the pool to still have a way to tell what the originating IP was for analytics purposes).

0 Kudos