How to check the default route on private and isolated subnets?

0

I am trying to use describe_route_tables on boto3 to describe routes that are going to a particular subnet and going to a particular gateway/network firewall.

Furthermore, is there a way to check the default route in a subnet? Using bogo3?

2 Answers
1

The default route is no different to any other route - there's no special marker for it. Look for a route that has a DestinationCidrBlock of 0.0.0.0/0 - that's the default route.

profile pictureAWS
EXPERT
answered a year ago
0

You can use that boto3 command. You can further use this filter to only grep default route

route.destination-cidr-block

Accept answer if helped.

answered a year 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