|
1 | 1 | ---
|
2 |
| -title: Load balancing on multiple IP configurations using Azure CLI |
3 |
| -titleSuffix: Azure Load Balancer |
4 |
| -description: Learn how to assign multiple IP addresses to a virtual machine using Azure CLI. |
5 |
| -services: virtual-network |
6 |
| -author: mbender-ms |
7 |
| -ms.service: azure-load-balancer |
8 |
| -ms.topic: how-to |
9 |
| -ms.date: 06/28/2024 |
10 |
| -ms.author: mbender |
11 |
| -ms.custom: template-how-to, devx-track-azurecli |
| 2 | + title: include file |
| 3 | + description: include file |
| 4 | + services: networking |
| 5 | + author: mbender-ms |
| 6 | + ms.service: networking |
| 7 | + ms.topic: include |
| 8 | + ms.date: 03/21/2025 |
| 9 | + ms.author: mbender |
| 10 | + ms.custom: include file |
12 | 11 | ---
|
13 | 12 |
|
14 |
| -# Load balancing on multiple IP configurations using Azure CLI |
15 |
| - |
16 |
| -> [!div class="op_single_selector"] |
17 |
| -> * [Portal](load-balancer-multiple-ip.md) |
18 |
| -> * [CLI](load-balancer-multiple-ip-cli.md) |
19 |
| -> * [PowerShell](load-balancer-multiple-ip-powershell.md) |
20 |
| -
|
21 |
| -This article describes how to use Azure Load Balancer with multiple IP addresses on a secondary network interface (NIC). For this scenario, we have two VMs running Windows, each with a primary and a secondary NIC. Each of the secondary NICs has two IP configurations. Each VM hosts both websites contoso.com and fabrikam.com. Each website is bound to one of the IP configurations on the secondary NIC. We use Azure Load Balancer to expose two frontend IP addresses, one for each website, to distribute traffic to the respective IP configuration for the website. This scenario uses the same port number across both frontends, as well as both backend pool IP addresses. |
22 |
| - |
23 | 13 | ## Steps to load balance on multiple IP configurations
|
24 | 14 |
|
25 | 15 | To achieve the scenario outlined in this article complete the following steps:
|
@@ -111,8 +101,6 @@ To achieve the scenario outlined in this article complete the following steps:
|
111 | 101 | az vm create --resource-group contosofabrikam --name VM2 --location westcentralus --os-type linux --nic-names VM2Nic1,VM2Nic2 --vnet-name VNet1 --vnet-subnet-name Subnet1 --availability-set myAvailabilitySet --vm-size Standard_DS3_v2 --storage-account-name mystorageaccount2 --image-urn canonical:UbuntuServer:16.04.0-LTS:latest --admin-username <your username> --admin-password <your password>
|
112 | 102 | ```
|
113 | 103 |
|
114 |
| -13. Finally, you must configure DNS resource records to point to the respective frontend IP address of the Load Balancer. You may host your domains in Azure DNS. For more information about using Azure DNS with Load Balancer, see [Using Azure DNS with other Azure services](../dns/dns-for-azure-services.md). |
| 104 | +13. Finally, you must configure DNS resource records to point to the respective frontend IP address of the Load Balancer. You may host your domains in Azure DNS. For more information about using Azure DNS with Load Balancer, see [Using Azure DNS with other Azure services](/azure/dns/dns-for-azure-services) |
| 105 | +
|
115 | 106 |
|
116 |
| -## Next steps |
117 |
| -- Learn more about how to combine load balancing services in Azure in [Using load-balancing services in Azure](../traffic-manager/traffic-manager-load-balancing-azure.md). |
118 |
| -- Learn how you can use different types of logs in Azure to manage and troubleshoot load balancer in [Log analytics for Azure Load Balancer](./monitor-load-balancer.md). |
0 commit comments