What is the VPC subnet route priority when two targets have the same default route as the destination?


If a public subnet has an attached route table with the following routes:


Which entry will take priority?. Is order considered in such case?

asked 4 years ago1629 views
1 Answer
Accepted Answer

In a VPC route table, you cannot have two targets with static routes for the same destination network. For example, the subnet route table already has a default route pointing to <igw-gateway-id> and if you try to add another default route pointing to <nat-gateway-id> in the same route table, will result in the error message: "The route identified by already exists."

answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions