Interview Prep/Networking/IP Addressing, CIDR, Subnetting & Routing

What is a default route?

BeginnerConceptIP Addressing, CIDR, Subnetting & Routing
Answer

0.0.0.0/0 (and ::/0 for IPv6) is the route of last resort, matched when nothing more specific matches. On a host it points to the gateway; in a VPC it points to an internet gateway (public subnet), NAT gateway (private subnet) or a transit gateway/firewall appliance for centralized egress.

A missing default route is why an instance can reach the VPC but not the internet.

All Networking questions Roadmap: Networking for DevOps

More on IP Addressing, CIDR, Subnetting & Routing