Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex Cloud Router
    • All use cases
    • On-premises without redundancy and one cloud network
    • On-premises without redundancy and multiple cloud networks
    • On-premises with redundancy and one cloud network
    • On-premises with redundancy and multiple cloud networks
    • Two separate virtual routers without on-premises redundancy
    • Even redistribution of on-premise traffic (Active-Active)
    • Prioritizing on-premise traffic based on direction (Active-Standby)
    • Reserving an on-premise connection via a VPN gateway (PRC)
    • Prioritizing a static VPC route over routes from PRC
    • Even traffic distribution for route 0.0.0.0/0
    • Prioritizing traffic by direction for route 0.0.0.0/0
    • Connectivity for two cloud networks
    • Connectivity for two cloud networks and on-premises
  • Access management
  • Pricing policy
  • Release notes
  1. Use cases
  2. Prioritizing a static VPC route over routes from PRC

Prioritizing a static VPC route over routes from on-prem

Written by
Yandex Cloud
Updated at September 18, 2026
View in Markdown

The following flowchart shows how to set up traffic routing from a cloud network for a specific prefix via a VPN gateway, while sending all other traffic over a Cloud Interconnect connection:

The customer edge router uses the M9 PoP to announce the short prefix from the customer infrastructure, 10.0.0.0/8, over BGP towards Yandex Cloud.

The long customer infrastructure prefix , 10.10.10.0/24, is configured with the help of the cloud network's static route table to route traffic towards the VPN gateway with the 172.16.2.10 IP, which is deployed in the ru-central1-b availability zone.

This way, all traffic from the cloud network to the 10.0.0.0/8 customer infrastructure will be transmitted via the Cloud Interconnect connection, while the traffic heading to the 10.10.10.0/24 subnet will run through the VPN gateway.

Was the article helpful?

Previous
Reserving an on-premise connection via a VPN gateway (PRC)
Next
Even traffic distribution for route 0.0.0.0/0
© 2026 Direct Cursus Technology L.L.C.