What is VNet peering and what are its key properties?
BeginnerConceptNetworking
Answer
Peering connects two VNets over the Microsoft backbone with private IPs, low latency and no gateway. Works across regions (global peering) and across subscriptions/tenants.
Key properties:
- Not transitive: A↔B and B↔C does not give A↔C.
- Address spaces must not overlap.
- It must be created on both sides.
- Options:
allowForwardedTraffic(accept traffic forwarded by an NVA),allowGatewayTransit/useRemoteGateways(share a VPN/ExpressRoute gateway). - Data transfer across peering is billed per GB both ways.
More on Networking
What is a VNet and how does it compare to an AWS VPC?BeginnerHow many IP addresses does Azure reserve in each subnet?BeginnerWhat is a Network Security Group and how are its rules evaluated?BeginnerIf an NSG is on both the subnet and the NIC, how is traffic evaluated?AdvancedWhat are service tags and why use them in NSG rules?BeginnerWhat is an Application Security Group (ASG)?Intermediate