Skip to content

Commit 833f5a9

Browse files
authored
Merge pull request #293408 from riperez123/main
Create a DHCP server in NSX
2 parents 3dbbe4c + 7b050e5 commit 833f5a9

File tree

4 files changed

+20
-23
lines changed

4 files changed

+20
-23
lines changed

articles/azure-vmware/configure-dhcp-azure-vmware-solution.md

Lines changed: 20 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to configure DHCP by using either NSX Manager to host a D
44
ms.topic: how-to
55
ms.custom: engagement-fy23
66
ms.service: azure-vmware
7-
ms.date: 6/12/2024
7+
ms.date: 1/22/2025
88
# Customer intent: As an Azure service administrator, I want to configure DHCP by using either NSX Manager to host a DHCP server or use a third-party external DHCP server.
99
---
1010

@@ -41,37 +41,39 @@ You can create a DHCP server or relay directly from Azure VMware Solution in the
4141
>[!NOTE]
4242
>For DHCP relay, you only require one IP address for a successful configuration.
4343
44-
:::image type="content" source="media/networking/add-dhcp-server-relay.png" alt-text="Screenshot showing how to add a DHCP server or DHCP relay in Azure VMware Solutions.":::
44+
:::image type="content" source="media/networking/add-dhcp-server-relay.png" alt-text="Screenshot showing how to add a DHCP server or DHCP relay in Azure VMware Solutions." border="true" lightbox="media/networking/add-dhcp-server-relay.png":::
4545

4646
4. Complete the DHCP configuration by [providing DHCP ranges on the logical segments](tutorial-nsx-t-network-segment.md#use-azure-portal-to-add-an-nsx-network-segment) and then select **OK**.
4747

48-
49-
5048
## Use NSX to host your DHCP server
49+
5150
If you want to use NSX to host your DHCP server, create a DHCP server and a relay service. Next add a network segment and specify the DHCP IP address range.
5251

5352
### Create a DHCP server
5453

55-
1. In NSX Manager, select **Networking** > **DHCP**, then select **Add DHCP Profile**.
54+
1. In NSX Manager, select **Networking** > **Networking Profiles** > **DHCP**, then select **Add DHCP Profile**.
5655

5756
1. Select **Add DHCP Profile**, enter a name, and select **Save**.
5857

5958
> [!NOTE]
6059
> An IP address isn't required so if none is entered, NSX Manager sets one.
6160
62-
:::image type="content" source="./media/manage-dhcp/dhcp-server-settings.png" alt-text="Screenshot showing how to add a DHCP Profile in NSX Manager." border="true":::
61+
:::image type="content" source="./media/manage-dhcp/dhcp-server-settings.png" alt-text="Screenshot showing how to add a DHCP Profile in NSX Manager." border="true" lightbox="./media/manage-dhcp/dhcp-server-settings.png":::
6362

6463
1. Under **Networking** > **Tier-1 Gateways**, select the gateway where the segments are connected that DHCP is required. Edit the Tier-1 Gateway by clicking on the three ellipses and choose **Edit**.
6564

6665
1. Select **Set DHCP Configuration**, select **DHCP Server** and then select the DHCP Server Profile created earlier. Select **Save**, then **Close Editing**.
6766

68-
:::image type="content" source="./media/manage-dhcp/edit-tier-1-gateway.png" alt-text="Screenshot showing how to edit the NSX Tier-1 Gateway for using a DHCP server." border="true":::
67+
:::image type="content" source="./media/manage-dhcp/edit-tier-1-gateway.png" alt-text="Screenshot showing how to edit the NSX Tier-1 Gateway for using a DHCP server." border="true" lightbox="./media/manage-dhcp/edit-tier-1-gateway.png":::
6968

7069
1. Navigate to **Networking** > **Segments** and find the segment where DHCP is required. Select on **Edit** then **Set DHCP Config**.
7170

7271
1. Select **Gateway DHCP Server** for DHCP Type, add a DHCP range, and select **Apply**.
7372

74-
:::image type="content" source="./media/manage-dhcp/add-subnet.png" alt-text="Screenshot showing how to add a subnet to the NSX Tier-1 Gateway for using a DHCP server." border="true":::
73+
:::image type="content" source="./media/manage-dhcp/add-subnet.png" alt-text="Screenshot showing how to add a subnet to the NSX Tier-1 Gateway for using a DHCP server." border="true" lightbox="./media/manage-dhcp/add-subnet.png":::
74+
75+
> [!NOTE]
76+
> The DHCP Server's IP address and DHCP Ranges it manages needs to be different when using the Gateway DHCP Server option.
7577
7678
### Add a network segment
7779

@@ -90,51 +92,47 @@ When you create a relay to a DHCP server, you need to specify the DHCP IP addres
9092

9193
1. Select **Set Subnets** to specify the DHCP IP address for the subnet.
9294

93-
:::image type="content" source="./media/manage-dhcp/network-segments.png" alt-text="Screenshot showing how to set the subnets to specify the DHCP IP address for using a DHCP server." border="true":::
95+
:::image type="content" source="./media/manage-dhcp/network-segments.png" alt-text="Screenshot showing how to set the subnets to specify the DHCP IP address for using a DHCP server." border="true" lightbox="./media/manage-dhcp/network-segments.png":::
9496

9597
1. Modify the gateway IP address if needed, and enter the DHCP range IP.
9698

97-
:::image type="content" source="./media/manage-dhcp/edit-subnet.png" alt-text="Screenshot showing the gateway IP address and DHCP ranges for using a DHCP server." border="true":::
99+
:::image type="content" source="./media/manage-dhcp/edit-subnet.png" alt-text="Screenshot showing the gateway IP address and DHCP ranges for using a DHCP server." border="true" lightbox="./media/manage-dhcp/edit-subnet.png":::
98100

99101
1. Select **Apply**, and then **Save**. The segment is assigned a DHCP server pool.
100102

101-
:::image type="content" source="./media/manage-dhcp/assigned-to-segment.png" alt-text="Screenshot showing that the DHCP server pool assigned to segment for using a DHCP server." border="true":::
102-
103+
:::image type="content" source="./media/manage-dhcp/assigned-to-segment.png" alt-text="Screenshot showing that the DHCP server pool assigned to segment for using a DHCP server." border="true" lightbox="./media/manage-dhcp/assigned-to-segment.png":::
103104

104105
## Use a third-party external DHCP server
105106

106107
If you want to use a third-party external DHCP server, create a DHCP relay service in NSX Manager. You need to specify the DHCP IP address range.
107108

108-
109109
>[!IMPORTANT]
110110
>For clouds created on or after July 1, 2021, the simplified view of NSX operations must be used to configure DHCP on the default Tier-1 Gateway in your environment.
111111
112-
113-
### Create DHCP relay service
112+
### Create a DHCP relay service
114113

115114
Use a DHCP relay for any non-NSX-based DHCP service. For example, a VM running DHCP in Azure VMware Solution, Azure IaaS, or on-premises.
116115

117116
1. In NSX Manager, select **Networking** > **DHCP**, and then select **Add Server**.
118117

119118
1. Select **DHCP Relay** for the **Server Type**, provide the server name and IP address, and select **Save**.
120119

121-
:::image type="content" source="./media/manage-dhcp/create-dhcp-relay.png" alt-text="Screenshot showing how to create a DHCP relay service in NSX Manager." border="true":::
120+
:::image type="content" source="./media/manage-dhcp/create-dhcp-relay.png" alt-text="Screenshot showing how to create a DHCP relay service in NSX Manager." border="true" lightbox="./media/manage-dhcp/create-dhcp-relay.png":::
122121

123122
1. Select **Tier 1 Gateways**, select the vertical ellipsis on the Tier-1 gateway, and then select **Edit**.
124123

125-
:::image type="content" source="./media/manage-dhcp/edit-tier-1-gateway.png" alt-text="Screenshot showing how to edit the NSX Tier-1 Gateway." border="true":::
124+
:::image type="content" source="./media/manage-dhcp/edit-tier-1-gateway.png" alt-text="Screenshot showing how to edit the NSX Tier-1 Gateway." border="true" lightbox="./media/manage-dhcp/edit-tier-1-gateway.png":::
126125

127126
1. Select **No IP Allocation Set** to define the IP address allocation.
128127

129-
:::image type="content" source="./media/manage-dhcp/add-subnet.png" alt-text="Screenshot showing how to add a subnet to the NSX Tier-1 Gateway." border="true":::
128+
:::image type="content" source="./media/manage-dhcp/add-subnet.png" alt-text="Screenshot showing how to add a subnet to the NSX Tier-1 Gateway." border="true" lightbox="./media/manage-dhcp/add-subnet.png":::
130129

131130
1. For **Type**, select **DHCP Server**.
132131

133132
1. For the **DHCP Server**, select **DHCP Relay**, and then select **Save**.
134133

135134
1. Select **Save** again and then select **Close Editing**.
136135

137-
138136
### Specify the DHCP IP address range
139137

140138
When you create a relay to a DHCP server, you need to specify the DHCP IP address range.
@@ -148,16 +146,15 @@ When you create a relay to a DHCP server, you need to specify the DHCP IP addres
148146

149147
1. Select **Set Subnets** to specify the DHCP IP address for the subnet.
150148

151-
:::image type="content" source="./media/manage-dhcp/network-segments.png" alt-text="Screenshot showing how to set the subnets to specify the DHCP IP address." border="true":::
149+
:::image type="content" source="./media/manage-dhcp/network-segments.png" alt-text="Screenshot showing how to set the subnets to specify the DHCP IP address." border="true" lightbox="./media/manage-dhcp/network-segments.png":::
152150

153151
1. Modify the gateway IP address if needed, and enter the DHCP range IP.
154152

155-
:::image type="content" source="./media/manage-dhcp/edit-subnet.png" alt-text="Screenshot showing the gateway IP address and DHCP ranges." border="true":::
153+
:::image type="content" source="./media/manage-dhcp/edit-subnet.png" alt-text="Screenshot showing the gateway IP address and DHCP ranges." border="true" lightbox="./media/manage-dhcp/edit-subnet.png":::
156154

157155
1. Select **Apply**, and then **Save**. The segment is assigned a DHCP server pool.
158156

159-
:::image type="content" source="./media/manage-dhcp/assigned-to-segment.png" alt-text="Screenshot showing that the DHCP server pool assigned to segment." border="true":::
160-
157+
:::image type="content" source="./media/manage-dhcp/assigned-to-segment.png" alt-text="Screenshot showing that the DHCP server pool assigned to segment." border="true" lightbox="./media/manage-dhcp/assigned-to-segment.png":::
161158

162159
## Next steps
163160

29.4 KB
Loading
15.4 KB
Loading
22.8 KB
Loading

0 commit comments

Comments
 (0)