Forum Discussion

RendyPatra's avatar
RendyPatra
Copper Contributor
Jun 12, 2023
Solved

IP Public for VM in Azure Stack HCI

my organization recently setup azure stack HCI in our datacenter. I have created virtual machine in my azure stack HCI cluster. I want the VM could be accessed using RDP or it could be accessed from ...
  • Chandrasekhar_Arya's avatar
    Jun 12, 2023
    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.

Resources