route priority question about DX

0

hi, All

Customer is try to change from Private VIF direct attach to VGW to direct connect gateway. The question is: during the operation, one VIF will attach to VGW and the other VIF will attache to DX-GW. This VGW is also associated with the DX-GW.

How VGW decide the route priority from connected VIF and DX-GW. Will the "as-path" or "community" still work?

Thanks

1개 답변
0
수락된 답변

Assuming both DX connections are in same co-lo, then:

VGW: VIF would be preferred over DXGW:VIF for return path (assuming both sessions are advertising same prefixes). You can use AS PATH prepending or LP commnities to control ingress traffic from AWS.

The recommended way to control ingress traffic from AWS going to a VPC is by using LP communities or AS PATH Prepending https://docs.aws.amazon.com/directconnect/latest/UserGuide/routing-and-bgp.html

Again, this is pretty tricky, "we set localpref for local region VIFs so that will override the AS prepend from remote region VIFs in some cases." This things also varies when 2 DX connections are from different co-locations homing same AWS region. Hence, it is recommended to get complete control to the ingress traffic flow through LP communities.

AWS
전문가
답변함 4년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인