Create OVS Local Network-Play 5 minutes a day OpenStack (129)

Source: Internet
Author: User

In the previous section we completed the preparation of the OVS, and this section starts with the most basic local network.
The local network is not connected to any of the host's physical network cards, and traffic is limited to the host, and no VLAN ID is associated with it.

Create the first local network

Below we create the local network through the Web GUI.

Go to menu Admin-Networks and click on the "Create Network" button.

The Create page is displayed.

"Provider Network Type" select "Local", click "Create Network", First_local_net created successfully.

Click on the First_local_net link, go to the Network Configuration page, there is no subnet, click the "Create Subnet" button.

Set the IP address to "172.16.1.0/24".

Click "Next".

Tick "Enable DHCP" and the IP pool is set to "172.16.1.2,172.16.1.99". Click "Create" and the subnet is created successfully.

At the same time Devstack-controler the DHCP service for this subnet is already Active.

what has changed in the underlying network?

The process of creating a OVS local network is no different from Linux Bridge.
This is because Neutron has abstracted different driver, but the underlying implementation is definitely a difference.
So, let's figure out what's changed in the underlying network.

Open the shell terminal of the control node and use Ovs-vsctl Show to view the status of the current open vSwitch.


You can see that Neutron automatically created port "Tap7970bdcd-f2" on the Br-int Bridge.

It is known from the name that the port corresponds to the DHCP interface of local_net.

Like Linux bridge driver, DHCP devices are also placed in namespaces.

The network structure is as follows:

In the next section we will deploy instance to first_local_network and look again at the changes in this network topology diagram.

Create OVS Local Network-Play 5 minutes a day OpenStack (129)

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.