In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article will explain in detail how to realize the connection between OpenStack virtual network and physical network. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
The connection between the virtual network in OpenStack and the real physical network mainly uses openvswitch. The main problem is that it is easy to disconnect when configuring the bridge, and it is also difficult to manage.
In version L, openvswitch is no longer installed in the official configuration documentation and is mainly connected to the external physical network through the flat network, which does not lead to a sudden disconnection.
It is assumed that you should have fully installed the various components.
(1) check or write the configuration
Edit in / etc/neutron/plugins/ml2/ml2_conf.ini
one
two
[ml2_type_flat]
Flat_networks = public
Then edit the / etc/neutron/plugins/ml2/linuxbridge_agent.ini
one
two
[linux_bridge]
Physical_interface_mappings = public:eth2
Note that the eth2 here is your network interface name, which can be viewed with ip a.
When paying attention to multiple network cards, you can use this command to know which network card is connected.
For example, we can find out that eth0 is UP from here.
one
two
three
$ip a
Eth2: mtu 1500 qdisc pfifo_fast master brq070ed0ca-92 state UP qlen 1000
...
(2) configure flat network through dashboard
Select "Network" under the "Administrator" entry, and then click "create Network", in which you should pay attention to select "Flat", the physical network is "public" (note that here corresponds to the flat_networks of [ml2_type_flat] in / etc/neutron/plugins/ml2/ml2_conf.ini), then check "shared" and "external Network", and then click "create Network".
After that, add subnets under EXT_01, and note that you need to add subnets to the Network under Project.
For more information on configuring subnets, note that 192.168.29.195 / 192.168.29.197 is a segment of the real physical network:
Looking at the network topology, you can see that the IP address of the router in the real physical network is 192.168.29.196:
This is the end of the article on "how to realize the connection between OpenStack virtual network and physical network". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.