You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/load-balancer/load-balancer-faqs.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,7 @@ sections:
87
87
- question: |
88
88
Can I access the frontend of my Internal Load Balancer from the participating backend pool VM?
89
89
answer: |
90
-
No, Azure Load Balancer does not support this scenario. To learn more about this topic, visit our [troubleshoot page](load-balancer-troubleshoot-backend-traffic.md#cause-4-accessing-the-internal-load-balancer-frontend-from-the-participating-load-balancer-backend-pool-vm).
90
+
No, Azure Load Balancer does not support this scenario. To learn more about this topic, visit our [troubleshoot page](load-balancer-troubleshoot-backend-traffic.md#cause-4-access-of-the-internal-load-balancer-frontend-from-the-participating-load-balancer-backend-pool-vm).
91
91
92
92
- question: |
93
93
What are best practices with respect to outbound connectivity?
This page provides troubleshooting information for Azure Load Balancer questions.
20
20
21
-
## VMs behind Load Balancer are receving uneven distribution of traffic
21
+
## Virtual machines behind a load balancer are receiving uneven distribution of traffic
22
+
22
23
If you suspect backend pool members are receiving traffic, it could be due to the following causes. Azure Load Balancer distributes traffic based on connections. Be sure to check traffic distribution per connection and not per packet. Verify using the **Flow Distribution** tab in your pre-configured [Load Balancer Insights dashboard](load-balancer-insights.md#flow-distribution).
23
24
24
-
Note that Azure Load Balancer doesn't support true round robin load balancing but supports a hash based [distribution mode](distribution-mode-concepts.md).
25
+
Azure Load Balancer doesn't support true round robin load balancing but supports a hash based [distribution mode](distribution-mode-concepts.md).
25
26
26
27
## Cause 1: You have session persistence configured
27
28
28
-
Using source persistence distribution mode can cause an uneven distribution of traffic.
29
-
If this is not desired, update session persistence to be **None** so traffic is distributed across all healthy instances in the backend pool. Learn more about [distribution modes for Azure Load Balancer](distribution-mode-concepts.md).
29
+
Using source persistence distribution mode can cause an uneven distribution of traffic. If this distribution isn't desired, update session persistence to be **None** so traffic is distributed across all healthy instances in the backend pool. Learn more about [distribution modes for Azure Load Balancer](distribution-mode-concepts.md).
30
30
31
31
## Cause 2: You have a proxy configured
32
32
33
-
Clients that run behind proxies might be seen as one unique client application from the Load Balancer's point of view.
33
+
Clients that run behind proxies might be seen as one unique client application from the load balancer's point of view.
34
+
35
+
## VMs behind a load balancer aren't responding to traffic on the configured data port
36
+
37
+
If a backend pool VM is listed as healthy and responds to the health probes, but is still not participating in the load balancing, or isn't responding to the data traffic, it may be due to any of the following reasons:
38
+
39
+
* A load balancer backend pool VM isn't listening on the data port
34
40
35
-
## VMs behind Load Balancer are not responding to traffic on the configured data port
41
+
* Network security group is blocking the port on the load balancer backend pool VM
36
42
37
-
If a backend pool VM is listed as healthy and responds to the health probes, but is still not participating in the Load Balancing, or is not responding to the data traffic, it may be due to any of the following reasons:
38
-
* Load Balancer Backend pool VM is not listening on the data port
39
-
* Network security group is blocking the port on the Load Balancer backend pool VM
40
-
* Accessing the Load Balancer from the same VM and NIC
41
-
* Accessing the Internet Load Balancer frontend from the participating Load Balancer backend pool VM
43
+
* Accessing the load balancer from the same VM and NIC
42
44
43
-
## Cause 1: Load Balancer backend pool VM is not listening on the data port
45
+
* Accessing the Internet load balancer frontend from the participating load balancer backend pool VM
44
46
45
-
If a VM does not respond to the data traffic, it may be because either the target port is not open on the participating VM, or, the VM is not listening on that port.
47
+
## Cause 1: A load balancer backend pool VM isn't listening on the data port
48
+
49
+
If a VM doesn't respond to the data traffic, it may be because either the target port isn't open on the participating VM, or, the VM isn't listening on that port.
46
50
47
51
**Validation and resolution**
48
52
49
-
1. Log in to the backend VM.
50
-
2. Open a command prompt and run the following command to validate there is an application listening on the data port:
51
-
netstat -an
52
-
3. If the port is not listed with State "LISTENING", configure the proper listener port
53
-
4. If the port is marked as Listening, then check the target application on that port for any possible issues.
53
+
1. Sign in to the backend VM.
54
+
55
+
2. Open a command prompt and run the following command to validate there's an application listening on the data port:
56
+
57
+
```cmd
58
+
netstat -an
59
+
```
60
+
61
+
3. If the port isn't listed with state **LISTENING**, configure the proper listener port
62
+
63
+
4. If the port is marked as **LISTENING**, then check the target application on that port for any possible issues.
54
64
55
-
## Cause 2: Network security group is blocking the port on the Load Balancer backend pool VM
65
+
## Cause 2: A network security group is blocking the port on the load balancer backend pool VM
56
66
57
67
If one or more network security groups configured on the subnet or on the VM, is blocking the source IP or port, then the VM is unable to respond.
58
68
59
69
For the public load balancer, the IP address of the Internet clients will be used for communication between the clients and the load balancer backend VMs. Make sure the IP address of the clients are allowed in the backend VM's network security group.
60
70
61
71
1. List the network security groups configured on the backend VM. For more information, see [Manage network security groups](../virtual-network/manage-network-security-group.md)
62
-
1. From the list of network security groups, check if:
63
-
- the incoming or outgoing traffic on the data port has interference.
64
-
- a **Deny All** network security group rule on the NIC of the VM or the subnet that has a higher priority that the default rule that allows Load Balancer probes and traffic (network security groups must allow Load Balancer IP of 168.63.129.16, that is probe port)
65
-
1. If any of the rules are blocking the traffic, remove and reconfigure those rules to allow the data traffic.
66
-
1. Test if the VM has now started to respond to the health probes.
67
72
68
-
## Cause 3: Accessing the Load Balancer from the same VM and Network interface
73
+
2. From the list of network security groups, check if:
74
+
75
+
- The incoming or outgoing traffic on the data port has interference.
76
+
77
+
- A **Deny All** network security group rule on the NIC of the VM or the subnet that has a higher priority that the default rule that allows the load balancer probes and traffic (network security groups must allow load balancer IP of 168.63.129.16, that is probe port)
69
78
70
-
If your application hosted in the backend VM of a Load Balancer is trying to access another application hosted in the same backend VM over the same Network Interface, it is an unsupported scenario and will fail.
79
+
3. If any of the rules are blocking the traffic, remove and reconfigure those rules to allow the data traffic.
80
+
81
+
4. Test if the VM has now started to respond to the health probes.
82
+
83
+
## Cause 3: Access of the load balancer from the same VM and network interface
84
+
85
+
If your application hosted in the backend VM of a load balancer is trying to access another application hosted in the same backend VM over the same network interface, it's an unsupported scenario and will fail.
71
86
72
87
**Resolution**
88
+
73
89
You can resolve this issue via one of the following methods:
90
+
74
91
* Configure separate backend pool VMs per application.
75
-
* Configure the application in dual NIC VMs so each application was using its own Network interface and IP address.
76
92
77
-
## Cause 4: Accessing the internal Load Balancer frontend from the participating Load Balancer backend pool VM
93
+
* Configure the application in dual NIC VMs so each application was using its own network interface and IP address.
94
+
95
+
## Cause 4: Access of the internal load balancer frontend from the participating load balancer backend pool VM
78
96
79
-
If an internal Load Balancer is configured inside a VNet, and one of the participant backend VMs is trying to access the internal Load Balancer frontend, failures can occur when the flow is mapped to the originating VM. This scenario is not supported.
97
+
If an internal load balancer is configured inside a virtual network, and one of the participant backend VMs is trying to access the internal load balancer frontend, failures can occur when the flow is mapped to the originating VM. This scenario isn't supported.
80
98
81
99
**Resolution**
82
-
There are several ways to unblock this scenario, including using a proxy. Evaluate Application Gateway or other 3rd party proxies (for example, nginx or haproxy). For more information about Application Gateway, see [Overview of Application Gateway](../application-gateway/overview.md)
100
+
101
+
There are several ways to unblock this scenario, including using a proxy. Evaluate Application Gateway or other third party proxies (for example, nginx or haproxy). For more information about Application Gateway, see [Overview of Application Gateway](../application-gateway/overview.md)
83
102
84
103
**Details**
85
-
Internal Load Balancers don't translate outbound originated connections to the front end of an internal Load Balancer because both are in private IP address space. Public Load Balancers provide [outbound connections](load-balancer-outbound-connections.md) from private IP addresses inside the virtual network to public IP addresses. For internal Load Balancers, this approach avoids potential SNAT port exhaustion inside a unique internal IP address space, where translation isn't required.
86
104
87
-
A side effect is that if an outbound flow from a VM in the back-end pool attempts a flow to front end of the internal Load Balancer in its pool _and_ is mapped back to itself, the two legs of the flow don't match. Because they don't match, the flow fails. The flow succeeds if the flow didn't map back to the same VM in the back-end pool that created the flow to the front end.
105
+
Internal load balancers don't translate outbound originated connections to the front end of an internal load balancer because both are in private IP address space. Public load balancers provide [outbound connections](load-balancer-outbound-connections.md) from private IP addresses inside the virtual network to public IP addresses. For internal load balancers, this approach avoids potential SNAT port exhaustion inside a unique internal IP address space, where translation isn't required.
106
+
107
+
A side effect is that if an outbound flow from a VM in the back-end pool attempts a flow to front end of the internal load balancer in its pool _and_ is mapped back to itself, the two legs of the flow don't match. Because they don't match, the flow fails. The flow succeeds if the flow didn't map back to the same VM in the back-end pool that created the flow to the front end.
88
108
89
109
When the flow maps back to itself, the outbound flow appears to originate from the VM to the front end and the corresponding inbound flow appears to originate from the VM to itself. From the guest operating system's point of view, the inbound and outbound parts of the same flow don't match inside the virtual machine. The TCP stack won't recognize these halves of the same flow as being part of the same flow. The source and destination don't match. When the flow maps to any other VM in the back-end pool, the halves of the flow do match and the VM can respond to the flow.
90
110
91
-
The symptom for this scenario is intermittent connection timeouts when the flow returns to the same backend that originated the flow. Common workarounds include insertion of a proxy layer behind the internal Load Balancer and using Direct Server Return (DSR) style rules. For more information, see [Multiple Frontends for Azure Load Balancer](load-balancer-multivip-overview.md).
111
+
The symptom for this scenario is intermittent connection timeouts when the flow returns to the same backend that originated the flow. Common workarounds include insertion of a proxy layer behind the internal load balancer and using Direct Server Return (DSR) style rules. For more information, see [Multiple frontends for Azure Load Balancer](load-balancer-multivip-overview.md).
92
112
93
-
You can combine an internal Load Balancer with any third-party proxy or use internal [Application Gateway](../application-gateway/overview.md) for proxy scenarios with HTTP/HTTPS. While you could use a public Load Balancer to mitigate this issue, the resulting scenario is prone to [SNAT exhaustion](load-balancer-outbound-connections.md). Avoid this second approach unless carefully managed.
113
+
You can combine an internal load balancer with any third-party proxy or use internal [Application Gateway](../application-gateway/overview.md) for proxy scenarios with HTTP/HTTPS. While you could use a public load balancer to mitigate this issue, the resulting scenario is prone to [SNAT exhaustion](load-balancer-outbound-connections.md). Avoid this second approach unless carefully managed.
94
114
95
115
## Next steps
96
116
97
-
If the preceding steps do not resolve the issue, open a [support ticket](https://azure.microsoft.com/support/options/).
117
+
If the preceding steps don't resolve the issue, open a [support ticket](https://azure.microsoft.com/support/options/).
0 commit comments