Creating Multiple Subnets in Azure

45 minutes
  • 3 Learning Objectives

About this Hands-on Lab

Your company wants to block communication between two VMs. They currently reside on the same network and on the same subnet. Ensure they are separated into different subnets and communication is blocked using a network security group.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create a New Subnet
  1. Log in to the Azure portal using the credentials provided.
  2. Create a new subnet named subnet2 with the CIDR address 10.0.1.0/24.
Create New Network Security Group Rules
  1. Go to All Services > Network Security Groups.
  2. Create new network security group rules that block traffic in and out of 10.0.0.0/24.
Move the VM to the New Subnet
  1. Move the VM named linVM to subnet2.
  2. Verify you can no longer communicate with linVM from winVM.

Additional Resources

Log in to the Azure portal using the credentials provided.

Identify the two VMs that need to be separated. You will see they can communicate, as they are on the same subnet.

Create a new subnet named subnet2 with a plan to move a VM named linVM into that subnet. The CIDR notation for subnet2 should be 10.0.1.0/24.

Create new network security group rules to block incoming and outgoing communication to 10.0.0.0/24.

Finally, move linVM into the new subnet and verify you can no longer communicate with linVM from winVM.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?