Azure Classroomnotes 04/Feb/2022

Lab Environment Preparation Contd

  • Launch the VM with Hyper V installed.
  • Create a new Virtual Network Adapter for the guest virtual machine and configure a NAT Gateway to enable internet connectivity
  • Open Powershell as Administrator
  • Create a New Internal Switch New-VMSwitch -Name "InternalNAT" -SwitchType Internal
    Preview
  • View the Properties of the switch and note the ifindex
    Preview
  • Create an IP Address for the NAT Gateway New-NetIPAddress -IPAddress 192.168.0.1 -PrefixLength 24 -InterfaceIndex 13
    Preview
  • Create a NAT Network New-NetNAT -Name "InternalNAT" -InternalIPInterfaceAddressPrefix 192.168.0.0/24
    Preview
  • Configure DHCP Server to Dynamically assign IP addresses to guest Virtual Machines
  • Add Roles and Features from Server Manager and Select DHCP Server and continue the steps to install DHCP Server
    Preview
    Preview
    Preview
  • Create a New DHCP Scope
    Preview
    Preview
    Preview
    Preview
  • Continue with rest of wizard using defaults.
  • This finishes the network configuration for the Hyper-V Host.
  • Now we need to create VMs inside this VM.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner