Fabrikam connects its datacenter to VNet1 through an ExpressRoute circuit. The network team wants to add a site-to-site VPN over the internet. VNet1 must keep encrypted connectivity to the datacenter if the ExpressRoute path fails. Both connections must terminate in VNet1.
Which gateway design should you plan for VNet1?
A site-to-site VPN can act as an encrypted backup route when ExpressRoute and the VPN both connect to the same virtual network. To build this, VNet1 needs two virtual network gateways: one with gateway type Vpn and one with gateway type ExpressRoute. A virtual network can hold only one VPN gateway, so a design with two Vpn-type gateways is not possible.
- Not correct: Two virtual network gateways of type Vpn, one for each connection. A virtual network can have only one VPN gateway, so two Vpn-type gateways in VNet1 are not possible. This design also lacks the ExpressRoute-type gateway that the existing circuit needs.
- Not correct: One virtual network gateway of type ExpressRoute for both connections. When a site-to-site VPN coexists with ExpressRoute on one virtual network, the VPN needs its own gateway of type Vpn. An ExpressRoute-type gateway alone does not provide the site-to-site VPN.
- Correct: Two virtual network gateways, one of type Vpn and one of type ExpressRoute. For a VPN to back up ExpressRoute on the same virtual network, the design calls for two gateways in that network: one with gateway type Vpn and one with gateway type ExpressRoute.
- Not correct: One virtual network gateway of type Vpn for both connections. The coexisting design needs a second gateway of type ExpressRoute to serve the ExpressRoute connection. A single Vpn-type gateway does not meet this.
- Azure VPN Gateway topologies and designMicrosoft Learn