Why is AWS Direct Connect advertising prefixes with a minimum path length of 3?

0

Our public virtual interface routing policies for AWS Direct Connect state that "AWS Direct Connect advertises prefixes with a minimum path length of 3."

We prepend ASN 7224 to the AS PATH over Direct Connect even twice to reach a minimum path length of 3. AS PATH field for a route learned over public VIF could be "7224 7224 16509".

  • Why is AWS Direct Connect advertising prefixes with a minimum path length of 3?
  • [Is it correct that we try to make the route look worse compared to other routes for the same network?] 2
AWS
已提问 4 年前551 查看次数
1 回答
0
已接受的回答

Yes, as the Forum post says -

A Customer could, and has, learn AWS Public routes over their DX peering and then readvertise those routes to other ASs (eg. ISPs). If those ASs via their ISP has a long enough AS Path to AWS, they could select those DX learned routes as their best path and would use the DX customer as transit.

To be clear, "worse" in this context simply means that if our routes are leaked by a customer to the Internet, from a BGP perspective they have a longer path and therefore should be less preferable than the paths we advertise directly to our peering and transit providers.

If this doesn't work for some reason with our customers - for example, they run eBGP internally and need to export the prefixes between those different internal ASN's, there are configurations they should be able to apply on their side to modify the communities and strip NO_EXPORT for example.

AWS
专家
已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则