Overview

Routes that send specific destination ranges through a private gateway instead of the VPC’s default path — “Configure custom routing rules for your VPC”.
Navigation: Networking → VPC → click a VPC → Static Routes.

What a row shows

The Gateway column shows the gateway’s raw identifier, not its IP address. Matching a route to a gateway means comparing IDs against Private Gateway — the readable address isn’t shown here.With more than one private gateway, note the ID-to-address mapping somewhere before you start adding routes.

Adding a route

Add Route takes a CIDR and a Private Gateway. With no private gateway you get:
and the form is disabled. That’s the correct order: gateway, then routes.

The validation gap

There is no CIDR format validation here, unlike the network creation form. A malformed or simply wrong CIDR is accepted, saved, listed, and quietly doesn’t route — with nothing anywhere pointing at the cause.Things that will be accepted and won’t work:Read the CIDR back before you submit. When a route doesn’t work, suspect the value in the CIDR column before you suspect the gateway.

Common task: route an on-premises range through a private gateway

1

Confirm the private gateway exists and is up

Private Gateway. Note its identifier as well as its IP — the identifier is what this screen shows.
2

Get the exact destination ranges

From whoever runs the far network. One route per range; don’t approximate with a wider range that overlaps something.
3

Check the range does not overlap the VPC

Compare against the VPC’s CIDR on Details and against every tier on Networks. An overlapping route can break internal traffic, and nothing warns you.
4

Add the route and re-read the CIDR

Since nothing validates it, this read-back is the validation.
5

Test from a machine, over the console

Use the console. A routing change that goes wrong can drop your SSH session, and then you’re locked out of the machine you were testing from.

Before deleting a private gateway

Routes are not removed when their gateway is deleted. You’re left with routes pointing at a gateway that no longer exists — still listed, still looking configured, routing nothing.Delete the routes first. See Private Gateway.

Private Gateway

The gateway routes point through.

Details

The VPC’s own CIDR, to check for overlap.

Networks

The tier CIDRs, for the same reason.

Network Designer

Routes appear as a route table node.