Skip to content

Commit 05f0e71

Browse files
Merge pull request #272038 from anavinahar/patch-278
Update load-balancer-floating-ip.md
2 parents 689603e + 87a4a6e commit 05f0e71

File tree

1 file changed

+36
-1
lines changed

1 file changed

+36
-1
lines changed

articles/load-balancer/load-balancer-floating-ip.md

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: load-balancer
55
author: mbender-ms
66
ms.service: load-balancer
77
ms.topic: how-to
8-
ms.date: 02/28/2023
8+
ms.date: 04/12/2024
99
ms.author: mbender
1010
ms.custom: template-how-to, engagement-fy23
1111
---
@@ -32,6 +32,41 @@ In the diagrams, you see how IP address mapping works before and after enabling
3232

3333
You configure Floating IP on a Load Balancer rule via the Azure portal, REST API, CLI, PowerShell, or other client. In addition to the rule configuration, you must also configure your virtual machine's Guest OS in order to use Floating IP.
3434

35+
:::image type="content" source="media/load-balancer-multivip-overview/load-balancer-multivip-dsr.png" alt-text="Diagram of load balancer traffic for multiple frontend IPs with floating IP.":::
36+
37+
For this scenario, every VM in the backend pool has three network interfaces:
38+
39+
* Backend IP: a Virtual NIC associated with the VM (IP configuration of Azure's NIC resource).
40+
* Frontend 1 (FIP1): a loopback interface within guest OS that is configured with IP address of FIP1.
41+
* Frontend 2 (FIP2): a loopback interface within guest OS that is configured with IP address of FIP2.
42+
43+
Let's assume the same frontend configuration as in the previous scenario:
44+
45+
| Frontend | IP address | protocol | port |
46+
| --- | --- | --- | --- |
47+
| ![green frontend](./media/load-balancer-multivip-overview/load-balancer-rule-green.png) 1 |65.52.0.1 |TCP |80 |
48+
| ![purple frontend](./media/load-balancer-multivip-overview/load-balancer-rule-purple.png) 2 |*65.52.0.2* |TCP |80 |
49+
50+
We define two floating IP rules:
51+
52+
| Rule | Frontend | Map to backend pool |
53+
| --- | --- | --- |
54+
| 1 |![green rule](./media/load-balancer-multivip-overview/load-balancer-rule-green.png) FIP1:80 |![green backend](./media/load-balancer-multivip-overview/load-balancer-rule-green.png) FIP1:80 (in VM1 and VM2) |
55+
| 2 |![purple rule](./media/load-balancer-multivip-overview/load-balancer-rule-purple.png) FIP2:80 |![purple backend](./media/load-balancer-multivip-overview/load-balancer-rule-purple.png) FIP2:80 (in VM1 and VM2) |
56+
57+
The following table shows the complete mapping in the load balancer:
58+
59+
| Rule | Frontend IP address | protocol | port | Destination | port |
60+
| --- | --- | --- | --- | --- | --- |
61+
| ![green rule](./media/load-balancer-multivip-overview/load-balancer-rule-green.png) 1 |65.52.0.1 |TCP |80 |same as frontend (65.52.0.1) |same as frontend (80) |
62+
| ![purple rule](./media/load-balancer-multivip-overview/load-balancer-rule-purple.png) 2 |65.52.0.2 |TCP |80 |same as frontend (65.52.0.2) |same as frontend (80) |
63+
64+
The destination of the inbound flow is now the frontend IP address on the loopback interface in the VM. Each rule must produce a flow with a unique combination of destination IP address and destination port. Port reuse is possible on the same VM by varying the destination IP address to the frontend IP address of the flow. Your service is exposed to the load balancer by binding it to the frontend’s IP address and port of the respective loopback interface.
65+
66+
You notice the destination port doesn't change in the example. In floating IP scenarios, Azure Load Balancer also supports defining a load balancing rule to change the backend destination port and to make it different from the frontend destination port.
67+
68+
The Floating IP rule type is the foundation of several load balancer configuration patterns. One example that is currently available is the [Configure one or more Always On availability group listeners](/azure/azure-sql/virtual-machines/windows/availability-group-listener-powershell-configure) configuration. Over time, we'll document more of these scenarios. For more detailed information on the specific Guest OS configurations required to enable Floating IP, please refer to [Azure Load Balancer Floating IP configuration](load-balancer-floating-ip.md) in the next section.
69+
3570
## Floating IP Guest OS configuration
3671

3772
In order to function, you configure the Guest OS for the virtual machine to receive all traffic bound for the frontend IP and port of the load balancer. Configuring the VM requires:

0 commit comments

Comments
 (0)