Why do we have to add Internet Gateway into the Route Tables to receive the internet traffic

0 votes

Route tables describe the destination of packets from within a VPC, so why does a route table have to include an internet gateway when the internet gateway is itself a source of the packet and the destination is the public or elastic IPs within the VPC?

Jun 7, 2018 in AWS by shubham
• 7,340 points
1,345 views

2 answers to this question.

0 votes
Because almost every useful internet connection is bidirectional. TCP/IP connections require several packets back and forth before a connection is established and even if, abstractly, all of the data is going one way, there's a flow of acknowledgement packets returning to the sender. This isn't the case with UDP/IP, but I don't know exactly what traffic you're trying to send back-end forth. One thing you could try is to install tcpdump (or similar) on the instance and see if it receives the packets. (It is possible to do this without the AWS IGW, however, it will require a second VPC, VPC peering, and a bit of clever network configuration.)
answered Jun 7, 2018 by Cloud gunner
• 4,670 points
0 votes

Hi,

Please find the below explanation, kindly correct me if I am wrong:

Here route tables are used to route the table is a set of rules used to determine the network in which it has to be directed.

Each VPC has its own routing table to send/receive traffic.

Where internet gateway is used to connect the internal IP addresses to the internet or vice-versa.

Summary:

In general, routing table routes the traffic internally in the AWS network but for the IGW it is to contact the outside network basically internet.

answered Jan 27, 2020 by vivek
• 530 points

Related Questions In AWS

0 votes
1 answer

To receive internet traffic why does Internet Gatway have to be added to Route Tables

When you create a subnet,It will be ...READ MORE

answered Nov 13, 2018 in AWS by Priyaj
• 58,020 points
1,045 views
0 votes
1 answer

Why do we need to create our own VPC in AWS?

Hi@akhtar, Yes, in AWS you will get one ...READ MORE

answered Mar 18, 2020 in AWS by MD
• 95,460 points
2,910 views
+9 votes
17 answers

AWS VPC - What is the difference between Internet Gateway & NAT

Internet Gateway An Internet Gateway is a logical connection ...READ MORE

answered Apr 24, 2018 in AWS by Flying geek
• 3,280 points

edited Jul 10, 2023 by Khan Sarfaraz 128,471 views
+2 votes
2 answers

How do we move a domain from Hostgator to AWS Route 53?

I found this  Before transferring a domain, make ...READ MORE

answered Aug 3, 2018 in AWS by Priyaj
• 58,020 points
5,914 views
+5 votes
2 answers

Can we migrate the AWS Cognito users between the user pools?

Yes, it is possible that this scenario ...READ MORE

answered Apr 13, 2018 in AWS by Cloud gunner
• 4,670 points
10,569 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP