Site-to-Site VPN

1

Hello Experts,

Please see attached diagram.

As quoted by AWS DOC "When we perform updates on one VPN tunnel, we set a lower outbound multi-exit discriminator (MED) value on the other tunnel. If you have configured your customer gateway device to use both tunnels, your VPN connection uses the other (up) tunnel during the tunnel endpoint update process."

is this not going to cause asymmetric routing again if MED value changed ?

Note: Customer end going to be Cisco ASA

Thanks Enter image description here

1개 답변
1

You would not use MED on the CGW (Cisco), also please note the below statements from the documentation. Weight, LP and AS Path are all evaluated before MED. Ideally the CGW should support Active-Active tunnels with Asymmetric routing enabled, however if it does not then use AS Path prepending and Local preference.


To ensure that the up tunnel with the lower MED is preferred, ensure that your customer gateway device uses the same Weight and Local Preference values for both tunnels (Weight and Local Preference have higher priority than MED).

AWS strongly recommends using customer gateway devices that support asymmetric routing.

For customer gateway devices that support asymmetric routing, we do not recommend using AS PATH prepending, to ensure that both tunnels have equal AS PATH. This helps to ensure that the multi-exit discriminator (MED) value that we set on a tunnel during VPN tunnel endpoint updates is used to determine tunnel priority.

For customer gateway devices that do not support asymmetric routing, please use AS-path-prepending and Local-Preference to prefer one tunnel over the other

profile pictureAWS
전문가
답변함 2년 전
  • Even AS prepending that would only for inbound traffic. MED tweaks are for outbound traffic hence not sure how that helps.

    For example - In case I do AS prepended (Customer Router) on top peering that will make bottom peering preferred, but for outbound MED will stay play same role and that would be unpredicted in case of maintenance. Sorry it might be my wrong way of visualizing :)

  • You are correct, that is why AS Path prepending is not recommended. Best practice is that CGW should use Active-Active Tunnels with Asymmetric routing supported, don't prefer 1 tunnel over the other because if you do that then AWS tunnel endpoint replacement maintenance would cause issues with traffic preferred on that 1 tunnel. You would use AS-path only if you must have Active-Active tunnels (both Up) but the CGW does not support Asymmetric routing.

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

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

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