{"id":7880,"date":"2026-10-10T16:49:01","date_gmt":"2026-10-10T16:49:01","guid":{"rendered":"https:\/\/prwatech.in\/blog\/?p=7880"},"modified":"2026-10-11T13:44:35","modified_gmt":"2026-10-11T13:44:35","slug":"routes-in-gcp","status":"publish","type":"post","link":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/networking\/routes-in-gcp\/","title":{"rendered":"Routes in GCP"},"content":{"rendered":"\r\n<h1><strong><b>How to Create a Custom Route in a GCP VPC Network<\/b><\/strong><\/h1>\r\n<p class=\"wp-block-paragraph\">Every packet that leaves a virtual machine in Google Cloud needs directions. Should it stay inside the network, go out to the internet, or travel through a VPN tunnel to your office? The thing that answers that question is a route. Routes are the rules a Virtual Private Cloud network uses to decide where traffic goes next.<\/p>\r\n<p>Most of the time you never touch them. Google Cloud creates routes automatically, so your machines can talk to each other and reach the internet from the moment you create a network. Routes matter when your design gets more interesting: sending traffic through a firewall appliance, reaching an on premises network, steering one group of machines differently from another, or blocking the default internet path.<\/p>\r\n<p>This guide explains what a route is made of, the types you will meet, and how Google Cloud picks one when several match. Then it shows you how to create a custom static route in the console with the original screenshots kept in order, repeats the job with gcloud, and ends with common mistakes and a short FAQ.<\/p>\r\n<h2><strong><b>What is a Route in a VPC Network?<\/b><\/strong><\/h2>\r\n<p>A route tells the network that traffic heading for a certain range of addresses should be sent to a certain next hop. Each route has a few fields.<\/p>\r\n<div style=\"width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 20px 0; border: 1px solid #d9e0ea; border-radius: 8px;\">\r\n<table style=\"width: 100%; min-width: 480px; border-collapse: collapse; font-family: Arial,Helvetica,sans-serif; font-size: 16px; line-height: 1.5; color: #1f2937;\"><caption style=\"caption-side: top; text-align: left; padding: 12px 14px; font-size: 18px; font-weight: bold; color: #0f2a4a;\">Route fields in a VPC network<\/caption>\r\n<thead>\r\n<tr style=\"background: #0f2a4a;\">\r\n<th style=\"padding: 12px 14px; text-align: left; color: #ffffff; font-weight: bold; border-bottom: 2px solid #0b1f38; width: 26%;\" scope=\"col\">Field<\/th>\r\n<th style=\"padding: 12px 14px; text-align: left; color: #ffffff; font-weight: bold; border-bottom: 2px solid #0b1f38;\" scope=\"col\">What it does<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr style=\"background: #ffffff;\">\r\n<th style=\"padding: 12px 14px; text-align: left; font-weight: 600; vertical-align: top; border-bottom: 1px solid #e5e9f0;\" scope=\"row\">Destination<\/th>\r\n<td style=\"padding: 12px 14px; vertical-align: top; border-bottom: 1px solid #e5e9f0;\">The range of IP addresses the route applies to, written in CIDR format such as 10.50.0.0\/24<\/td>\r\n<\/tr>\r\n<tr style=\"background: #f5f8fc;\">\r\n<th style=\"padding: 12px 14px; text-align: left; font-weight: 600; vertical-align: top; border-bottom: 1px solid #e5e9f0;\" scope=\"row\">Next hop<\/th>\r\n<td style=\"padding: 12px 14px; vertical-align: top; border-bottom: 1px solid #e5e9f0;\">Where matching traffic is sent, such as the default internet gateway, a virtual machine, a VPN tunnel or an internal load balancer<\/td>\r\n<\/tr>\r\n<tr style=\"background: #ffffff;\">\r\n<th style=\"padding: 12px 14px; text-align: left; font-weight: 600; vertical-align: top; border-bottom: 1px solid #e5e9f0;\" scope=\"row\">Priority<\/th>\r\n<td style=\"padding: 12px 14px; vertical-align: top; border-bottom: 1px solid #e5e9f0;\">A number that breaks ties between routes with the same destination. A lower number wins<\/td>\r\n<\/tr>\r\n<tr style=\"background: #f5f8fc;\">\r\n<th style=\"padding: 12px 14px; text-align: left; font-weight: 600; vertical-align: top; border-bottom: 1px solid #e5e9f0;\" scope=\"row\">Network tags<\/th>\r\n<td style=\"padding: 12px 14px; vertical-align: top; border-bottom: 1px solid #e5e9f0;\">An optional list of tags that limits the route to machines carrying those tags<\/td>\r\n<\/tr>\r\n<tr style=\"background: #ffffff;\">\r\n<th style=\"padding: 12px 14px; text-align: left; font-weight: 600; vertical-align: top;\" scope=\"row\">Network<\/th>\r\n<td style=\"padding: 12px 14px; vertical-align: top;\">The VPC network the route belongs to<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/div>\r\n<h2><strong><b>Types of Routes You Will See<\/b><\/strong><\/h2>\r\n<ul>\r\n<li><b><\/b><strong><b>Subnet routes.<\/b><\/strong>Google Cloud creates one automatically for every subnet range. They make machines in different subnets reach each other.<\/li>\r\n<li><b><\/b><strong><b>The default route.<\/b><\/strong>A route for 0.0.0.0\/0 with the default internet gateway as its next hop. It is created with a new network and sends traffic to the internet when nothing more specific matches. You can remove or replace it.<\/li>\r\n<li><b><\/b><strong><b>Custom static routes.<\/b><\/strong>The ones you create by hand, which is the subject of this guide.<\/li>\r\n<li><b><\/b><strong><b>Dynamic routes.<\/b><\/strong>Learned automatically from your on premises network through a Cloud Router using BGP.<\/li>\r\n<li><b><\/b><strong><b>Peering routes.<\/b><\/strong>Imported from a peered VPC network.<\/li>\r\n<li><b><\/b><strong><b>Policy based routes.<\/b><\/strong>Rules that match on things like source address or protocol, and are checked before the others.<\/li>\r\n<\/ul>\r\n<h2><strong><b>How Google Cloud Picks a Route?<\/b><\/strong><\/h2>\r\n<p>Several routes can match the same packet, so Google Cloud runs a selection order. Reading Google&#8217;s documentation, the main points for a custom route are these:<\/p>\r\n<ol>\r\n<li>Policy based routes are checked first, and subnet routes are used next for traffic inside your own ranges.<\/li>\r\n<li>Among static and dynamic routes, the most specific destination wins. A route for 10.50.0.0\/24 beats a route for 10.0.0.0\/8.<\/li>\r\n<li>If two routes have the same destination, the one with the higher priority wins, which means the lower number.<\/li>\r\n<li>Routes whose next hop is unusable, such as a stopped virtual machine, are ignored.<\/li>\r\n<li>If no route matches, the packet is dropped.<\/li>\r\n<\/ol>\r\n<p>That explains why the default route is a last resort. Its destination 0.0.0.0\/0 is the least specific range possible, so any more specific route wins over it.<\/p>\r\n<p><strong>Prerequisites:<\/strong><\/p>\r\n<ul>\r\n<li>A Google Cloud account with a project that has billing enabled.<\/li>\r\n<li>A VPC network. The default network works for practice.<\/li>\r\n<li>A role that can manage routes, such as Compute Network Admin.<\/li>\r\n<li>A next hop to point the route at, for example a virtual machine, VPN tunnel or load balancer.<\/li>\r\n<\/ul>\r\n<h2><strong><b>Create a Route Using the Console<\/b><\/strong><\/h2>\r\n<p>Menu labels move from time to time, so treat the wording below as a guide.<\/p>\r\n<p><strong>1.<\/strong> Sign in to the Google Cloud console.<\/p>\r\n<p><strong>2.<\/strong> Open the navigation menu, choose VPC network and then Routes. This page lists every route in the project, including the automatic ones.<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8008\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/04\/1-4.jpg\" alt=\"\" width=\"438\" height=\"337\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/04\/1-4.jpg 564w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/04\/1-4-300x231.jpg 300w\" sizes=\"auto, (max-width: 438px) 100vw, 438px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><strong>3.<\/strong> Click <strong><b>Create route<\/b><\/strong>.<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8009\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/04\/2-4.jpg\" alt=\"\" width=\"489\" height=\"268\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/04\/2-4.jpg 625w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/04\/2-4-300x165.jpg 300w\" sizes=\"auto, (max-width: 489px) 100vw, 489px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><strong>4.<\/strong> Give the route a clear name, such as route-to-appliance, and select the network, either the default network or your own VPC network.<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8010\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/04\/3-4.jpg\" alt=\"\" width=\"478\" height=\"369\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/04\/3-4.jpg 679w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/04\/3-4-300x232.jpg 300w\" sizes=\"auto, (max-width: 478px) 100vw, 478px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><strong>5.<\/strong> Enter the destination IP range for the route in CIDR format. To apply the route only to certain machines, add network tags. Then choose the next hop type and target, and set a priority. The default priority is 1000, and a lower number wins.<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8011\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/04\/4-3.jpg\" alt=\"\" width=\"522\" height=\"330\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/04\/4-3.jpg 673w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/04\/4-3-300x190.jpg 300w\" sizes=\"auto, (max-width: 522px) 100vw, 522px\" \/><\/figure>\r\n<p><strong>6.<\/strong> Click <strong><b>Create<\/b><\/strong>. The route appears in the list within a few seconds.<\/p>\r\n<h2><strong><b>Create a Route With gcloud<\/b><\/strong><\/h2>\r\n<p>The same route from the command line, using a virtual machine as the next hop:<\/p>\r\n<p>gcloud compute routes create route-to-appliance &#8211;network=default &#8211;destination-range=10.50.0.0\/24 &#8211;next-hop-instance=appliance-vm &#8211;next-hop-instance-zone=us-central1-a &#8211;priority=900 &#8211;tags=app-servers<\/p>\r\n<p>Machines that carry the app-servers tag will now send traffic for 10.50.0.0\/24 to appliance-vm. The next hop machine must have IP forwarding enabled, which you set when you create it:<\/p>\r\n<p>gcloud compute instances create appliance-vm &#8211;zone=us-central1-a &#8211;can-ip-forward<\/p>\r\n<p>List the routes in your network to confirm, and delete the route when you finish:<\/p>\r\n<p>gcloud compute routes list &#8211;filter=&#8221;network:default&#8221;<\/p>\r\n<p>gcloud compute routes delete route-to-appliance<\/p>\r\n<h2><strong><b>Choosing a Next Hop<\/b><\/strong><\/h2>\r\n<ul>\r\n<li><b><\/b><strong><b>Default internet gateway.<\/b><\/strong>Sends traffic to the internet. Use it to restore internet access for a range.<\/li>\r\n<li><b><\/b><b><\/b>Sends traffic to a virtual machine, such as a firewall or proxy appliance. The machine needs IP forwarding turned on.<\/li>\r\n<li><b><\/b><strong><b>VPN tunnel.<\/b><\/strong>Sends traffic to your on premises network through Cloud VPN.<\/li>\r\n<li><b><\/b><strong><b>Internal passthrough load balancer.<\/b><\/strong>Spreads traffic across several appliances for higher availability.<\/li>\r\n<\/ul>\r\n<h2><strong><b>Things to Know Before You Rely on It<\/b><\/strong><\/h2>\r\n<ul>\r\n<li>You cannot create a static route whose destination falls inside an existing subnet range. Subnet routes always take precedence.<\/li>\r\n<li>Network tags apply a route to only the machines that carry them. A route with no tags applies to every machine in the network.<\/li>\r\n<li>Removing or replacing the default route can cut outbound internet access for machines that depend on it, so plan before you delete.<\/li>\r\n<li>A route does not open anything by itself. Firewall rules still decide whether traffic is allowed.<\/li>\r\n<\/ul>\r\n<h2><strong><b>Common Mistakes to Avoid<\/b><\/strong><\/h2>\r\n<ul>\r\n<li><b><\/b><strong><b>Forgetting IP forwarding.<\/b><\/strong>Traffic sent to a virtual machine next hop is dropped if the machine cannot forward packets.<\/li>\r\n<li><b><\/b><strong><b>Mixing up priority.<\/b><\/strong>A lower number wins, so 100 beats 1000.<\/li>\r\n<li><b><\/b><strong><b>Overlapping a subnet range.<\/b><\/strong>Google Cloud will reject a static route that sits inside an existing subnet.<\/li>\r\n<li><b><\/b><strong><b>Blaming the route when the firewall is the problem.<\/b><\/strong>Check firewall rules as well as routes when traffic does not arrive.<\/li>\r\n<li><b><\/b><strong><b>Copying commands with curly quotes or a long dash.<\/b><\/strong>Pasting from a web page can change the double dash before a flag into a single long character. Type the flags by hand if a command fails oddly.<\/li>\r\n<\/ul>\r\n<p>Once you understand destination, next hop and priority, Google Cloud routing stops feeling mysterious. Start with a single tagged route to a test machine, confirm it with the routes list, and build up from there.<\/p>\r\n<\/div>\r\n","protected":false},"excerpt":{"rendered":"<p>How to Create a Custom Route in a GCP VPC Network Every packet that leaves a virtual machine in Google Cloud needs directions. Should it stay inside the network, go out to the internet, or travel through a VPN tunnel to your office? The thing that answers that question is a route. Routes are the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,1640],"tags":[605,699,700,711,683,684,685,611,772,771,770,764],"class_list":["post-7880","post","type-post","status-publish","format-standard","hentry","category-google-cloud-platform","category-networking","tag-gcp","tag-gcp-certification","tag-gcp-cloud-console","tag-gcp-instance","tag-google-cloud-certification","tag-google-cloud-console","tag-google-cloud-courses","tag-google-cloud-platform","tag-instance-tags","tag-networks-in-gcp","tag-routes-in-gcp","tag-vpc-networks"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Create a Custom Route in a GCP VPC Network - Prwatech<\/title>\n<meta name=\"description\" content=\"Learn how routes work in a Google Cloud VPC network, then create a custom static route in the console or with gcloud, with priorities and tags explained.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/networking\/routes-in-gcp\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create a Custom Route in a GCP VPC Network - Prwatech\" \/>\n<meta property=\"og:description\" content=\"Learn how routes work in a Google Cloud VPC network, then create a custom static route in the console or with gcloud, with priorities and tags explained.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/networking\/routes-in-gcp\/\" \/>\n<meta property=\"og:site_name\" content=\"Prwatech\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prwatech.in\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-10T16:49:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-11T13:44:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/04\/1-4.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"564\" \/>\n\t<meta property=\"og:image:height\" content=\"434\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Prwatech\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:site\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prwatech\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/networking\/routes-in-gcp\/\",\"url\":\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/networking\/routes-in-gcp\/\",\"name\":\"How to Create a Custom Route in a GCP VPC Network - Prwatech\",\"isPartOf\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/networking\/routes-in-gcp\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/networking\/routes-in-gcp\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/04\/1-4.jpg\",\"datePublished\":\"2026-10-10T16:49:01+00:00\",\"dateModified\":\"2026-10-11T13:44:35+00:00\",\"author\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\"},\"description\":\"Learn how routes work in a Google Cloud VPC network, then create a custom static route in the console or with gcloud, with priorities and tags explained.\",\"breadcrumb\":{\"@id\":\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/networking\/routes-in-gcp\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/networking\/routes-in-gcp\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/networking\/routes-in-gcp\/#primaryimage\",\"url\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/04\/1-4.jpg\",\"contentUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/04\/1-4.jpg\",\"width\":564,\"height\":434},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/networking\/routes-in-gcp\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/prwatech.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Routes in GCP\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/prwatech.in\/blog\/#website\",\"url\":\"https:\/\/prwatech.in\/blog\/\",\"name\":\"Prwatech\",\"description\":\"Share Ideas, Start Something Good.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/prwatech.in\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\",\"name\":\"Prwatech\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"caption\":\"Prwatech\"},\"url\":\"https:\/\/prwatech.in\/blog\/author\/prwatech123\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Create a Custom Route in a GCP VPC Network - Prwatech","description":"Learn how routes work in a Google Cloud VPC network, then create a custom static route in the console or with gcloud, with priorities and tags explained.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/networking\/routes-in-gcp\/","og_locale":"en_US","og_type":"article","og_title":"How to Create a Custom Route in a GCP VPC Network - Prwatech","og_description":"Learn how routes work in a Google Cloud VPC network, then create a custom static route in the console or with gcloud, with priorities and tags explained.","og_url":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/networking\/routes-in-gcp\/","og_site_name":"Prwatech","article_publisher":"https:\/\/www.facebook.com\/prwatech.in\/","article_published_time":"2026-10-10T16:49:01+00:00","article_modified_time":"2026-10-11T13:44:35+00:00","og_image":[{"width":564,"height":434,"url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/04\/1-4.jpg","type":"image\/jpeg"}],"author":"Prwatech","twitter_card":"summary_large_image","twitter_creator":"@Eduprwatech","twitter_site":"@Eduprwatech","twitter_misc":{"Written by":"Prwatech","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/networking\/routes-in-gcp\/","url":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/networking\/routes-in-gcp\/","name":"How to Create a Custom Route in a GCP VPC Network - Prwatech","isPartOf":{"@id":"https:\/\/prwatech.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/networking\/routes-in-gcp\/#primaryimage"},"image":{"@id":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/networking\/routes-in-gcp\/#primaryimage"},"thumbnailUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/04\/1-4.jpg","datePublished":"2026-10-10T16:49:01+00:00","dateModified":"2026-10-11T13:44:35+00:00","author":{"@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3"},"description":"Learn how routes work in a Google Cloud VPC network, then create a custom static route in the console or with gcloud, with priorities and tags explained.","breadcrumb":{"@id":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/networking\/routes-in-gcp\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prwatech.in\/blog\/google-cloud-platform\/networking\/routes-in-gcp\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/networking\/routes-in-gcp\/#primaryimage","url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/04\/1-4.jpg","contentUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/04\/1-4.jpg","width":564,"height":434},{"@type":"BreadcrumbList","@id":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/networking\/routes-in-gcp\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/prwatech.in\/blog\/"},{"@type":"ListItem","position":2,"name":"Routes in GCP"}]},{"@type":"WebSite","@id":"https:\/\/prwatech.in\/blog\/#website","url":"https:\/\/prwatech.in\/blog\/","name":"Prwatech","description":"Share Ideas, Start Something Good.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/prwatech.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3","name":"Prwatech","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","caption":"Prwatech"},"url":"https:\/\/prwatech.in\/blog\/author\/prwatech123\/"}]}},"_links":{"self":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/7880","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/comments?post=7880"}],"version-history":[{"count":9,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/7880\/revisions"}],"predecessor-version":[{"id":11943,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/7880\/revisions\/11943"}],"wp:attachment":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/media?parent=7880"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/categories?post=7880"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/tags?post=7880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}