OpenStack Networking

Overview map for OpenStack Neutron architecture notes. Focus: external-to-tenant network connectivity in multi-tenant deployments.

Core Concepts

NoteSummary
GENEVE)How overlay tunnels solve the 4094 VLAN limit; VNI allocation
External Network MappingHow provider networks bridge to tenant overlays via OVS + router namespace
DVR — Distributed Virtual RouterDistributing L3 routing to compute nodes; east-west + floating IP north-south
Floating IP NAT MechanismDNAT/SNAT iptables rules; centralized vs. DVR models
EVPN External ConnectivityDynamic routing at scale: neutron-dynamic-routing, BGPVPN, ovn-bgp-agent

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

ProtocolID SizeTransportNotes
GRE32-bit keyIPPoint-to-point; weak auth
VXLAN24-bit VNIUDP/4789Default for ML2/OVS; 16M segments
GENEVE24-bit VNIUDPExtensible headers; OVN default

DVR Mode Quick Reference

Agent ModeLocationRole
legacyNetwork nodeAll routing centralized
dvr_snatNetwork nodeSNAT only (fixed-IP VMs)
dvrCompute nodesEast-west + Floating IP north-south

BGP Options

ToolUse Case
neutron-dynamic-routingAdvertise prefixes/FIPs to upstream routers (ML2/OVS)
networking-bgpvpnInterconnect with existing enterprise L3VPN/E-VPN
ovn-bgp-agent + FRREVPN fabric (ML2/OVN, modern)

Literature