[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 ).