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/virtual-network/ip-services/virtual-network-multiple-ip-addresses-portal.md
+24-29Lines changed: 24 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
---
2
-
title: Assign multiple IP addresses to VMs - Azure portal
2
+
title: Assign multiple IP addresses to virtual machines - Azure portal
3
3
description: Learn how to assign multiple IP addresses to a virtual machine using the Azure portal.
4
4
services: virtual-network
5
-
ms.date: 03/22/2024
5
+
ms.date: 02/06/2024
6
6
ms.author: mbender
7
7
author: mbender-ms
8
8
ms.service: azure-virtual-network
@@ -16,11 +16,9 @@ An Azure Virtual Machine (VM) has one or more network interfaces (NIC) attached
16
16
17
17
Assigning multiple IP addresses to a VM enables the following capabilities:
18
18
19
-
* Hosting multiple websites or services with different IP addresses and TLS/SSL certificates on a single server.
20
-
21
-
* Serve as a network virtual appliance, such as a firewall or load balancer.
22
-
23
-
* The ability to add any (primary or secondary) private IP addresses of the NICs to an Azure Load Balancer backend pool. For more information about load balancing multiple IP configurations, see [Load balancing multiple IP configurations](../../load-balancer/load-balancer-multiple-ip.md?toc=%2fazure%2fvirtual-network%2ftoc.json) and [Outbound rules](../../load-balancer/outbound-rules.md#limitations).
19
+
- Hosting multiple websites or services with different IP addresses and TLS/SSL certificates on a single server.
20
+
- Serve as a network virtual appliance, such as a firewall or load balancer.
21
+
- The ability to add any (primary or secondary) private IP addresses of the NICs to an Azure Load Balancer backend pool. For more information about load balancing multiple IP configurations, see [Load balancing multiple IP configurations](../../load-balancer/load-balancer-multiple-ip.md?toc=%2fazure%2fvirtual-network%2ftoc.json) and [Outbound rules](../../load-balancer/outbound-rules.md#limitations).
24
22
25
23
Every NIC attached to a VM has one or more IP configurations associated to it. Each configuration is assigned one static or dynamic private IP address. Each configuration may also have one public IP address resource associated to it. To learn more about IP addresses in Azure, see [IP addresses in Azure](../../virtual-network/ip-services/public-ip-addresses.md).
26
24
@@ -39,7 +37,6 @@ This article explains how to add multiple IP addresses to a virtual machine usin
39
37
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
40
38
41
39
- An existing Azure virtual machine. For more information about creating a virtual machine, see [Create a Windows VM](/azure/virtual-machines/windows/quick-create-portal) or [Create a Linux VM](/azure/virtual-machines/linux/quick-create-portal).
42
-
43
40
- The example used in this article is named **myVM**. Replace this value with your virtual machine name.
44
41
45
42
> [!NOTE]
@@ -59,26 +56,24 @@ You can add a private and public IP address to an Azure network interface by com
59
56
60
57
3. In **Virtual machines**, select **myVM** or the name of your virtual machine.
5. Select the name of the network interface of the virtual machine. In this example, it's named **myvm889_z1**.
61
+
5.In **Network settings**, Select the name of the network interface and IP configuration of the virtual machine in the **Network interface / IP configuration** dropdown menu. The existing IP configuration is displayed. In this example, it's named **myvm138_z1 (primary) / ipconfig1 (primary)**.
65
62
66
-
:::image type="content" source="./media/virtual-network-multiple-ip-addresses-portal/select-nic.png" alt-text="Screenshot of myVM networking and network interface selection.":::
63
+
:::image type="content" source="./media/virtual-network-multiple-ip-addresses-portal/select-nic.png" alt-text="Screenshot of myVM networking and network interface selection.":::
67
64
68
-
6. In the network interface, select **IP configurations** in **Settings**.
69
-
70
-
7. The existing IP configuration is displayed. This configuration is created when the virtual machine is created. To add a private and public IP address to the virtual machine, select **+ Add**.
65
+
6. In **IP Configurations** To add a private and public IP address to the virtual machine, select **+ Add**.
71
66
72
67
8. In **Add IP configuration**, enter or select the following information.
73
68
74
-
| Setting | Value |
75
-
| ------- | ----- |
76
-
| Name | Enter **ipconfig2**. |
77
-
|**Private IP address settings**||
78
-
| Allocation | Select **Static**. |
79
-
| IP address | Enter an unused address in the network for your virtual machine. </br> For the 10.1.0.0/24 subnet in the example, an IP would be **10.1.0.5**. |
80
-
|**Public IP address**| Select **Associate**|
81
-
| Public IP address | Select **Create new**. </br> Enter **myPublicIP-2** in **Name**. </br> Select **Standard** in **SKU**. </br> Select **OK**. |
69
+
| Setting | Value |
70
+
| ------- | ----- |
71
+
| Name | Enter **ipconfig2**. |
72
+
|**Private IP address settings**||
73
+
| Allocation | Select **Static**. |
74
+
| Private IP address | Enter an unused address in the network for your virtual machine. </br> For the 10.1.0.0/24 subnet in the example, an IP would be **10.1.0.5**. |
75
+
|**Public IP address**| Select **Associate public IP address**|
76
+
| Public IP address | Select **Create a public IP address**. </br> Enter **public-ip-02** in **Name**. </br> Select **Standard** in **SKU**. </br> Select **OK**. |
82
77
83
78
9. Select **OK**.
84
79
@@ -102,20 +97,20 @@ You can add a private IP address to a virtual machine by completing the followin
102
97
103
98
5. Select the name of the network interface of the virtual machine. In this example, it's named **myvm889_z1**.
104
99
105
-
:::image type="content" source="./media/virtual-network-multiple-ip-addresses-portal/select-nic.png" alt-text="Screenshot of myVM networking and network interface selection.":::
100
+
:::image type="content" source="./media/virtual-network-multiple-ip-addresses-portal/select-nic.png" alt-text="Screenshot of myVM networking and network interface selection.":::
106
101
107
102
6. In the network interface, select **IP configurations** in **Settings**.
108
103
109
104
7. The existing IP configuration is displayed. This configuration is created when the virtual machine is created. To add a private and public IP address to the virtual machine, select **+ Add**.
110
105
111
106
8. In **Add IP configuration**, enter or select the following information.
112
107
113
-
| Setting | Value |
114
-
| ------- | ----- |
115
-
| Name | Enter **ipconfig3**. |
116
-
|**Private IP address settings**||
117
-
| Allocation | Select **Static**. |
118
-
| IP address | Enter an unused address in the network for your virtual machine. </br> For the 10.1.0.0/24 subnet in the example, an IP would be **10.1.0.6**. |
108
+
| Setting | Value |
109
+
| ------- | ----- |
110
+
| Name | Enter **ipconfig3**. |
111
+
|**Private IP address settings**||
112
+
| Allocation | Select **Static**. |
113
+
| IP address | Enter an unused address in the network for your virtual machine. </br> For the 10.1.0.0/24 subnet in the example, an IP would be **10.1.0.6**. |
0 commit comments