Skip to main content
Ask Question
OpenStackDVR
Asked a question 2 years ago

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

Where am I?

In Bright Computing, Inc. you can ask and answer questions and share your experience with others!

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.