Virtual Network issue while creating gateway subnet

Category: azure virtualnetwork


Gartan on Mon, 25 Sep 2017 10:09:01

Hi All,

Could you help me on the following please.

I am setting up a vpn connection.

I have created the virtual network of

When I am trying to create the address range (cidr block) keep getting error.

What should i be inserting here 

I understand that my subnet mask is and my adress range is -

Thanks in advance.



vijisankar on Mon, 25 Sep 2017 15:49:28

The gateway subnet is always by default the first address of the subnet address range. so in this case your gateway subnet should be
If you are trying to insert this value? in the portal it should take it by default or through powershell you just need to mention the gatewaySubnet in the command, nowhere you will have to mention the gateway subnet IP. It is a default first IP of the subnet.
Do click on "Mark as Answer" on the post that helps you and vote it as helpful, this can be beneficial to other community members.