이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 15. Configure Distributed Virtual Routing (DVR)


Distributed Virtual Routing (DVR) allows you to place L3 Routers directly on Compute nodes. As a result, instance traffic is directed between the Compute nodes (East-West) without first requiring routing through a Network node. In addition, the Floating IP namespace is replicated between all participating Compute nodes, meaning that instances with assigned floating IPs can send traffic externally (North-South) without routing through the network node. Instances without floating IP addresses still route SNAT traffic through the Networking node.

Red Hat OpenStack Platform 7 (kilo) added support for interconnecting between VLAN and VXLAN/GRE when using distributed routers. This integration allows connectivity between VLANs and VXLAN/GRE tunnels in DVR.

Note

DVR is included as a technology preview in Red Hat OpenStack Platform 8. For more information on the support scope for features marked as technology previews, refer to https://access.redhat.com/support/offerings/techpreview/

In the diagram below, the instances on separate subnets are able to communicate, without routing through the Network node first:

15.1. Configure DVR

1. On the Network node, enable router_distributed in the neutron.conf file. This setting ensures that all routers created in future are distributed by default.

router_distributed = True
Copy to Clipboard Toggle word wrap

You can override the default behavior by editing the policy.json file:

neutron router-create --distributed=True/False <name>
Copy to Clipboard Toggle word wrap

2. Configure the Layer 3 agent

On the Compute nodes, enable DVR in the l3_agent.ini file:

agent_mode = dvr
Copy to Clipboard Toggle word wrap

On the Network node, configure dvr_snat on the distributed router:

agent_mode = dvr_snat
Copy to Clipboard Toggle word wrap

3. Configure the Layer 2 agent

On the Network node and Compute nodes, enable DVR and L2 population on the L2 Agent. For example, if using Open vSwitch, edit the ovs_neutron_plugin.ini file:

enable_distributed_routing = True
l2_population = True
Copy to Clipboard Toggle word wrap

4. Enable the L2 population mechanism driver in ML2

On the Controller, edit ml2_conf.ini:

[ml2]
mechanism_drivers = openvswitch, l2population	#Other values may be listed here as well
Copy to Clipboard Toggle word wrap

On the Compute nodes, edit ml2_conf.ini:

[agent]
l2_population = True
Copy to Clipboard Toggle word wrap

5. Restart the services for the changes to take effect:

On the Controller, restart the following services:

# systemctl restart neutron-server.service
# systemctl restart neutron-l3-agent.service
# systemctl restart neutron-openvswitch-agent.service
Copy to Clipboard Toggle word wrap

On the Compute node, restart the following services:

# systemctl restart neutron-l3-agent.service
# systemctl restart neutron-metadata-agent
Copy to Clipboard Toggle word wrap
Note

It is not currently possible to convert an existing non-distributed router to DVR. The router should instead be deleted and re-created as DVR.

맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat