Routes
While firewall rules determine which packets may be sent and received by instances on the network, routes determine how those packets are directed through the network. VPC networks automatically provide routes for directing traffic internally between instances, as well as a route for directing egress traffic to external addresses. In most cases, these default routes are sufficient for handling network traffic.
Routes can be viewed by executing the gcloud compute routes list command, or from within the Cloud Console by navigating to Navigation menu | VPC network | Routes. Notice that each route outlines a destination IP range, a priority, optional instance tags, and an optional next hop. These are the core components of a route, which, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access