- Newest
- Most votes
- Most comments
When creating a Transit Virtual Interface (VIF) with a public ASN, AWS does not perform the same validation of ASN ownership that occurs with Public VIFs.
For Public Virtual Interfaces, AWS specifically validates ownership of public ASNs. This is because public VIFs connect to the public AWS network and can potentially advertise routes to the internet, so AWS needs to verify that you own the ASN and have the right to announce it.
For Transit VIFs, the ASN validation process is different. While you can use ASNs in the range of 1-2147483647 (which includes both public and private ASN ranges), AWS doesn't perform the same ownership verification step that happens with public VIFs.
However, there is an important consideration when using Transit VIFs with Direct Connect gateways and transit gateways: if you associate your transit gateway with one or more Direct Connect gateways, the ASN used by the transit gateway and the Direct Connect gateway must be different. For example, if you use the default ASN 64512 for both, the association request will fail.
So while you can use a public ASN for a Transit VIF, AWS doesn't validate your ownership of that ASN in the same way it does for Public VIFs.
Sources
Public VIF BGP Peering AS Number at AWS side. | AWS re:Post
AWS Direct Connect routing policies and BGP communities - AWS Direct Connect
Create an AWS Direct Connect hosted transit virtual interface - AWS Direct Connect
ASN verification happens for Direct Connect Public VIF, as stated in this rePost article. This validation does not happen for Private or Transit VIFs, as long as you are using ASN from the range mentioned in the documentation the VIF should be operational without any additional verification from AWS support.
Relevant content
asked 6 years ago
asked 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
