OpenStack Networking
Overview map for OpenStack Neutron architecture notes. Focus: external-to-tenant network connectivity in multi-tenant deployments.
Core Concepts
Traffic Flow Cheat Sheet
External Host → Floating IP (DNAT) → Tenant VM
↓
Physical NIC → br-provider → br-int → qrouter/fip namespace (DNAT)
→ VXLAN encap (br-tun) → compute node → VM
Tenant VM → Internet (SNAT) → External
↓ (centralized SNAT)
VXLAN → network node → snat namespace → br-provider → Physical NIC
↓ (DVR SNAT with floating IP)
br-int → qrouter namespace (SNAT to FIP) → fip namespace → br-provider → Physical NIC
Overlay Protocol Comparison
| Protocol | ID Size | Transport | Notes |
|---|
| GRE | 32-bit key | IP | Point-to-point; weak auth |
| VXLAN | 24-bit VNI | UDP/4789 | Default for ML2/OVS; 16M segments |
| GENEVE | 24-bit VNI | UDP | Extensible headers; OVN default |
DVR Mode Quick Reference
| Agent Mode | Location | Role |
|---|
legacy | Network node | All routing centralized |
dvr_snat | Network node | SNAT only (fixed-IP VMs) |
dvr | Compute nodes | East-west + Floating IP north-south |
BGP Options
| Tool | Use Case |
|---|
neutron-dynamic-routing | Advertise prefixes/FIPs to upstream routers (ML2/OVS) |
networking-bgpvpn | Interconnect with existing enterprise L3VPN/E-VPN |
ovn-bgp-agent + FRR | EVPN fabric (ML2/OVN, modern) |
Literature