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/azure-vmware/enable-hcx-access-over-internet.md
+80-85Lines changed: 80 additions & 85 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,137 +6,132 @@ ms.date: 7/19/2022
6
6
---
7
7
# Enable HCX access over the internet
8
8
9
-
10
-
In this article, you'll learn how to perform HCX migration over a Public IP address using Azure VMware Solution.
9
+
In this article, you'll learn how to perform HCX migration over a public IP address using Azure VMware Solution.
11
10
>[!IMPORTANT]
12
-
>Before configuring a Public IP on your Azure VMware Solution private cloud, please consult your Network Administrator to understand the implications and the impact to your environment.
13
-
14
-
You'll also learn how to pair HCX sites and create service mesh from on-premises to an Azure VMware Solution private cloud using a Public IP. The service mesh allows you to migrate a workload from an on-premises datacenter to an Azure VMware Solution private cloud over the public internet. This solution is useful when the customer is not using ExpressRoute or VPN connectivity with the Azure cloud.
15
-
16
-
17
-
> [!IMPORTANT]
18
-
> The on-premises HCX appliance should be reachable from the internet to establish HCX communication from on-premises to the Azure VMware Solution private cloud.
19
-
20
-
## Configure Public IP block
21
-
22
-
To perform HCX Migration over the public internet, you'll need a minimum of six Public IP addresses. Five of these Public IP addresses will be used for the Public IP segment, and one will be used for configuring Network Address Translation (NAT). You can obtain the Public IP block by reserving a /29 from the Azure VMware Solution portal. Configure a Public IP block through portal by using the Public IP feature of the Azure VMware Solution private cloud.
11
+
>Before configuring a public IP on your Azure VMware Solution private cloud, consult your network administrator to understand the implications and the impact to your environment.
23
12
24
-
1. Sign in to Azure VMware Solution portal.
25
-
1. Under **Workload Networking**, select **Public IP (preview)**.
26
-
1. Select **+Public IP**.
27
-
1. Enter the **Public IP name** and select the address space from the **Address space** drop-down list according to the number of IPs required, then select **Configure**.
28
-
>[!Note]
29
-
> It will take 15-20 minutes to configure the Public IP block on private cloud.
13
+
You'll also learn how to pair HCX sites and create service mesh from on-premises to an Azure VMware Solution private cloud using Public IP. The service mesh allows you to migrate a workload from an on-premises datacenter to an Azure VMware Solution private cloud over the public internet. This solution is useful when the customer isn't using ExpressRoute or VPN connectivity with the Azure cloud.
30
14
31
-
After the Public IP is configured successfully, you should see it appear under the Public IP section. The provisioning state shows **Succeeded**. This Public IP block is configured as NSX-T segment on the Tier-1 router.
15
+
> [!IMPORTANT]
16
+
> The on-premises HCX appliance should be reachable from the internet to establish HCX communication from on-premises to the Azure VMware Solution private cloud.
32
17
33
-
For more information about how to enable a public IP to the NSX Edge for Azure VMware Solution, see [Enable Public IP to the NSX Edge for Azure VMware Solution](./enable-public-ip-nsx-edge.md).
18
+
## Configure public IP block
34
19
35
-
## Create Public IP segment on NSX-T
36
-
Before you create a Public IP segment, get your credentials for NSX-T Manager from Azure VMware Solution portal.
20
+
For HCX manager to be available over the public IP address, you'll need one public IP address for DNAT rule.
37
21
38
-
1. Sign in to NSX-T Manager using credentials provided by the Azure VMware Solution portal.
39
-
1. Under the **Manage** section, select **Identity**.
40
-
1. Copy the NSX-T Manager admin user password.
22
+
To perform HCX migration over the public internet, you'll need other IP addresses. You can have a /29 subnet to create minimum configuration when defining HCX network profile (usable IPs in subnet will be assigned to IX, NE appliances). You can choose a bigger subnet based on the requirements. You'll create an NSX-T segment using this public subnet. This segment can be used for creating HCX network profile.
41
23
42
-
1. Browse the NSX-T Manger and paste the admin password in the password field, and select **Login**.
43
-
1. Under the **Networking** section select **Connectivity** and **Segments**, then select **ADD SEGMENT**.
44
-
1. Provide Segment name, select Tier-1 router as connected gateway, and provide the reserved Public IP under subnets. The Public IP block for this Public IP segment shouldn't include the first and last Public IPs from the overall Public IP block. For example, if you reserved 20.95.1.16/29, you would input 20.95.1.16/30.
45
-
1. Select **Save**.
24
+
>[!Note]
25
+
> After assigning a subnet to NSX-T segment, you can't use an IP from that subnet to create a DNAT rule. Both subnets should be different.
46
26
47
-
## Assign public IP to HCX manager
48
-
HCX manager of destination Azure VMware Solution SDDC should be reachable from the internet to do site pairing with source site. HCX Manager can be exposed by way of DNAT rule and a static null route. Because HCX Manager is in the provider space, not within the NSX-T environment, the null route is necessary to allow HCX Manager to route back to the client by way of the DNAT rule.
27
+
Configure a Public IP block through portal by using the [Public IP feature of the Azure VMware Solution](enable-hcx-access-over-internet.MD#enable-hcx-access-over-the-internet) private cloud.
49
28
50
-
### Add static null route to the T1 router
29
+
## Use public IP address for Cloud HCX Manager public access
30
+
Cloud HCX manager can be available over a public IP address by using a DNAT rule. However, since Cloud HCX manager is in the provider space, the null route is necessary to allow HCX Manager to route back to the client by way of the DNAT rule. It forces the NAT traffic through NSX-T Tier-0 router.
51
31
52
-
The static null route is used to allow HCX private IP to route through the NSX T1 for public endpoints.
32
+
## Add static null route to the Tier1 router
33
+
The static null route is used to allow HCX private IP to route through the NSX Tier-1 for public endpoints. This static route can be the default Tier-1 router created in your private cloud or you can create a new tier-1 router.
53
34
54
35
1. Sign in to NSX-T manager, and select **Networking**.
55
36
1. Under the **Connectivity** section, select **Tier-1 Gateways**.
56
-
1. Edit the existing T1 gateway.
37
+
1. Edit the existing Tier-1 gateway.
57
38
1. Expand **STATIC ROUTES**.
58
39
1. Select the number next to **Static Routes**.
59
40
1. Select **ADD STATIC ROUTE**.
60
41
A pop-up window is displayed.
61
42
1. Under **Name**, enter the name of the route.
62
-
1. Under **network**, enter a non-overlapping /32 IP address under Network.
43
+
1. Under **Network**, enter a non-overlapping /32 IP address under Network.
63
44
>[!NOTE]
64
-
> This address should not overlap with any other IP addresses on the network.
45
+
> This address should not overlap with any other IP addresses on the private cloud network and the customer network.
>The NAT rules should use a different Public IP address than your Public IP segment.
76
58
1. Sign in to NSX-T Manager, and select **Networking**.
77
59
1. Select **NAT**.
78
-
1. Select the T1 Gateway.
60
+
1. Select the Tier-1 Gateway. Use same Tier-1 router to create NAT rule that you used to create null route in previous steps.
79
61
1. Select **ADD NAT RULE**.
80
-
1. Add one SNAT rule for HCX Manager.
62
+
1. Add one SNAT rule and one DNAT rule for HCX Manager.
81
63
1. The DNAT Rule Destination is the Public IP for HCX Manager. The Translated IP is the HCX Manager IP in the cloud.
82
-
1. The SNAT Rule Source is the HCX Manager IP in the cloud. The Translated IP is the non-overlapping /32 IP from the Static Route.
83
-
1. Make sure to set the Firewall option on DNAT rule to **Match External Address**.
84
-
1. Create T1 Gateway Firewall rules to allow only expected traffic to the Public IP for HCX Manager and drop everything else.
85
-
1. Create a Gateway Firewall rule on the T1 that allows your On-Premise as the **Source IP** and the Azure VMware Solution reserved Public as the **Destination IP**. This rule should be the highest priority.
86
-
1. Create a Gateway Firewall rule on the T1 that denies all other traffic where the **Source IP** is and “Any” and **Destination IP** is the Azure VMware Solution reserved Public IP.
64
+
1. The SNAT Rule Destination is the HCX Manager IP in the cloud. The Translated IP is the non-overlapping /32 IP from the Static Route.
65
+
1. Make sure to set the Firewall option on DNAT rule to **Match External Address**.
66
+
:::image type="content" source="media/hcx-over-internet/hcx-sample-public-access-route.png" alt-text="Diagram showing a sample NAT rule for public access of HCX Virtual machine." border="false" lightbox="media/hcx-over-internet/hcx-sample-public-access-route.png":::
67
+
68
+
1. Create Tier-1 Gateway Firewall rules to allow only expected traffic to the Public IP for HCX Manager and drop everything else.
69
+
1. Create a Gateway Firewall rule on the T1 that allows your on-premises as the **Source IP** and the Azure VMware Solution reserved Public as the **Destination IP**. This rule should be the highest priority.
70
+
1. Create a Gateway Firewall rule on the Tier-1 that denies all other traffic where the **Source IP** is **Any** and **Destination IP** is the Azure VMware Solution reserved Public IP.
71
+
72
+
For more information, see [HCX ports](https://ports.esp.vmware.com/home/VMware-HCX)
87
73
88
-
>[!NOTE]
74
+
>[!NOTE]
89
75
> HCX manager can now be accessed over the internet using public IP.
90
76
91
-
### Create network profile for HCX at destination site
92
-
1. Sign in to Destination HCX Manager.
93
-
1. Select **Interconnect** and then select the **Network Profiles** tab.
94
-
1. Select **Create Network Profile**.
95
-
1. Select **NSX Networks** as network type under **Network**.
96
-
1. Select the **Public-IP-Segment** created on NSX-T.
97
-
1. Enter **Name**.
98
-
1. Under IP pools, enter the **IP Ranges** for HCX uplink, **Prefix Length**, and **Gateway** of public IP segment.
99
-
1. Scroll down and select the **HCX Uplink** checkbox under **HCX Traffic Type** as this profile will be used for HCX uplink.
100
-
1. To create the Network Profile, select **Create**.
77
+
## Pair sites using HCX Cloud manager's public IP address
101
78
102
-
### Pair site
103
-
Site pairing is required to create service mesh between source and destination sites.
79
+
Site pairing is required before you create service mesh between source and destination sites.
104
80
105
81
1. Sign in to the **Source** site HCX Manager.
106
-
1. Select **Site Pairing** and select **ADD SITE PAIRING**.
107
-
1. Enter the remote HCX URL and sign in credentials, then select **Connect**.
82
+
1. Select **Site Pairing** and select **ADD SITE PAIRING**.
83
+
1. Enter the **Cloud HCX Manager Public URL** as remote site and sign in credentials, then select **Connect**.
108
84
109
85
After pairing is done, it will appear under site pairing.
110
86
111
-
### Create service mesh
112
-
Service Mesh will deploy HCX WAN Optimizer, HCX Network Extension and HCX-IX appliances.
87
+
## Create public IP segment on NSX-T
88
+
Before you create a Public IP segment, get your credentials for NSX-T Manager from Azure VMware Solution portal.
89
+
90
+
1. Under the **Networking** section select **Connectivity**, **Segments**, and then select **ADD SEGMENT**.
91
+
1. Provide Segment name, select **Tier-1 router** as connected gateway, and provide the reserved public IP under subnets.
92
+
1. Select **Save**.
93
+
94
+
## Create network profile for HCX at destination site
95
+
1. Sign in to Destination HCX Manager (cloud manager in this case).
96
+
1. Select **Interconnect** and then select the **Network Profiles** tab.
97
+
1. Select **Create Network Profile**.
98
+
1. Select **NSX Networks** as network type under **Network**.
99
+
1. Select the **Public-IP-Segment** created on NSX-T.
100
+
1. Enter **Name**.
101
+
1. Under IP pools, enter the **IP Ranges** for HCX uplink, **Prefix Length**, and **Gateway** of public IP segment.
102
+
1. Scroll down and select the **HCX Uplink** checkbox under **HCX Traffic Type** as this profile will be used for HCX uplink.
103
+
1. Select **Create** to create the network profile.
104
+
105
+
## Create service mesh
106
+
Service Mesh will deploy HCX WAN Optimizer, HCX Network Extension and HCX-IX appliances.
113
107
1. Sign in to **Source** site HCX Manager.
114
108
1. Select **Interconnect** and then select the **Service Mesh** tab.
115
-
1. Select **CREATE SERVICE MESH**.
116
-
1. Select the **destination** site to create service mesh with and select **Continue**.
109
+
1. Select **CREATE SERVICE MESH**.
110
+
1. Select the **destination** site to create service mesh with and then select **Continue**.
117
111
1. Select the compute profiles for both sites and select **Continue**.
118
-
1. Select the HCX services to be activated and select **Continue**.
112
+
1. Select the HCX services to be activated and select **Continue**.
119
113
>[!Note]
120
-
>Premium services require an additional HCX Enterprise license.
121
-
1. Select the Network Profile of source site.
122
-
1. Select the Network Profile of Destination that you created in the Network Profile section.
114
+
>Premium services require an additional HCX Enterprise license.
115
+
1. Select the network profile of source site.
116
+
1. Select the network profile of destination that you created in the **Network Profile** section.
123
117
1. Select **Continue**.
124
-
1. Review the Transport Zone information, and then select **Continue**.
125
-
1. Review the Topological view, and select **Continue**.
126
-
1. Enter the Service Mesh name and select **FINISH**.
127
-
128
-
### Extend network
129
-
The HCX Network Extension service provides layer 2 connectivity between sites. The extension service also allows you to keep the same IP and MAC addresses during virtual machine migrations.
130
-
1. Sign in to **source** HCX Manager.
131
-
1. Under the **Network Extension** section, select the site for which you want to extend the network, and then select **EXTEND NETWORKS**.
132
-
1. Select the network that you want to extend to destination site, and select **Next**.
118
+
1. Review the **Transport Zone** information, and then select **Continue**.
119
+
1. Review the **Topological view**, and select **Continue**.
120
+
1. Enter the **Service Mesh name** and select **FINISH**.
121
+
1. Add the public IP addresses in firewall to allow required ports only.
122
+
123
+
## Extend network
124
+
The HCX Network Extension service provides layer 2 connectivity between sites. The extension service also allows you to keep the same IP and MAC addresses during virtual machine migrations.
125
+
1. Sign in to **source** HCX Manager.
126
+
1. Under the **Network Extension** section, select the site for which you want to extend the network, and then select **EXTEND NETWORKS**.
127
+
1. Select the network that you want to extend to destination site, and select **Next**.
133
128
1. Enter the subnet details of network that you're extending.
134
-
1. Select the destination first hop route (T1), and select **Submit**.
135
-
1. Sign in to the **destination** NSX, you'll see Network 10.14.27.1/24 has been extended.
129
+
1. Select the destination first hop route (Tier-1), and select **Submit**.
130
+
1. Sign in to the **destination** NSX, you'll see Network 10.14.27.1/24 has been extended.
136
131
137
-
After the network is extended to destination site, VMs can be migrated over Layer 2 Extension.
132
+
After the network is extended to destination site, VMs can be migrated over Layer 2 extension.
138
133
139
-
## Next steps
134
+
## Next steps
140
135
[Enable Public IP to the NSX Edge for Azure VMware Solution](./enable-public-ip-nsx-edge.md)
141
136
142
137
For detailed information on HCX network underlay minimum requirements, see [Network Underlay Minimum Requirements](https://docs.vmware.com/en/VMware-HCX/4.3/hcx-user-guide/GUID-8128EB85-4E3F-4E0C-A32C-4F9B15DACC6D.html).
0 commit comments