Route Table Return Traffic Impact

0

How does a Route Table handle return traffic? Is it going to follow what's in the route table? Will it review its list of destination/source and send via that path instead of what it came in on?

Say traffic comes in on 192.168.1.0/24 from some local endpoint. The Route Table says to send all 192.168.1.0/24 traffic to NAT-xxxx; which is clearly not where the traffic came in from. Will it go back out its endpoint, or via the NAT?

已提問 1 年前檢視次數 187 次
2 個答案
0
已接受的答案

Route tables will look into the destination and next hop.

In your case scenario,

Traffic sourced from 192.168.1.0/24 --> NAT GW translate this into x.x.x.x --> return traffic comes from x.x.x.x >>>> NAT GW would translate this back to 192.168.1.0/24 (here the NAT GW looks into its route table for 192.168.1.0/24 and send the traffic to the local host.

profile pictureAWS
Matt_E
已回答 1 年前
profile picture
專家
已審閱 1 個月前
0

Say traffic comes in on 192.168.1.0/24 from some local endpoint. The Route Table says to send all 192.168.1.0/24 traffic to NAT-xxxx; which is clearly not where the traffic came in from. Will it go back out its endpoint, or via the NAT?

It means traffic source is endpoint ENI (network interface ) IP address and Destination is 192.168.1.0/24 towards NAT-xxxx.

When NAT-xxx need to reply. It will see NAT-XX VPC route table and look for route of Endpoint ENI and send packet. ( In most of the case if Endpoint is in VPC then it will be Local route within VPC xxx/x LOCAL. Kind of switching/broadcast)

已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南