[Blog recommendation] test the network connectivity of openstack neutron (1)

Source: Internet
Author: User

[Blog recommendation] test the network connectivity of openstack neutron (1)

This blog post is from Bkjia blogger Lin Xi. If you have any questions, go to the blog page for an interactive discussion!

Blog address: Http://lutaoxu.blog.51cto.com/4224602/1650104

To test the network connectivity of openstack, follow these steps:

1. Run the nova list command on the openstack console to view the VM name and VM_UUID.

2. Run the nova show $ VM_UUID command on the openstack console to view the openstack compute node information and instance name of the VM.

3. log on to the openstack compute node, execute virsh list to view the VM status, execute virsh dumpxml instance-XXXX to find information about "Bridge" in the file, and find the tap ID and Bridge qbrXXXX.

The information in the VM system is as follows:

We can see from the image:

The destination device for eth0 connection is: tap162f6bda-36, alias for net0.

The destination device for eth1 connection is: tap8d14e7bd-35, alias: net1.

EthX and tapXXX are TAP devices.

The TAP device bridge is connected to the bridge qbrXX. The qbr device is added because the network ACL rules cannot be configured on the TAP device.

Eth0 corresponds to the tap162f6bda-36, the bridge connected to the qbr162f6bda-36.

Eth1 corresponds to the tap8d14e7bd-35, the bridge connected to the qbr8d14e7bd-35.

4. Execute the brctl show command to view the Interface Information on the bridge qbr and find the tap device and qvbXXXX interface.

Here we can see the bridge qbr162f6bda-36, there is an interface qvb162f6bda-36 and tap162f6bda-36.

Bridge qbr8d14e7bd-35 with interface qvb8d14e7bd-35 and tap8d14e7bd-35.

QvbXXX and qvoXXX appear here as a pair of veth pair devices, which are a pair of virtual Nic devices used to connect bridge devices and switches. The virtual network card that connects the Linux bridge and Open vSwitch. The meaning of the name is q-quantum, v-veth, B-bridge, o-open vswitch. (legacy of the quantum age ).


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.