Virtual Network issue while creating gateway subnet

Category: azure virtualnetwork

Question

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 10.3.0.0/24

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 255.255.255.0 and my adress range is 10.3.0.0 - 10.3.0.255

Thanks in advance.

Mark 


Replies

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 10.3.0.1.
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.