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.

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

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

Please turn AdBlock off
Social Network Widget by Acurax Small Business Website Designers

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube