Skip to content

Commit 4aa053a

Browse files
committed
update
1 parent ba53ec8 commit 4aa053a

File tree

9 files changed

+40
-25
lines changed

9 files changed

+40
-25
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

articles/vpn-gateway/vpn-gateway-howto-aws-bgp.md

Lines changed: 40 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ You can also set up your own custom APIPA addresses. AWS requires a /30 **Inside
5454
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**.
5555

5656
> [!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.
5959
6060
## Prerequisites
6161

@@ -106,11 +106,11 @@ Create a VPN gateway using the following values:
106106

107107
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.
108108

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" :::
109+
:::image type="content" source="./media/vpn-gateway-howto-aws-bgp/public-ip.png" alt-text="Screenshot shows PIP setting." lightbox="./media/vpn-gateway-howto-aws-bgp/public-ip.png" :::
110110

111111
1. Configure BGP
112112

113-
:::image type="content" source="./media/vpn-gateway-howto-aws-bgp/create-gw-bgp.png" alt-text="BGP for creating gateway" :::
113+
:::image type="content" source="./media/vpn-gateway-howto-aws-bgp/create-gw-bgp.png" alt-text="Screenshot shows BGP setting." lightbox="./media/vpn-gateway-howto-aws-bgp/create-gw-bgp.png" :::
114114

115115
* Select **Enabled** for **Configure BGP** to show the BGP configuration section.
116116
* 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
207207

208208
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.
209209

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**
212212
213213
### <a name="create-local-network-gateways"></a> Create local network gateways
214214

215+
Repeat these instructions to create each local network gateway.
216+
215217
1. In the Azure portal, navigate to the **Local network gateway** resource from the Marketplace, and select **Create**.
216218
1. Select the same **Subscription**, **Resource Group**, and **Region** you used to create your virtual network gateway.
217219
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
220222
1. Leave **Address Space** as blank and select **Advanced**.
221223

222224
:::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).
226230

227231
:::image type="content" source="./media/vpn-gateway-howto-aws-bgp/lng-bgp.png" alt-text="Values for your local network gateway BGP settings" :::
228232

229233
### <a name ="create-azure-connections"></a> Create connections
230234

231-
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.
237250
1. Under **Custom BGP Addresses**
251+
238252
* Enter the Custom BGP Address based on the [APIPA configuration you chose](#apipa-config).
239253
* 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.
240254
* 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
250264
| AWS Tunnel 2 to Azure Instance 0 | 169.254.22.2 | Not used (select 169.254.21.6)|
251265
| AWS Tunnel 1 to Azure Instance 1 | Not used (select 169.254.21.2) | 169.254.21.6 |
252266
| 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**.
254-
255-
:::image type="content" source="./media/vpn-gateway-howto-aws-bgp/create-connection.png" alt-text="Modifying connection" :::
256-
257-
1. From the **Connections** page for your VPN gateway, select the connection you created and navigate to the **Configuration** page.
258-
1. You can select any of the available options (Default, Initiator Only, Responder Only) for **Connection Mode**, then select **Save**.
259-
260-
:::image type="content" source="./media/vpn-gateway-howto-aws-bgp/responder-only.png" alt-text="Specify connection mode." :::
261267

262-
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**.
263278

264279
## <a name ="part-4"></a> Part 4: (Optional) Check the status of your connections
265280

@@ -287,4 +302,4 @@ Verify that you have a **local network gateway** and **connection** for **each o
287302

288303
## Next steps
289304

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

Comments
 (0)