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
Follow the instructions to create an [ExpressRoute circuit](expressroute-howto-circuit-arm.md) and have it provisioned by the connectivity provider. If your connectivity provider offers managed Layer 3 services, you can ask your connectivity provider to enable Microsoft peering for you. You won't need to follow instructions listed in the next sections. However, if your connectivity provider doesn't manage routing for you, after creating your circuit, continue your configuration using the next steps.
78
78
79
-
1. Check the ExpressRoute circuit to make sure it's provisioned and also enabled. Use the following example:
79
+
3. Check the ExpressRoute circuit to make sure it's provisioned and also enabled. Use the following example:
1. Configure Microsoft peering for the circuit. Make sure that you have the following information before you continue.
110
+
4. Configure Microsoft peering for the circuit. Make sure that you have the following information before you continue.
111
111
112
-
* A /30 or /126 subnet for the primary link. The address block must be a valid public IPv4 or IPv6 prefix owned by you and registered in an RIR / IRR.
113
-
* A /30 or /126 subnet for the secondary link. The address block must be a valid public IPv4 or IPv6 prefix owned by you and registered in an RIR / IRR.
114
-
* A valid VLAN ID to establish this peering on. Ensure that no other peering in the circuit uses the same VLAN ID.
112
+
* A pair of subnets owned by you and registered in an RIR/IRR. One subnet is used for the primary link, while the other will be used for the secondary link. From each of these subnets, you assign the first usable IP address to your router as Microsoft uses the second usable IP for its router. You have three options for this pair of subnets:
113
+
* IPv4: Two /30 subnets. These must be valid public IPv4 prefixes.
114
+
* IPv6: Two /126 subnets. These must be valid public IPv6 prefixes.
115
+
* Both: Two /30 subnets and two /126 subnets.
116
+
* Microsoft peering enables you to communicate with the public IP addresses on Microsoft network. So, your traffic endpoints on your on-premises network should be public too. This is often done using SNAT.
117
+
> [!NOTE]
118
+
> When using SNAT, we advise against a public IP address from the range assigned to primary or secondary link. Instead, you should use a different range of public IP addresses that has been assigned to you and registered in a Regional Internet Registry (RIR) or Internet Routing Registry (IRR). Depending on your call volume, this range can be as small as a single IP address (represented as '/32' for IPv4 or '/128' for IPv6).
119
+
* A valid VLAN ID to establish this peering on. Ensure that no other peering in the circuit uses the same VLAN ID. For both Primary and Secondary links you must use the same VLAN ID.
115
120
* AS number for peering. You can use both 2-byte and 4-byte AS numbers.
116
-
* Advertised prefixes: You provide a list of all prefixes you plan to advertise over the BGP session. Only public IP address prefixes are accepted. If you plan to send a set of prefixes, you can send a comma-separated list. These prefixes must be registered to you in an RIR / IRR. IPv4 BGP sessions require IPv4 advertised prefixes and IPv6 BGP sessions require IPv6 advertised prefixes.
121
+
* Advertised prefixes: You provide a list of all prefixes you plan to advertise over the BGP session. Only public IP address prefixes are accepted. If you plan to send a set of prefixes, you can send a comma-separated list. These prefixes must be registered to you in an RIR / IRR.
122
+
***Optional -** Customer ASN: If you're advertising prefixes not registered to the peering AS number, you can specify the AS number to which they're registered with.
117
123
* Routing Registry Name: You can specify the RIR / IRR against which the AS number and prefixes are registered.
118
-
* Optional:
119
-
* Customer ASN: If you're advertising prefixes not registered to the peering AS number, you can specify the AS number to which they're registered with.
120
-
* An MD5 hash if you choose to use one.
124
+
***Optional -** An MD5 hash if you choose to use one.
121
125
122
126
> [!IMPORTANT]
123
127
> Microsoft verifies if the specified 'Advertised public prefixes' and 'Peer ASN' (or 'Customer ASN') are assigned to you in the Internet Routing Registry. If you are getting the public prefixes from another entity and if the assignment is not recorded with the routing registry, the automatic validation will not complete and will require manual validation. If the automatic validation fails, you will see 'AdvertisedPublicPrefixesState' as 'Validation needed' on the output of "Get-AzExpressRouteCircuitPeeringConfig" (see "To get Microsoft peering details" in the following section).
@@ -194,11 +198,11 @@ This section helps you create, get, update, and delete the Azure private peering
Follow the instructions to create an [ExpressRoute circuit](expressroute-howto-circuit-arm.md) and have it provisioned by the connectivity provider. If your connectivity provider offers managed Layer 3 services, you can ask your connectivity provider to enable Azure private peering for you. You won't need to follow instructions listed in the next sections. However, if your connectivity provider doesn't manage routing for you, after creating your circuit, continue your configuration using the next steps.
200
204
201
-
1. Check the ExpressRoute circuit to make sure it's provisioned and also enabled. Use the following example:
205
+
3. Check the ExpressRoute circuit to make sure it's provisioned and also enabled. Use the following example:
1. Configure Microsoft peering for the circuit. Make sure that you have the following information before you continue.
236
+
4. Configure Azure private peering for the circuit. Make sure that you have the following items before you continue with the next steps:
233
237
234
-
* A pair of subnets owned by you and registered in an RIR/IRR. One subnet is used for the primary link, while the other will be used for the secondary link. From each of these subnets, you assign the first usable IP address to your router as Microsoft uses the second usable IP for its router. You have three options for this pair of subnets:
235
-
* IPv4: Two /30 subnets. These must be valid public IPv4 prefixes.
236
-
* IPv6: Two /126 subnets. These must be valid public IPv6 prefixes.
238
+
* A pair of subnets that aren't part of any address space reserved for virtual networks. One subnet is used for the primary link, while the other is used for the secondary link. From each of these subnets, you assign the first usable IP address to your router as Microsoft uses the second usable IP for its router. You have three options for this pair of subnets:
239
+
* IPv4: Two /30 subnets.
240
+
* IPv6: Two /126 subnets.
237
241
* Both: Two /30 subnets and two /126 subnets.
238
-
* Microsoft peering enables you to communicate with the public IP addresses on Microsoft network. So, your traffic endpoints on your on-premises network should be public too. This is often done using SNAT.
239
-
> [!NOTE]
240
-
> When using SNAT, we advise against a public IP address from the range assigned to primary or secondary link. Instead, you should use a different range of public IP addresses that has been assigned to you and registered in a Regional Internet Registry (RIR) or Internet Routing Registry (IRR). Depending on your call volume, this range can be as small as a single IP address (represented as '/32' for IPv4 or '/128' for IPv6).
241
-
* A valid VLAN ID to establish this peering on. Ensure that no other peering in the circuit uses the same VLAN ID. For both Primary and Secondary links you must use the same VLAN ID.
242
-
* AS number for peering. You can use both 2-byte and 4-byte AS numbers.
243
-
* Advertised prefixes: You provide a list of all prefixes you plan to advertise over the BGP session. Only public IP address prefixes are accepted. If you plan to send a set of prefixes, you can send a comma-separated list. These prefixes must be registered to you in an RIR / IRR.
244
-
***Optional -** Customer ASN: If you're advertising prefixes not registered to the peering AS number, you can specify the AS number to which they're registered with.
245
-
* Routing Registry Name: You can specify the RIR / IRR against which the AS number and prefixes are registered.
246
-
***Optional -** An MD5 hash if you choose to use one.
242
+
* A valid VLAN ID to establish this peering on. Ensure that no other peering in the circuit uses the same VLAN ID.
243
+
* AS number for peering. You can use both 2-byte and 4-byte AS numbers. You can use a private AS number for this peering. Ensure that you aren't using 65515.
244
+
* Optional:
245
+
* An MD5 hash if you choose to use one.
247
246
248
247
Use the following example to configure Azure private peering for your circuit:
Copy file name to clipboardExpand all lines: articles/expressroute/howto-routing-cli.md
+11-6Lines changed: 11 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ services: expressroute
5
5
author: duongau
6
6
ms.service: expressroute
7
7
ms.topic: how-to
8
-
ms.date: 09/15/2023
8
+
ms.date: 04/22/2024
9
9
ms.author: duau
10
10
ms.custom: devx-track-azurecli
11
11
---
@@ -98,12 +98,17 @@ This section helps you create, get, update, and delete the Microsoft peering con
98
98
99
99
4. Configure Microsoft peering for the circuit. Make sure that you have the following information before you continue.
100
100
101
-
* A /30 subnet for the primary link. The address block must be a valid public IPv4 prefix owned by you and registered in an RIR / IRR.
102
-
* A /30 subnet for the secondary link. The address block must be a valid public IPv4 prefix owned by you and registered in an RIR / IRR.
103
-
* A valid VLAN ID to establish this peering on. Ensure that no other peering in the circuit uses the same VLAN ID.
101
+
* A pair of subnets owned by you and registered in an RIR/IRR. One subnet is used for the primary link, while the other will be used for the secondary link. From each of these subnets, you assign the first usable IP address to your router as Microsoft uses the second usable IP for its router. You have three options for this pair of subnets:
102
+
* IPv4: Two /30 subnets. These must be valid public IPv4 prefixes.
103
+
* IPv6: Two /126 subnets. These must be valid public IPv6 prefixes.
104
+
* Both: Two /30 subnets and two /126 subnets.
105
+
* Microsoft peering enables you to communicate with the public IP addresses on Microsoft network. So, your traffic endpoints on your on-premises network should be public too. This is often done using SNAT.
106
+
> [!NOTE]
107
+
> When using SNAT, we advise against a public IP address from the range assigned to primary or secondary link. Instead, you should use a different range of public IP addresses that has been assigned to you and registered in a Regional Internet Registry (RIR) or Internet Routing Registry (IRR). Depending on your call volume, this range can be as small as a single IP address (represented as '/32' for IPv4 or '/128' for IPv6).
108
+
* A valid VLAN ID to establish this peering on. Ensure that no other peering in the circuit uses the same VLAN ID. For both Primary and Secondary links you must use the same VLAN ID.
104
109
* AS number for peering. You can use both 2-byte and 4-byte AS numbers.
105
-
* Advertised prefixes: Provide a list of all prefixes you plan to advertise over the BGP session. Only public IP address prefixes are accepted. If you plan to send a set of prefixes, you can send a comma-separated list. These prefixes must be registered to you in an RIR / IRR.
106
-
***Optional -** Customer ASN: If you're advertising prefixes that are not registered to the peering AS number, you can specify the AS number to which they're registered with.
110
+
* Advertised prefixes: You provide a list of all prefixes you plan to advertise over the BGP session. Only public IP address prefixes are accepted. If you plan to send a set of prefixes, you can send a comma-separated list. These prefixes must be registered to you in an RIR / IRR.
111
+
***Optional -** Customer ASN: If you're advertising prefixes not registered to the peering AS number, you can specify the AS number to which they're registered with.
107
112
* Routing Registry Name: You can specify the RIR / IRR against which the AS number and prefixes are registered.
108
113
***Optional -** An MD5 hash if you choose to use one.
0 commit comments