Azure ARM vNet Setup and Express Route

Now that we have got Express Route setup and ready to go (if you haven’t please refer to my previous blog Azure ARM Express Route with Megaport), I am now going to take you through the process of getting a vNet setup to use Express Route and communicate with a Local Subnet.

Creating a vNet and Resource Group

First thing we will need to do is create a vNet and its Resource Group. From the side menu select Virtual networks.

1

Once selected you will be presented with the below screen. This is where you Add all of the address spaces that you want to be available in Azure. Click the Add button to create a new vNet.

2

Fill in all fields with the appropriate information and click create. Notice here I am created a new Resource Group called Test. This is where all further configuration is done so remember what name you specified here.

3

Once created you will now see the new vNet under the Virtual Networks menu.

4

Now from the side menu navigate to Resource Groups. Here you should be able to see the Resource Group created called Test.

5

Setting Up the Resource Group

Once Selected you will be taken to the below page showing you the details of your Resource Group. Select Add.

6

You will be taken to the Everything page where you can add resources to your Resource Group. Select Local network gateway. If you cannot find this use the search bar. Make sure it is spelt correctly otherwise it will return no result. This resource allows us to define the networks that will be present in our local site as well as what Public IP address to use to access them.

20

Press Create, and then fill in the appropriate details. Note that the IP address is the Public facing IP of your local network. Address space is the addresses within your local network that you want this Resource Group to be able to reach, once done hit Create.

7

Next thing we need to do is create the Virtual network gateway. Note this step takes about 45min, this is rough, sometimes it is less and sometimes it takes longer so just be aware if you are in a rush cater for at least 1 hour for this step. This creates a vNet Gateway and associates it with a Public IP address, allowing us to make the connection between our vNet and Express Route. Select Virtual network gateway.

9

Press Create, fill in the name, select Choose a virtual network and select the newly created vNet.

10

You can specify the Gateway subnet, here I am just leaving it as 10.30.1.0/24. Select Public IP address and Create new.

11

Give the Public IP Address a name.

12

Make sure the Gateway type is set to ExpressRoute and hit Create.

13

45min-1hour later we will create our connection between our Virtual Network Gateway and vNet. Select Connection.

14

Fill in the Connection type ensuring it is ExpressRoute and click OK.

15

For the virtual network gateway select the one we just created.

16

For the ExpressRoute circuit select your active/appropriate circuit. For me it is Test which was created in my previous blog.

17

Check the summary details and ensure everything looks right and hit OK.

18

That’s all there is too it. Now your Resource Group should look fairly similar to the below image. If not find out what you are missing and go back over the instructions.

19

In summary we created the following:

  • A vNet called Test, with a 10.30.0.0/16 Address Space with one Lan network in 10.30.0.0/24 and a Gateway Subnet of 10.30.1.0/24
  • A Resource Group called  Test
  • A Local Network Gateway called Test, specifying the Local Network 10.1.1.0/24 that this Resource group can access and the Public IP Address to use to get the Local Network
  • A Virtual Network Gateway joining the Local Network Gateway to the ExpressRoute circuit