In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to configure linux-bridge mechanism driver, the content of the article is of high quality, so the editor will share it for you as a reference. I hope you will have some understanding of the relevant knowledge after reading this article.
We will learn how Linux Bridge implements the various functions of Neutron.
First, you need to configure linux-bridge mechanism driver.
The default mechanism driver used by Neutorn ML2 plugin is open vswitch instead of linux bridge. Is it necessary to study linux bridge?
My answer is: very necessary!
The reasons are as follows:
Linux bridge technology is very mature and efficient, so many OpenStack solutions in the industry use linux bridge, such as Rackspace's private cloud.
The Neutron virtual network implemented by open vswitch is more complex and difficult to understand, while the linux bridge scheme is more intuitive. It is easier to understand the linux bridge scheme before learning the open vswitch scheme. And through the comparison of the two schemes, we can understand the Neutron network more deeply.
Before going any further, let's review the fundamentals of implementing a virtual exchange section with linux bridge.
In the figure above, br0 is the role of linux bridge,br0 as a virtual switch, connecting the physical network card eth0 and the virtual network card tap device vnet0/vent1 to the same layer 2 network, realizing the virtual machine VM1 and VM2, and the communication between the virtual machine and the external network.
Configure linux-bridge mechanism driver
To use linux bridge in Neutron, you first need to configure linux-bridge mechanism driver. Neutron uses ML2 as the core plugin by default, and its configuration is located at / etc/neutron/neutron.conf.
Both the control node and the compute node need to configure the core_plugin option in their respective neutron.conf.
Then you need to get ML2 to use linux-bridge mechanism driver. The configuration file for ML2 is located in / etc/neutron/plugins/ml2/ml2_conf.ini.
The mechanism_drivers option indicates the mechanism driver that can be used by the current node, where you can specify that multiple driver,ML2 will be responsible for loading. The above configuration indicates that we only use linux-bridge driver.
Both the control node and the compute node need to configure the mechanism_drivers option in their respective ml2_conf.ini.
After the Neutron service starts normally, neutron-linuxbridge-agent runs on all nodes
Linux-bridge mechanism driver has been configured.
On how to configure linux-bridge mechanism driver to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.