
Alanyuan
https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html
I’ve been reading this discussion on routing tables and here is the table route:
Destination – Target
10.0.0.0/16 Local
172.31.0.0/16 pcx-11223344556677889
0.0.0.0/0 igw-12345678901234567
From my understanding, if I am visiting a webpage say acloudguru.com through a EC2 within this VPC, I would be making an HTTP request to an address say 172.31.12.12. If there was no Local/ pcx entries in the routing table, this makes sense a the IP would be routed to the IGW.
I’m not sure if I didn’t understand Subnet routing correctly, but if I am visiting a webpage in the IP range of Local/ Pcx, would that traffic get routed to Local/ pcx?