Configuring DVR

Expanding the existing network layout for Neutron using DVR requires a few configuration updates in both network and compute nodes as follows:

  1. On the network node, set the router_distributed directive to True in the /etc/neutron/neutron.conf file to enable DVR by default for newly created routers:
... 
[DEFAULT] 
... 
router_distributed = True 
  1. On the network node, set the enable_distributed_routing directive to True in the /etc/neutron/plugins/ml2/openvswitch_agent.ini file to support DVR for the ML2 plugin using the OVS driver mechanism:
... 
[agent]  
... 
enable_distributed_routing = True
  1. Adopting the DVR mode requires updating the L3 agent running mode on the network node from legacy to either dvr or dvr_snat. In the next ...

Get Extending OpenStack now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.