Overview
Xloud Networking supports two advanced router modes for production deployments: High Availability (HA) routers using VRRP for automatic failover between L3 agents, and Distributed Virtual Routing (DVR) that moves L3 forwarding to each compute node to eliminate centralized bottlenecks. This guide covers enabling and validating both modes.Prerequisites
- Admin credentials sourced from
admin-openrc.sh - At least two L3 agents running for HA routers
- XDeploy access to enable DVR cluster-wide
High-Availability Routers
HA routers use VRRP to provide automatic failover between L3 agent instances. When the active L3 agent fails, a standby agent takes ownership of the router’s namespace and floating IP NAT rules within seconds.Create an HA Router
- CLI
Create HA router with external gateway
Create HA router
--ha flag schedules the router across all available L3 agents automatically.HA routers require at least two L3 agents running in the cluster. Xloud Networking
automatically schedules the router across all available L3 agents. Verify with
openstack network agent list --agent-type l3 before creating HA routers.Distributed Virtual Routing (DVR)
DVR moves L3 forwarding from a centralized agent to each compute node, eliminating the network node as a bottleneck for east-west and north-south traffic.| Mode | Traffic Path | Best For |
|---|---|---|
| Centralized L3 | All traffic through network node | Simple deployments, ≤ 10 compute nodes |
| DVR | East-west direct between compute nodes; north-south via dedicated gateway | High-throughput workloads, large clusters |
Enable DVR
- XDeploy
Enable DVR cluster-wide in XDeploy under Configuration → Networking:
Click Save and Deploy. XDeploy applies the configuration via xavs-ansible.
| Parameter | Value | Description |
|---|---|---|
neutron_l3_ha | True | Enable VRRP HA for centralized L3 agents |
enable_neutron_dvr | True | Distribute L3 forwarding to compute nodes |
Create a Distributed Router
- CLI
Create distributed router
Verify distributed routing is enabled
distributed: true in the output.Router Administration Reference
| Operation | CLI Command |
|---|---|
| List all routers | openstack router list |
| Show router detail | openstack router show <name> |
| Enable router | openstack router set <name> --enable |
| Disable router | openstack router set <name> --disable |
| Set external gateway | openstack router set <name> --external-gateway <network> |
| Remove external gateway | openstack router unset <name> --external-gateway |
| Add subnet interface | openstack router add subnet <router> <subnet> |
| Remove subnet interface | openstack router remove subnet <router> <subnet> |
| Add static route | openstack router set <name> --route destination=X,gateway=Y |
| Delete router | openstack router delete <name> |
Next Steps
Network Agent Management
Verify L3 agents are healthy across all network nodes
Provider Networks
Configure external networks that routers use as gateways
Routers and Gateways
User guide for creating and managing routers
Admin Troubleshooting
Diagnose HA router failover and DVR issues