1. Home
  2. OpenStack
  3. How do I enable DVR (Distributed Virtual Routing) in Openstack?

How do I enable DVR (Distributed Virtual Routing) in Openstack?

To enable DVR (Distributed Virtual Routing) in OpenStack, make the following changes to Bright.

[cluster]% openstack [cluster->openstack[default]]% settings [cluster->openstack[default]->settings]% networking 
[cluster->openstack[default]->settings->networking]% set enabledistributedrouters yes 
[cluster->openstack*[default*]->settings*->networking*]% commit [cluster->device]% configurationoverlay 
[cluster->configurationoverlay]% use openstackhypervisors [cluster->configurationoverlay[OpenStackHypervisors]]% roles 
[cluster->configurationoverlay[OpenStackHypervisors]->roles]% use openstack::networkovsagent 
[cluster->configurationoverlay[OpenStackHypervisors]->roles[OpenStack::NetworkOVSAgent]]% set enabledistributedrouters yes
[cluster->configurationoverlay*[OpenStackHypervisors*]->roles*[OpenStack::NetworkOVSAgent*]]% commit 
[cluster]% configurationoverlay [cluster->configurationoverlay]% use openstacknetworknodes 
[cluster->configurationoverlay[OpenStackNetworkNodes]]% roles [cluster->configurationoverlay[OpenStackNetworkNodes]->roles]% use openstack::networkl3agent 
[cluster->configurationoverlay[OpenStackNetworkNodes]->roles[OpenStack::NetworkL3Agent]]% set agentmode dvr 
[cluster->configurationoverlay*[OpenStackNetworkNodes*]->roles*[OpenStack::NetworkL3Agent*]]% commit

Once the above changes are completed, we recommended rebooting the network and hypervisor nodes.

Updated on June 26, 2020

Was this article helpful?

Related Articles

Leave a Comment