Configure OVHcloud Connect L3 with static routes
Configure OVHcloud Connect L3 using static IP routes for predictable routing between your network and OVHcloud
Objective
This guide explains how to configure OVHcloud Connect in L3 mode with static routing. This involves two levels of configuration:
- PoP configuration — The L3 session between your router and OVHcloud at the Point of Presence.
- AZ extra configuration (network) — Static routes within the OVHcloud AZ for route distribution.
If you prefer dynamic routing with BGP, see Configure OVHcloud Connect L3 with BGP.
When to use static routing vs BGP
Use static routing when you have a simple setup with a small number of stable prefixes and do not require automatic failover.
Requirements
- An active OVHcloud Connect service (status
active) - OVHcloud Connect associated with a vRack — see Associate OVHcloud Connect with your vRack
- An AZ configuration created — see Set up vRack networking
- A /30 peering subnet (e.g.
192.0.2.0/30) - OVHcloud API credentials (Application Key, Application Secret, Consumer Key). Refer to the First steps with the OVHcloud API guide.
Log in to your and go to Network > OVHcloud Connect.
Instructions
Overview
- PoP level: An L3 session with a /30 peering subnet between your router and OVHcloud.
- AZ level: Static routes defined with a next-hop IP and destination subnet.
Step 1 — Identify your interface ID
Step 2 — Create the PoP configuration (L3)
The PoP configuration establishes the L3 session at the Point of Presence. This step is the same whether you use BGP or static routing at the AZ level.
Request parameters:
Example request:
Step 3 — Verify the PoP configuration
Example response:
From this response:
Step 4 — Create AZ extra configuration (static)
After the PoP configuration and a AZ configuration, create a network extra configuration to define static routes within the AZ.
With static routing, VRRP remains active on the AZ endpoint. OVHcloud devices A and B share a virtual IP (the second address of the AZ subnet, e.g. 172.16.1.1). Point your services' default gateway to this VRRP virtual IP for automatic failover between devices.
Request parameters:
Example request — route your on-premises subnet through the OVHcloud Connect link:
Add multiple static routes
Create one extra configuration per destination subnet. Repeat the POST .../extra call with a different subnet each time:
Verify the extra configuration
Example response:
List all extra configurations for an AZ
Step 5 — Configure static routes on your router
Configure your physical router with static routes pointing OVHcloud AZ subnets towards the OVHcloud Connect peering IP.
Cisco IOS / IOS-XE
Juniper JunOS
Step 6 — Verify connectivity
From your router
Cisco:
Juniper:
Expected results:
From the OVHcloud API
Check interface status:
Check PoP configuration status:
Run a diagnostic
Available diagnostic names: diagPeering, diagPeeringExtra, diagRoutes, diagMacs.
Limitations of static routing
Static routing has significant limitations compared to BGP:
- No automatic failover. If a link goes down, traffic is blackholed until you manually update routes. For automatic failover, use BGP.
- Manual updates required. When you add or change subnets, you must update both the OVHcloud extra configuration and your router configuration.
- No load balancing. Static routes do not support ECMP or traffic engineering. Traffic follows a single path.
- Not recommended for multi-AZ. For resilient multi-AZ setups, BGP is strongly recommended — see Multi-AZ.
Delete configurations
Delete in reverse order:
Go further
- Set up vRack networking — If you have not configured AZ subnets yet
- Associate OVHcloud Connect with your vRack
- Monitor your connection
For training or technical assistance implementing our solutions, contact your sales representative or visit our Professional Services page to request a quote and have your project analyzed by our experts.
Join our community of users.