Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Azure Networking Cookbook

You're reading from   Azure Networking Cookbook Practical recipes to manage network traffic in Azure, optimize performance, and secure Azure resources

Arrow left icon
Product type Paperback
Published in Mar 2019
Publisher Packt
ISBN-13 9781789800227
Length 234 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Mustafa Toroman Mustafa Toroman
Author Profile Icon Mustafa Toroman
Mustafa Toroman
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Azure Virtual Network 2. Virtual Machine Networking FREE CHAPTER 3. Network Security Groups 4. Managing IP Addresses 5. Local and Virtual Network Gateways 6. Creating Hybrid Connections 7. DNS and Routing 8. Load Balancers 9. Traffic Manager 10. Azure Application Gateway 11. Azure Firewall 12. Other Books You May Enjoy

Changing the subnet size

Similar to the virtual network address space, we can change the size of a subnet at any time.

Getting ready

How to do it...

In order to change subnet size using the Azure portal, we must use the following steps:

  1. In a virtual network blade, select the Subnets option.
  2. Select the subnet you want to change.
  3. In the Subnets option, enter a new value for the subnet size under Address range. An example of how to do this is shown in the following screenshot:
  1. After entering a new value, click on Save.
  2. In the Subnets list, you can see the changes applied and the address space has changed, as shown in the following screenshot:

How it works...

When changing subnet size, there are some rules that must be followed. You can't change the address space if it's not within the virtual network address space range and the subnet range can't overlap with other subnets in a virtual network. If devices are assigned to this subnet, you can't change the subnet to exclude the addresses that these devices are already assigned to.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime