IPsec vpn over express route

Mateen Baig 71 Reputation points
2022-12-08T14:02:05.13+00:00

I have functioning ER private peering. Want to have VPN over ER with private IPs. I understand that i need a virtual network gateway of type VPN in the same gateway subnet with private IP option enabled.
1- The documentation does not say anything about Local network gateway ?
2- and BGP is supposed to be disabled in this configuration ?

https://learn.microsoft.com/en-us/azure/vpn-gateway/site-to-site-vpn-private-peering#traffic-from-azure-to-on-premises-networks
@SaiKishor-MSFT

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,389 questions
Azure ExpressRoute
Azure ExpressRoute
An Azure service that provides private connections between Azure datacenters and infrastructure, either on premises or in a colocation environment.
323 questions
{count} votes

Accepted answer
  1. KapilAnanth-MSFT 35,246 Reputation points Microsoft Employee
    2022-12-09T05:52:39.103+00:00

    Hi @Mateen Baig ,

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
    I understand that you would like to understand few details about Site-to-Site VPN connection over ExpressRoute Private Peering.

    1 . The documentation does not say anything about Local network gateway?

    • LNG is required for this configuration to define the IP of the OnPrem side Router/Firewall
    • However, in the OnPrem Device IP (LNG IP) , you will be using the Private IP of the Router/Firewall

    2 . BGP is supposed to be disabled in this configuration?

    • No. Nothing like that.
    • In fact, it is recommended to use BGP here as well, just make sure a more specific range is advertised over this S2S Tunnel so traffic does not prefer ExpressRoute.

    Refer:
    1 . Traffic from on-premises networks to Azure
    268845-image.png

    2 . Traffic from Azure to on-premises networks

    Thanks,
    Kapil

    ----------------------------------------------------------------------------------------------------------------

    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.


1 additional answer

Sort by: Most helpful
  1. Mateen Baig 1 Reputation point
    2023-04-24T11:08:29.66+00:00

    I have configured two VPN connections over expressroute private peering with private IPs using BGP. VPN connection : From routers 1 loopback1 & router 2 loopback 2 to Azure VPN gateway private IP X.X.X.6. BGP: From routers 1 loopback1 & router 2 loopback 2 to Azure VPN gateway BGP peer IP X.X.X.62. BGP is configured making router 2 backup using BGP as-path. Expressroute interfaces are in its own VRF only allowing only VPN traffic through. more specific routes are advertised on though VPN.

    • Failover from router 1 to 2 and back works fine with express route.
    • Failover works fine with Express route and a VPN connection.
    • Failover works fine with Express route redundant connections also.
    • There is data loss when redundant VPNs are connected Issue is that when both the VPN are connected there is packet loss from Azure to on-prem. It looks like some traffic is sent on backup tunnel event tough BGP as-path is configured. @KapilAnanth-MSFT any suggestions ?