question

DhillanKalyan-4084 avatar image
0 Votes"
DhillanKalyan-4084 asked DhillanKalyan-4084 answered

Adding a Virtual Network Gateway to an existing vNet

Hi,

I am curently working on a client environment. The tenant currently has 2 CSP Subscriptions (Prod and Dev) and 2 MCA Subscriptions (Prod and Dev). The CSP subscriptions were taken out when the client started their Azure journey. Each subscription has their vNets configured as /16 vNets.

The CSP Prod subscription currently has a Virtual Network Gateway with ExpressRoute and is the Hub of the environment. I have got peering configured between all the vNets.

We need to collapse the CSP subscriptions soon and are planning to migrate all the resources to the MCA subscriptions. As part of this we need to recreate the ExpressRoute in the MCA Prod Subscription. I attempted this by trying to create the Virtual Network Gateway however when selecting the vNet in the subscription I get an errors stating that it is in use already.

I couldn't understand why this is the case and I realized the peering.

Can someone please confirm my suspicion that the peering could be causing this? Would this mean I would have to break the peering first, build the gateway and enable the ExpressRoute?

Regards
Dhillan

azure-vpn-gateway
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AndreasBaumgarten avatar image
0 Votes"
AndreasBaumgarten answered AndreasBaumgarten edited

Hi @DhillanKalyan-4084 ,

the vNet you want to create the new VNGW in is peered with another vNet? If so: Please verify the setting in the peering Use the remote virtual networks's gateway is unchecked and set to none (default).


(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

Regards
Andreas Baumgarten

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DhillanKalyan-4084 avatar image
0 Votes"
DhillanKalyan-4084 answered

Thanks for the feedback. Thought as much as I was typing this question out. I guess I am going to have to ask for some down time to get everything configured again.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.