Cloud

What is Azure Virtual network gateway (VNG)?

J Jaspreet Singh • April 9, 2024 • 5 min read
Animated diagram for What is Azure Virtual network gateway, showing a cloud region feeding a load balancer that distributes requests across three backend nodes in turn
📖 6 min read · 1,116 words

What is Azure Virtual network gateway (VNG)?

A virtual network gateway is a software-based, fully managed multi-tenant gateway that provides secure, connective “bridging” services. Its main purpose is to provide an Azure cloud platform for on-premises and cross-premises connectivity for both virtual networks (VNets) and sites. The Azure virtual network gateway can be used to connect Azure VNets to each other, as well as on-premises locations.

📌 Key Takeaways

  • What is Azure Virtual network gateway (VNG)?
  • How do we create an Azure Virtual network gateway?
  • Can we create two virtual network gateways in a VNet?
  • How many express routes circuits we can connect with a Virtual network gateway?
  • Do we need a public IP address for a Virtual network gateway?

Cross-premises connectivity is an essential part of any hybrid cloud solution. The virtual network gateway provides this by connecting the on-premises network to the Azure virtual network. This connection can be used for a variety of purposes, such as providing access to Azure resources from on-premises or connecting on-premises sites to each other using the Azure virtual network as a transit hub.

The Azure virtual network gateway is a high-performance, highly available gateway that can scale to meet the needs of the largest deployments. It is designed to provide 99.9% availability and can be deployed in multiple Azure regions for added resiliency.

The Azure virtual network gateway supports both policy-based and route-based VPNs. Policy-based VPNs are the simplest to deploy but are limited in that they can only support a single tunnel. Route-based VPNs are more flexible and can support multiple tunnels.

The Azure virtual network gateway supports a variety of networking protocols and technologies, such as:

How do we create an Azure Virtual network gateway?

Here are the steps:

1. Log in to Azure Portal.

2. Search Virtual Network Gateway and Open it.

3. Click on Create for New Virtual Network Gateway.

4. Fill required things, subscription, resource group, name, region, VPN type, Vnet, public IP, SKU etc. Click on Next.

5. Do Tagging and click review and create after validating it. Now Virtual Network Gateway is ready to use.

6. Virtual Network Gateway Configured.

Can we create two virtual network gateways in a VNet?

Yes, you can create two virtual network gateways in a Vnet. This will provide you with more flexibility and scalability when connecting your on-premises network to the Azure virtual network. If one gateway goes down, the other will take over and maintain the connection.

How many express routes circuits we can connect with a Virtual network gateway?

You can connect up to 10 ExpressRoute circuits to a virtual network gateway. This will provide you with redundancy and failover in the event that one circuit goes down. Additionally, it will allow you to scale your bandwidth as needed.

Do we need a public IP address for a Virtual network gateway?

Yes, a public IP address is required for a virtual network gateway. This is because the gateway will be communicating with the Azure public cloud.

What are the benefits of using a Virtual network gateway?

The Azure virtual network gateway provides many benefits, including:

Reduced complexity: The Azure virtual network gateway is a fully managed service that can be deployed in minutes. There is no need to deploy and manage hardware or software VPN appliances.

Increased scalability: The Azure virtual network gateway can scale to meet the needs of the largest deployments. It is designed to provide 99.9% availability.

High performance: The Azure virtual network gateway is a high-performance gateway that can provide up to 10 Gbps of throughput.

Flexibility: The Azure virtual network gateway supports both policy-based and route-based VPNs. It also supports a variety of networking protocols and technologies, such as IPsec, IKEv2, SSL/TLS, BGP, and GRE.

Resiliency: The Azure virtual network gateway can be deployed in multiple Azure regions for added resiliency.

What are the limitations of using a Virtual network gateway?

The Azure virtual network gateway has the following limitations:

  • Only one active VPN connection can be maintained at a time.
  • The maximum number of simultaneous connections is 10.
  • The maximum throughput is 10 Gbps.
  • The maximum latency is 500 ms.
  • The virtual network gateway cannot be deployed in an Availability Zone.

Traffic flow in Virtual Network Gateway

When you deploy a virtual network gateway, two gateway subnets are automatically created for you in the virtual network. These subnets are used by the gateway services and must not be modified or deleted.

Incoming traffic from the on-premises network is routed to the Azure virtual network gateway through the public IP address. The traffic is then encrypted and passed through the Azure VPN gateway to the virtual network. From there, the traffic is routed to the appropriate resource based on the routing table.

Outgoing traffic from the Azure virtual network is routed to the Azure virtual network gateway. The traffic is then passed through the VPN gateway to the on-premises network. From there, the traffic is routed to the appropriate resource based on the routing table.

Where this shows up in real life

Azure Virtual network gateway (VNG)? sounds abstract until you meet it in a normal setup. Take the sections above on What is Azure Virtual network gateway (VNG)? and How do we create an Azure Virtual network gateway?: every one of them maps to a device or a setting you can point at. Once you can point at it, the idea stops being theory.

The test is simple. Can you explain it to someone in two sentences, using your own network as the example? If yes, you understand it. If not, re-read the part where you got stuck, not the whole article.

The parts people mix up

  • Names that sound alike. Networking is full of terms that differ by one word and mean different things. When two ideas blur together, write both definitions side by side. The difference is usually one sentence.
  • What it does versus what it is called. Product names and protocol names get used loosely. Trust the function, not the label.
  • Old rules that no longer apply. Advice from ten years ago still circulates. Check whether it matches current hardware before you follow it.

When does this actually matter?

Not every day. Azure Virtual network gateway (VNG)? matters on three occasions: when something breaks, when you buy equipment, and when you plan a change. Knowing it before those moments is what turns a two-hour problem into a ten-minute fix.

What to learn next

Pick the topic that connects directly to this one, not a random next article. Knowledge in networking compounds: each idea makes the next one easier, but only if the two are actually connected. The related articles at the end of this page are the right place to look.

🧠 Quick Check — Test Yourself

Can you explain this topic to someone else in 30 seconds? If not, re-read the key takeaways above.

What should you remember most?

The core concepts in the takeaways box above. Bookmark this page and come back when you need a refresher.

JA
Written by

Jaspreet Singh

Hey! I'm Jaspreet Singh and I completed a degree in Bachelor of Computer Applications. I have 7+ years of experience in the Network & Security Domain as well as the Cloud Infra Domain. So I love to explore my technical knowledge with you.

Leave a Reply

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