Configure Linux-bridge mechanism driver-5 minutes a day to play OpenStack (77)

Source: Internet
Author: User

At the beginning of this section we will learn how Linux Bridge implements the various functions of Neutron.
First you need to configure the Linux-bridge mechanism driver.

Neutorn ML2 Plugin The mechanism driver used by default is open vswitch instead of Linux Bridge. Is there any need to study Linux bridge?
My answer is: very necessary!

The reasons are as follows:

    1. Linux bridge technology is very mature and efficient, so many OpenStack solutions in the industry use Linux bridge, such as Rackspace's private cloud.

    2. 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 you learn the open Vswitch scheme. The Neutron network can be understood in more depth through the comparison of the two scenarios.

Before going further, let's review the fundamentals of Linux Bridge's virtual switching section.

, Br0 is the role of Linux bridge,br0 as a virtual switch, which is responsible for connecting the physical NIC Eth0 and the virtual network card tap device Vnet0/vent1 to the same two-tier network, enabling virtual machine VM1 and VM2, and communication between the virtual machine and the extranet.

For more detailed information on Linux Bridge, please refer to the section "Pre-knowledge-network virtualization".

Configuring 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 is configured in/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 let ML2 use Linux-bridge mechanism driver. The ML2 configuration file is located in/etc/neutron/plugins/ml2/ml2_conf.ini.

The Mechanism_drivers option indicates the mechanism driver that the current node can use, where it is possible to specify multiple DRIVER,ML2 that are 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, all nodes will run Neutron-linuxbridge-agent

Linux-bridge mechanism driver is configured, the next section examines the current network status.
With the practice of various Neutron functions, we will see that this network state will evolve and develop continuously.

Configure Linux-bridge mechanism driver-5 minutes a day to play OpenStack (77)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.