BGP routing over IPsec VPN
BGP Routing over IPsec VPN
BGP peering over IPsec VPN tunnels can be enabled on the Meraki Security Appliance. This unlocks new dynamic routing use cases for customers in addition to enabling resiliency and redundancy over IPsec VPN peers.
Prerequisites
-
IKEv2 setting
-
MX 19.1.4 or newer release
-
MX platforms that support MX 19.1 firmware and above
-
BGP - TCP port 179 permitted on your VPN firewall
-
BGP enabled
Configuring eBGP over IPsec
When you add an IPsec VPN peer, under Routing you have - Static and Dynamic. With Dynamic selected, you see the following configuration options:
|
BGP peer will show up grayed out on the Security & SD-WAN > Routing page, and can only be removed when the peer is deleted via the Site-to-Site VPN page.
Verifying Connectivity
An IPsec tunnel is formed before the eBGP peering relationship is formed. Hence, to verify BGP neighborship, First verify that the IPsec tunnel is up. We can verify by navigating to Security & SD-WAN > VPN Status – Non Meraki VPN tab.
Here we can see the status of the IPsec tunnel.
VPN status indicator |
Meaning |
Green |
Phase 1 and phase 2 are up. |
Amber |
Phase 1 is up but phase 2 is down |
Red |
Phase 1 and phase 2 are both down. |
If we see a Green indicator, it means the IPsec tunnel is up.
Next, we navigate to the Dynamic protocol status page to see if the eBGP peering relationship with our remote peer is up. An Established peer status indicates that the BGP neighbor relationship is established, and the “Routes” column indicates how many routes have been learned from the BGP neighbor.
The exact routes learned can viewed on the Security & SD-WAN > Route table page