Azure Lab Services - How to setup domain controller ip settings to test active directory with win 10 client

Thomas L'Hotellier 0 Reputation points
2024-01-16T17:15:59.45+00:00

Hi, I am using azure lab services to deploy a vm. In the vm I have hyper-v installed on a domain controller on a win server 2019. Inside this hyper-v manager I have created 2 vm: 1- Domain controller (win server 2019) 2- Client Windows 10 machine First of all, I can not get internet on neither of these 2 vms. However I have internet from the Template machine deployed through azure lab services. I am quite new at this and have some issues understanding networking. Would appreciate the help as much as you can :) Many thanks in advance Regards, Thomas

Azure Lab Services
Azure Lab Services
An Azure service that is used to set up labs for classrooms, trials, development and testing, and other scenarios.
279 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Prrudram-MSFT 22,046 Reputation points
    2024-01-18T18:44:52.51+00:00

    Hello Thomas L'Hotellier

    Thank you for reaching out to the Microsoft Q&A platform.

    First, it's important to note that, for your virtual machines to have internet access, you need to have a virtual switch configured in Hyper-V Manager that is connected to a physical network adapter on your host machine.

    Hyper-V has three types of virtual switches -- external, internal, and private. Create an external switch to share your host computer's network with the virtual machines running on it.

    As per the documentation provided below, I am assuming you may have created a virtual switch called "LabServicesSwitch" in Hyper-V Manager. Is that correct? If not, please follow https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/quick-start/connect-to-network. This exercise walks through creating an external virtual switch. Once completed, your Hyper-V host will have a virtual switch that can connect virtual machines to the internet through your host computer's network connection. https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/setup-nat-network

    https://learn.microsoft.com/en-us/azure/lab-services/concept-nested-virtualization-template-vm

    --please don't forget to "[Accept the answer]" if the reply is helpful--

    1 person found this answer helpful.
    0 comments No comments