question

SatheeshKumarS-8508 avatar image
0 Votes"
SatheeshKumarS-8508 asked TrentHelms-MSFT commented

How to assign/access the public IP for the VM's created on Azure HCI stack

We have created one linux(rhel) and one windows VM in Azure HCI stack. How to access the VM from outside the outside WAC?

Can someone please share the steps, how to assign the IP's for those machine and how to access from outside?

azure-stack-hci
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

TrentHelms-MSFT avatar image
0 Votes"
TrentHelms-MSFT answered

Hi @SatheeshKumarS-8508,

To get a better understanding of your environment, are these VMs hosted on a physical HCI cluster or a virtualized HCI cluster (such as on another Hyper-V environment or even in Azure)? The reason for asking is because there would be different requirements for each environment.

If these are VMs on a physical HCI cluster, the requirements to access the VM are pretty much the same as any other Hyper-V VM. The VMs must be connected to an external virtual switch on the host and be assigned an IP address on a subnet/VLAN that is routable. These can be statically or DHCP assigned. If the VMs are domain-joined, then the 'Domain' firewall profile would likely be active so these rules are usually sufficient to allow access. If not, the firewall rules may need to be adjusted to allow the specific traffic you need. If you are attempting to access RDP or shares, you would need to ensure you have the appropriate permissions to do so.

If these VMs are in a nested virtualization environment, then besides the standard requirements above, you may also need to enable MAC address spoofing on each of the virtual NICs for communication to work to the nested VMs.

If these VMs are in Azure, then you would additionally need to be sure you have connectivity to the Azure VNET itself. This could be either via ExpressRoute or a VPN if you are trying to simply access the VM from an on-prem resource.

Hope this helps!
Trent

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SatheeshKumarS-8508 avatar image
0 Votes"
SatheeshKumarS-8508 answered TrentHelms-MSFT commented

VM hosted on virtualized HCI cluster ie) Hyper-V environment.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @SatheeshKumarS-8508,

Thank you for the information. The one thing that most people miss when installing HCI in a nested virtualized environment is the MAC address spoofing. The nested VMs will typically have connectivity without it until you create a virtual switch within the nested VM. After that, the VMs lose connectivity until MAC spoofing is enabled. Please check to see if that setting is enabled first.

Beyond that, how are your VMs getting their IP address? Should they be getting a DHCP-assigned address? If so, is there a certain VLAN the VMs need to be tagged to? If you set static IPs, are all of the nodes on the right network address? Is the network routable? These are all hypothetical questions as I would need to understand specific details about your environment to truly understand where the problem is, but certainly things you could check.

Hope this helps!
Trent

0 Votes 0 ·