Hello @Anonymous ,
Azure Load Balancer supports two distribution modes for routing connections to your load-balanced application:
- Hash based
- Source IP affinity
The default distribution mode for Azure Load Balancer is a five-tuple hash.
Hash-based mode has one configuration type:
- None (hash-based) - Specifies that successive requests from the same client may be handled by any virtual machine.
Source IP affinity mode has two configuration types:
- Client IP (source IP affinity 2-tuple) - Specifies that successive requests from the same client IP address will be handled by the same virtual machine.
- Client IP and protocol (source IP affinity 3-tuple) - Specifies that successive requests from the same client IP address and protocol combination will be handled by the same virtual machine.
If you want your load balancer to distribute the same session traffic to just NVA1, then you may need to configure Source IP affinity mode with one of the available configuration type (2-tuple or 3-tuple depending upon your setup & requirement).
Please refer below articles for more information:
https://learn.microsoft.com/en-us/azure/load-balancer/distribution-mode-concepts
https://learn.microsoft.com/en-us/azure/load-balancer/load-balancer-distribution-mode?tabs=azure-portal
Kindly let us know if the above helps or you need further assistance on this issue.
----------------------------------------------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.