Create a Microsoft Azure Virtual Network

Specify address space and subnet

Contents

virtualnetwork-3

  • Provide a name  (eg MyVirtualNetwork) for the virtual network
  • Provide a name (eg MyResourceGroup) for the new resource group (or choose an existing resource group that you created earlier)

The other options can be left to their default, but you can optionally choose:

  • a bigger or smaller network: the address space must be contained within the standard private address space (10.0.0.0/8, 172.160.0.0/12 or 192.168.0.0/16). The number after the / indicates the size of the network, see the below table for a match between number and size.
  • The subnet size. The subnet must be contained within the address space. The subnet can be smaller than the address space. All virtual machines within the same subnet will be able to communicate with each other over the (private) network.

Address space size

Size Available addresses
8 (Class A) 16,777,216 (224)
16 (Class B) 65,536 (216)
24 (Class C)  256 (28)

Subnet size

Size Usable hosts in subnet
24 254
25 126
26 62
27 30
28 14
29 6
30 2
31 2

Leave a Reply

Your email address will not be published. Required fields are marked *