You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/vpn-gateway/vpn-gateway-howto-aws-bgp.md
+40-25Lines changed: 40 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,8 +54,8 @@ You can also set up your own custom APIPA addresses. AWS requires a /30 **Inside
54
54
For example, if you set your AWS **Inside IPv4 CIDR** to be **169.254.21.0/30**, AWS will use the BGP IP address **169.254.21.1** and Azure will use the IP address **169.254.21.2**.
55
55
56
56
> [!IMPORTANT]
57
-
> 1. Your APIPA addresses must not overlap between the on-premises VPN devices and all connected Azure VPN gateways.
58
-
> 1. If you choose to configure multiple APIPA BGP peer addresses on the VPN gateway, you must also configure all Connection objects with their corresponding IP address of your choice. If you fail to do so, all connections use the first APIPA IP address in the list no matter how many IPs are present.
57
+
> * Your APIPA addresses must not overlap between the on-premises VPN devices and all connected Azure VPN gateways.
58
+
> * If you choose to configure multiple APIPA BGP peer addresses on the VPN gateway, you must also configure all Connection objects with their corresponding IP address of your choice. If you fail to do so, all connections use the first APIPA IP address in the list no matter how many IPs are present.
59
59
60
60
## Prerequisites
61
61
@@ -106,11 +106,11 @@ Create a VPN gateway using the following values:
106
106
107
107
1. Configure both Public IP addresses and enable active-active mode. The public IP address objects created here are associated to the VPN gateway. The public IP address is dynamically assigned to the object when the VPN gateway is created.
108
108
109
-
:::image type="content" source="./media/vpn-gateway-howto-aws-bgp/public-ip.png" alt-text="Screenshot shows top part of the virtual network gateway screen." lightbox="./media/vpn-gateway-howto-aws-bgp/public-ip.png" :::
* Select **Enabled** for **Configure BGP** to show the BGP configuration section.
116
116
* Fill in a **ASN (Autonomous System Number)**. This ASN must be different than the ASN used by AWS.
@@ -207,11 +207,13 @@ For **Inside IPv4 CIDR for Tunnel 1** and **Inside IPv4 CIDR for Tunnel 2** for
207
207
208
208
Next, you connect your AWS tunnels to Azure. For each of the four tunnels, you'll have both a local network gateway and a site-to-site connection.
209
209
210
-
> [!IMPORTANT]
211
-
> Repeat the following sections for **each of your four AWS tunnels**, using their respective **outside IP address**
210
+
> [!IMPORTANT]
211
+
> Repeat the following sections for **each of your four AWS tunnels**, using their respective **outside IP address**
212
212
213
213
### <aname="create-local-network-gateways"></a> Create local network gateways
214
214
215
+
Repeat these instructions to create each local network gateway.
216
+
215
217
1. In the Azure portal, navigate to the **Local network gateway** resource from the Marketplace, and select **Create**.
216
218
1. Select the same **Subscription**, **Resource Group**, and **Region** you used to create your virtual network gateway.
217
219
1. Enter a name for your local network gateway.
@@ -220,21 +222,33 @@ Next, you connect your AWS tunnels to Azure. For each of the four tunnels, you'l
220
222
1. Leave **Address Space** as blank and select **Advanced**.
221
223
222
224
:::image type="content" source="./media/vpn-gateway-howto-aws-bgp/create-lng.png" alt-text="Values for your local network gateway" :::
223
-
1. Select **Yes** for **Configure BGP settings**.
224
-
1. For **Autonomous system number (ASN)**, enter the ASN for your AWS Virtual Private Network. Use the ASN **64512** if you left your ASN as the AWS default value.
225
-
1. For **BGP peer IP address**, enter the AWS BGP Peer IP Address based on the [APIPA configuration you chose](#apipa-config).
225
+
1. On the **Advanced** tab, configure the following settings:
226
+
227
+
* Select **Yes** for **Configure BGP settings**.
228
+
* For **Autonomous system number (ASN)**, enter the ASN for your AWS Virtual Private Network. Use the ASN **64512** if you left your ASN as the AWS default value.
229
+
* For **BGP peer IP address**, enter the AWS BGP Peer IP Address based on the [APIPA configuration you chose](#apipa-config).
226
230
227
231
:::image type="content" source="./media/vpn-gateway-howto-aws-bgp/lng-bgp.png" alt-text="Values for your local network gateway BGP settings" :::
1. Open the page for your **virtual network gateway**, navigate to the **connections** page, then select **Add**.
232
-
1. Enter a name for your connection.
233
-
1. Select **Site-to-Site** as the **Connection type**.
234
-
1. Select the **local network gateway** you created.
235
-
1. Enter the **Shared key (PSK)** that matches the preshared key you entered when making the AWS connections.
236
-
1. Select **Enable BGP**, then **Enable Custom BGP Addresses**.
235
+
Repeat these steps to create each of the required connections.
236
+
237
+
1. Open the page for your **virtual network gateway**, navigate to the **Connections** page.
238
+
1. On the **Connections page**, select **+ Add**.
239
+
1. On the **Basics** page, complete the following values:
240
+
241
+
***Connection type**: Site-to-site (IPsec)
242
+
***Name**: Enter a name for your connection. Example: AWSTunnel1toAzureInstance0.
243
+
1. On the **Settings** page, complete the following values:
244
+
245
+
***Virtual network gateway**: Select the VPN gateway.
246
+
***Local network gateway**: Select the local network gateway you created.
247
+
* Enter the **Shared key (PSK)** that matches the preshared key you entered when making the AWS connections.
248
+
***Enable BGP**: Select to enable.
249
+
***Enable Custom BGP Addresses**: Select to enable.
237
250
1. Under **Custom BGP Addresses**
251
+
238
252
* Enter the Custom BGP Address based on the [APIPA configuration you chose](#apipa-config).
239
253
* The **Custom BGP Address** (Inside IPv4 CIDR in AWS) must match with the **IP Address** (Outside IP Address in AWS) that you specified in the local network gateway you're using for this connection.
240
254
* Only one of the two custom BGP addresses will be used, depending on the tunnel you're specifying it for.
@@ -250,16 +264,17 @@ Next, you connect your AWS tunnels to Azure. For each of the four tunnels, you'l
250
264
| AWS Tunnel 2 to Azure Instance 0 | 169.254.22.2 | Not used (select 169.254.21.6)|
251
265
| AWS Tunnel 1 to Azure Instance 1 | Not used (select 169.254.21.2) | 169.254.21.6 |
252
266
| AWS Tunnel 2 to Azure Instance 1 | Not used (select 169.254.21.2) | 169.254.22.6 |
253
-
1. Leave the rest of the fields as their default values and select **Ok**.
Verify that you have a **local network gateway** and **connection** for **each of your four AWS tunnels**.
268
+
1. Configure the following settings:
269
+
270
+
***FastPath**: leave the default (deselected)
271
+
***IPsec / IKE policy**: Default
272
+
***Use policy based traffic selector**: Disable
273
+
***DPD timeout in seconds**: leave the default
274
+
***Connection Mode**: You can select any of the available options (Default, Initiator Only, Responder Only) for **Connection Mode**, then select **Save**.
275
+
1.**Review + create** to create the connection.
276
+
1. Repeat these steps to create additional connections.
277
+
1. Before continuing to the next section, verify that you have a **local network gateway** and **connection** for **each of your four AWS tunnels**.
263
278
264
279
## <aname ="part-4"></a> Part 4: (Optional) Check the status of your connections
265
280
@@ -287,4 +302,4 @@ Verify that you have a **local network gateway** and **connection** for **each o
287
302
288
303
## Next steps
289
304
290
-
For more information about VPN Gateway see the [FAQ](vpn-gateway-vpn-faq.md).
305
+
For more information about VPN Gateway, see the [FAQ](vpn-gateway-vpn-faq.md).
0 commit comments