Soru

Zorluk: OrtaAWS VPN, Direct Connect, and Transit Gateway Management

A company is setting up a hybrid network environment to connect three VPCs with their on-premises network using an AWS Transit Gateway. A SysOps Administrator has created the Transit Gateway and established an AWS Site-to-Site VPN connection with dynamic routing (BGP) to the Transit Gateway. The administrator needs to configure routing so that instances in the private subnets of all three VPCs can communicate with the on-premises network.

Which steps must the administrator take to configure the routing? (Select TWO.)

  1. Enable route propagation for the Site-to-Site VPN attachment in the Transit Gateway route table.Cevap
  2. In the VPC subnet route tables, add a route for the on-premises network range pointing to the Transit Gateway attachment as the target.Cevap
  3. C
    Create an Internet Gateway in each VPC and add a route for the on-premises CIDR targeting the Internet Gateway.
  4. D
    Deploy a NAT Gateway in the public subnets and route the on-premises destination CIDR through the NAT Gateway.
  5. E
    Create a Gateway VPC Endpoint in each VPC and associate it with the subnet route tables to route the hybrid traffic.

Cevap

Enable route propagation for the Site-to-Site VPN attachment in the Transit Gateway route table, and add a route in the VPC subnet route tables pointing to the Transit Gateway attachment.
To enable hybrid connectivity via an AWS Transit Gateway, two main routing tables must be configured: the VPC subnet route tables and the Transit Gateway route table. First, traffic from the VPC subnets must know how to reach the on-premises network. This is achieved by adding a route in the VPC subnet route tables targeting the Transit Gateway. Second, the Transit Gateway must know how to route packets to the on-premises network via the VPN. By enabling route propagation on the Site-to-Site VPN attachment, the Transit Gateway dynamically learns the on-premises BGP-advertised routes.

Adım Adım Çözüm

1
Configure the VPC routing to point to the Transit Gateway.
A route is added in the VPC subnet route tables for the on-premises destination CIDR pointing to the Transit Gateway attachment.
This allows outbound traffic from the instances to be directed to the Transit Gateway.
2
Configure the Transit Gateway routing to learn the on-premises routes.
Route propagation is enabled for the VPN attachment in the Transit Gateway route table.
This allows the Transit Gateway to dynamically receive BGP route advertisements from the customer gateway, populating the Transit Gateway route table with the on-premises destination ranges.

Anahtar Kavram

Routing configuration for AWS Transit Gateway and Site-to-Site VPN hybrid connections.
Tahmini Süre:2m 0s
Bu soruyu puanla