Skip to content

Commit c3383c4

Browse files
author
Jill Grant
authored
Merge pull request #281123 from mbender-ms/avnm-IPAM
Virtual network manager - Public Preview - IPAM docs
2 parents 9d03ad2 + a43ccb4 commit c3383c4

20 files changed

+292
-0
lines changed

articles/virtual-network-manager/TOC.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
href: concept-use-cases.md
3434
- name: limitations
3535
href: concept-limitations.md
36+
- name: IP address management
37+
href: concept-ip-address-management.md
3638
- name: Scope
3739
href: concept-network-manager-scope.md
3840
- name: Network groups
@@ -109,6 +111,8 @@
109111
href: how-to-configure-cross-tenant-portal.md
110112
- name: Configure cross-tenant connection - CLI
111113
href: how-to-configure-cross-tenant-cli.md
114+
- Name: Manage IP addresses
115+
href: how-to-manage-ip-addresses-network-manager.md
112116
- name: Monitoring
113117
items:
114118
- name: Configure Event Logs for Azure Virtual Network Manager
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
---
2+
title: What is IP address management (IPAM) in Azure Virtual Network Manager?
3+
description: Learn about IP address management (IPAM) in Azure Virtual Network Manager and how it can help you manage IP addresses in your virtual networks.
4+
author: mbender-ms
5+
ms.author: mbender
6+
ms.service: azure-virtual-network-manager
7+
ms.topic: how-to
8+
ms.date: 10/2/2024
9+
ms.custom: references_regions
10+
#customer intent: As a network administrator, I want to learn about IP address management (IPAM) in Azure Virtual Network Manager so that I can manage IP addresses in my virtual networks.
11+
---
12+
13+
# What is IP address management (IPAM) in Azure Virtual Network Manager?
14+
15+
[!INCLUDE [virtual-network-manager-ipam](../../includes/virtual-network-manager-ipam.md)]
16+
17+
In this article, you learn about the IP address management (IPAM) feature in Azure Virtual Network Manager and how it can help you manage IP addresses in your virtual networks. With Azure Virtual Network Manager's IP Address Management (IPAM), you can create pools for IP address planning, automatically assign nonoverlapping classless inter-domain routing (CIDR) addresses to Azure resources, and prevent address space conflicts across on-premises and multicloud environments.
18+
19+
## What is IP address management (IPAM)?
20+
21+
In Azure Virtual Network Manager, IP address management (IPAM) helps you centrally manage IP addresses in your virtual networks using IP address pools. The following are some key features of IPAM in Azure Virtual Network Manager:
22+
23+
- Create pools for IP address planning.
24+
25+
- Automatically assign nonoverlapped CIDRs to Azure resources.
26+
27+
- Reserve IPs for specific needs.
28+
29+
- Prevent Azure address space from overlapping on-premises and cloud environments.
30+
31+
- Monitor IP/CIDR usages and allocations in a pool.
32+
33+
- Support for IPv4 and IPv6 address pools.
34+
35+
## How does IPAM work in Azure Virtual Network Manager?
36+
37+
The IPAM feature in Azure Virtual Network Manager works through the following key components:
38+
- Managing IP Address Pools
39+
- Allocating IP addresses to Azure resources
40+
- Delegating IP address management permissions
41+
- Simplifying resource creation
42+
43+
### Manage IP address pools
44+
45+
IPAM allows network administrators to plan and organize IP address usage by creating pools with address spaces and respective sizes. These pools act as containers for groups of CIDRs, enabling logical grouping for specific networking purposes. You can create a structured hierarchy of pools, dividing a larger pool into smaller, more manageable pools, aiding in more granular control and organization of your network's IP address space.
46+
47+
There are two types of pools in IPAM:
48+
- Root pool: The first pool created in your instance is the root pool. This represents your entire IP address range.
49+
- Child pool: A child pool is a subset of the root pool or another child pool. You can create multiple child pools within a root pool or another child pool. You can have up to seven layers of pools
50+
51+
### Allocating IP addresses to Azure resources
52+
53+
When it comes to allocation, you can assign Azure resources with CIDRs, such as virtual networks, to a specific pool. This helps in identifying which CIDRs are currently in use. There's also the option to allocate static CIDRs to a pool, useful for occupying CIDRs that are either not currently in use within Azure or are part of Azure resources not yet supported by the IPAM service. Allocated CIDRs are released back to the pool if the associated resource is removed or deleted, ensuring efficient utilization and management of the IP space.
54+
55+
### Delegating permissions for IP address management
56+
57+
With IPAM, you can delegate permission to other users to utilize the IPAM pools, ensuring controlled access and management while democratizing pool allocation. These permissions allow users to see the pools they have access to, aiding in choosing the right pool for their needs.
58+
59+
Delegating permissions also allows others to view usage statistics and lists of resources associated with the pool. Within your network manager, complete usage statistics are available including:
60+
- The total number of IPs in pool.
61+
- The percentage of allocated pool space.
62+
63+
Additionally, it shows details for pools and resources associated with pools, giving a complete overview of the IP usages and aiding in better resource management and planning.
64+
65+
### Simplifying resource creation
66+
67+
When creating CIDR-supporting resources like virtual networks, CIDRs are automatically allocated from the selected pool, simplifying the resource creation process. The system ensures that the automatically allocated CIDRs don't overlap within the pool, maintaining network integrity and preventing conflicts.
68+
69+
## Permission requirements for IPAM in Azure Virtual Network Manager
70+
71+
When using IP address management, the **IPAM Pool User** role alone is sufficient for delegation. During the public preview, you also need to grant **Network Manager Read** access to ensure full discoverability of IP address pools and virtual networks across the Network Manager's scope. Without this role, users with only the **IPAM Pool User** role won't be able to see available pools and virtual networks.
72+
73+
Learn more about [Azure role-based access control (Azure RBAC)](../role-based-access-control/overview.md).
74+
75+
## Known issues
76+
77+
- When virtual networks are associated with an IPAM pool, peering sync may show as out of sync, even though peering is functioning correctly.
78+
- When a VNet is moved to a different subscription, the references in IPAM are not updated, leading to inconsistent management status.
79+
- When multiple requests for the same VNet are made, it can result in duplicate allocations entries.
80+
81+
## Next steps
82+
83+
> [!div class="nextstepaction"]
84+
> [Learn how to manage IP addresses in Azure Virtual Network Manager](./how-to-manage-ip-addresses-network-manager.md)
Lines changed: 173 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
1+
---
2+
title: Manage IP addresses with Azure Virtual Network Manager
3+
description: Learn how to manage IP addresses with Azure Virtual Network Manager by creating and assigning IP address pools to your virtual networks.
4+
author: mbender-ms
5+
ms.author: mbender
6+
ms.service: azure-virtual-network-manager
7+
ms.topic: how-to
8+
ms.date: 10/2/2024
9+
ms.custom: references_regions
10+
#customer intent: As a network administrator, I want to learn how to manage IP addresses with Azure Virtual Network Manager so that I can create and assign IP address pools to my virtual networks.
11+
---
12+
13+
# Manage IP addresses with Azure Virtual Network Manager
14+
15+
[!INCLUDE [virtual-network-manager-ipam](../../includes/virtual-network-manager-ipam.md)]
16+
17+
Azure Virtual Network Manager allows you to manage IP addresses by creating and assigning IP address pools to your virtual networks. This article shows you how to create and assign IP address pools to your virtual networks with IP address management (IPAM) in Azure Virtual Network Manager.
18+
19+
## Prerequisites
20+
21+
- An Azure subscription. If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/) before you begin.
22+
- An existing network manager instance. If you don't have a network manager instance, see [Create a network manager instance](create-virtual-network-manager-portal.md).
23+
- A virtual network that you want to associate with an IP address pool.
24+
- To manage IP addresses in your network manager, you have the **Network Contributor** role with [role-based access control](../role-based-access-control/quickstart-assign-role-user-portal.md) Classic Admin/legacy authorization isn't supported.
25+
26+
## Create an IP address pool
27+
28+
In this step, you create an IP address pool for your virtual network.
29+
30+
1. In the Azure portal, search for and select **Network managers**.
31+
2. Select your network manager instance.
32+
3. In the left menu, select **IP address pools (Preview)** under **IP address management (Preview)**.
33+
4. Select **+ Create** or **Create** to create a new IP address pool.
34+
5. In the **Create an IP address pool** window, enter the following information:
35+
36+
| Field | Description |
37+
| --- | --- |
38+
| **Name** | Enter a name for the IP address pool. |
39+
| **Description** | Enter a description for the IP address pool. |
40+
| **Parent pool** | For creating a **root pool**, leave default of **None**. For creating a **child pool**, select the parent pool. |
41+
42+
:::image type="content" source="media/how-to-manage-ip-addresses/create-root-pool.png" alt-text="Screenshot of Create an ip address pool settings for a root pool." :::
43+
44+
6. Select **Next** or the **IP addresses** tab.
45+
7. Under **Starting address**, enter the IP address range for the pool.
46+
47+
:::image type="content" source="media/how-to-manage-ip-addresses/set-pool-ip-range-thumb.png" alt-text="Screenshot of IP address range settings for a root pool." lightbox="media/how-to-manage-ip-addresses/set-pool-ip-range.png":::
48+
49+
8. Select **Review + create** and then **Create** to create the IP address pool.
50+
9. Repeat these steps for another root or child pool.
51+
52+
## Associate a virtual network with an IP address pool
53+
54+
In this step, you associate an existing virtual network with an IP address pool from the **Allocations** settings page in the IP address pool.
55+
56+
1. Browse to your network manager instance and select your IP address pool.
57+
2. From the left menu, select **Allocations** under **Settings** or select **Allocate**.
58+
3. In the **Allocations** window, select **+ Create** > **Associate resources**. The **Associate resources** option allocates a CIDR to an existing virtual network.
59+
60+
:::image type="content" source="media/how-to-manage-ip-addresses/pool-allocation-settings-associate-resource-thumb.png" alt-text="Screenshot of allocations page for associating resources." lightbox="media/how-to-manage-ip-addresses/pool-allocation-settings-associate-resource.png":::
61+
62+
4. In the **Select resources** window, select the virtual networks you want to associate with the IP address pool and then choose **Select**.
63+
64+
:::image type="content" source="media/how-to-manage-ip-addresses/associate-virtual-network-resources-thumb.png" alt-text="Screenshot of associate resources page with virtual networks selected." lightbox="media/how-to-manage-ip-addresses/associate-virtual-network-resources.png":::
65+
66+
5. Verify the virtual network is listed.
67+
68+
:::image type="content" source="media/how-to-manage-ip-addresses/ip-address-pool-allocation-statistics.png" alt-text="Screenshot of IP address pool allocations and statistics.":::
69+
70+
> [!Note]
71+
> In addition to associating resources, you can allocate address spaces to a child pool or a static CIDR block from the a pool's Allocations page.
72+
73+
## Create static CIDR blocks for a pool
74+
75+
In this step, you create a static CIDR block for a pool. This is helpful for allocating a space that is outside of Azure or Azure resources not supported by IPAM. For example, you can allocate a CIDR in the pool to the address space in your on-premises environment. Likewise, you can also use this for a space that is used by a Virtual WAN hub or Azure VMware Private Cloud.
76+
77+
1. Browse to your IP address pool.
78+
2. Select **Allocate** or **Allocations** under **Settings**.
79+
3. In the **Allocations** window, select **+ Create** > **Allocate static CIDRs**.
80+
4. In the **Allocate static CIDRs from pool** window, enter the following information:
81+
82+
| Field | Description |
83+
| --- | --- |
84+
| **Name** | Enter a name for the static CIDR block.|
85+
| **Description** | Enter a description for the static CIDR block. |
86+
| **CIDR** | Enter the CIDR block. |
87+
88+
:::image type="content" source="media/how-to-manage-ip-addresses/create-static-cidr-reservation.png" alt-text="Screenshot of Allocate static CIDR from pool window with address range for CIDR reservation.":::
89+
90+
5. Select **Allocate**.
91+
92+
## Review allocation usage
93+
94+
In this step, you review the allocation usage of the IP address pool. This helps you understand how the CIDRs are being used in the pool, along with the percentage of the pool that is allocated and the compliance status of the pool.
95+
96+
1. Browse to your IP address pool.
97+
2. Select **Allocations** under **Settings**.
98+
3. In the **Allocations** window, you can review all of the statistics for the address pool including:
99+
100+
| Field | Description |
101+
| --- | --- |
102+
| **Pool address space** | The total address space that is allocated to the pool. |
103+
| **Allocated address Space** | The address space that is allocated to the pool. |
104+
| **Available address Space** | The address space that is available for allocation. |
105+
| **Available address count** | The number of addresses that are allocated to the pool. |
106+
| **IP allocation** | The set of IP addresses that are allocated from the pool for potential use. |
107+
108+
:::image type="content" source="media/how-to-manage-ip-addresses/review-ip-address-pool-allocations.png" alt-text="Screenshot of an IP address pool's allocations and statistics for the pool.":::
109+
110+
4. For each allocation, you can review the following:
111+
112+
| Field | Description |
113+
| --- | --- |
114+
| **Name** | The name of the allocation. |
115+
| **Address space** | The address space that is allocated to the pool. |
116+
| **Address count** | The number of addresses that are allocated to the pool. |
117+
| **IP allocation** | The set of IP addresses that are allocated from the pool for potential use. |
118+
| **Status** | The status of the allocation to the pool. |
119+
120+
:::image type="content" source="media/how-to-manage-ip-addresses/review-ip-address-pool-allocations-by-resource.png" alt-text="Screenshot of ip address pool allocations highlighting individual resource information.":::
121+
122+
## Delegating permissions for IP address management
123+
124+
In this step, you delegate permissions to other users to manage IP address pools in your network manager using [Azure role-based access control (RBAC)](../role-based-access-control/check-access.md). This allows you to control access to the IP address pools and ensure that only authorized users can manage the pools.
125+
126+
1. Browse to your IP address pool.
127+
2. In the left menu, select **Access control (IAM)**.
128+
3. In the **Access control (IAM)** window, select **+ Add**>**Add role assignment**.
129+
4. Under **Role**, select **IPAM Pool User** through the search bar under the **Job function roles** tab, and then select **Next**.
130+
5. On the **Members** tab, select how you wish to assign access to the role. You can assign access to a user, group, or service principal, or you can use a managed identity.
131+
132+
:::image type="content" source="media/how-to-manage-ip-addresses/delegate-ip-address-pool-permissions.png" alt-text="Screenshot of the Add role assignment window with IPAM Pool User selected.":::
133+
134+
6. Choose **+ Select members** and then **Select** the user, group, service principal, or managed identity that you want to assign the role to.
135+
7. Select **Review + assign** and then **Assign** to delegate permissions to the user.
136+
137+
138+
## Create a virtual network with a nonoverlapping CIDR range
139+
140+
In this step, you create a virtual network with a nonoverlapping CIDR range by allowing IPAM to automatically provide a nonoverlapping CIDR.
141+
142+
1. In the Azure portal, search for and select **Virtual networks**.
143+
2. Select **+ Create**.
144+
3. On the **Basics** tab, enter the following information:
145+
146+
| Field | Description |
147+
| --- | --- |
148+
| **Subscription** | Select the subscription managed by a Network Manager management scope. |
149+
| **Resource group** | Select the resource group for the virtual network. |
150+
| **Name** | Enter a name for the virtual network. |
151+
| **Region** | Select the region for the virtual network. IP address pools must be in the same region as your virtual network in order to be associated.|
152+
153+
4. Select the **IP addresses** tab or **Next** > **Next**.
154+
5. On the **IP addresses** tab, select **Allocate using IP address pools** checkbox.
155+
156+
:::image type="content" source="media/how-to-manage-ip-addresses/create-virtual-network-ip-address-pool.png" alt-text="Screenshot of create virtual network window with Allocate using IP address setting.":::
157+
158+
6. In the **Select an IP address pool** window, select the IP address pool that you want to associate with the virtual network and then choose **Save**. You can select at most one IPv4 pool and one IPv6 pool for association to a single virtual network.
159+
160+
:::image type="content" source="media/how-to-manage-ip-addresses/virtual-network-create-select-ip-address-pool-thumb.png" alt-text="Screenshot of Select an IP address pool with IP address pool selected." lightbox="media/how-to-manage-ip-addresses/virtual-network-create-select-ip-address-pool.png":::
161+
162+
7. From the dropdown menu next to your IP address pool, select the size for the virtual network.
163+
164+
:::image type="content" source="media/how-to-manage-ip-addresses/virtual-network-create-select-address-space-size.png" alt-text="Screenshot of Create virtual network window with IP address size selection.":::
165+
166+
8. Optionally create subnets referring to the selected pool.
167+
9. Select **Review + create** and then **Create** to create the virtual network.
168+
169+
## Next steps
170+
171+
> [!div class="nextstepaction"]
172+
> [What is IP address management in Azure Virtual Network Manager](./concept-ip-address-management.md)
173+
47.4 KB
Loading
39.9 KB
Loading
45.8 KB
Loading
31.6 KB
Loading
57.6 KB
Loading
61.7 KB
Loading
59.1 KB
Loading

0 commit comments

Comments
 (0)