Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to analyze OVS local network Connectivity

2025-01-15 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 analyze OVS local network connectivity. The content of the article is of high quality, so Xiaobian shares it with you for reference. I hope you have a certain understanding of relevant knowledge after reading this article.

launch new instance "cirros-vm3", network selection second_local_net

Cirros-vm3 is assigned an IP of 172.16.1.102

Cirros-vm3 is scheduled to the control node, and its virtual network card is also connected to br-int.

Let's discuss an interesting question: Can cirros-vm3 Ping to cirros-vm1?

According to what we learned in linux bridges, since cirros-vm3 and cirros-vm1 are both connected to the same br-int bridge, they should be pinging. On the other hand, according to Neutron's design, communication between different local networks is impossible. So what is the truth?

Experiments show that cirros-vm3 cannot Ping to cirros-vm1.

Next we need to explain why ports on the same bridge cannot communicate.

Let's revisit the configuration of ports on br-int.

This time we noticed that both virtual NIC and DHCP ports have a special tag attribute.

The first_local_net associated port has tag 1; the second_local_net associated port has tag 2.

The mystery is here: each bridge of Open vSwitch can be regarded as a real switch and can support VLAN, where the tag is VLAN ID.

The port tagged tag1 and the port tagged tag2 in br-int belong to different VLANs, and they are isolated.

It should be noted that the tag in Open vSwitch is an internal VLAN, which is used to isolate the port in the bridge and has nothing to do with the VLAN in the physical network.

We add tag information to the network structure diagram.

About how to carry out OVS local network connectivity analysis to share here, I hope the above content can be of some help to everyone, you can learn more knowledge. If you think the article is good, you can share it so that more people can see it.

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report