当前位置:网站首页>Further understanding of the network
Further understanding of the network
2022-06-12 12:52:00 【Sleepy snail】
The provider network provides a two-layer connection for virtual machines , Each network segment of a physical network can implement at most one provider network
Self service network allows non privileged ordinary projects to manage the network by themselves , This kind of network is completely virtual ( Pure virtual network )
By default , Different items ( Tenant ) Self service network , That's the project ( Tenant ) The network is completely isolated , Can't share ,
To create a self-service network, you can choose local、flat、vlan、vxlan perhaps gre Other types
however flat and vlan A type of self-service network essentially corresponds to an actual physical network segment , So what really matters is vxlan or gre type , Because such networks themselves do not depend on specific networks , As long as the physical network can provide ip Multicast support is sufficient .
Besides , If the virtual machine instance in the self-service network wants to access the external network ( Physical networks ), You must create the appropriate provider network to provide external connections
br-ex
Connect external (external) The bridge of the network
br-int
Integrate (integration) bridge , all instance The virtual network card and other virtual network devices will be connected to the bridge .
br-tun
Tunnel (tunnel) bridge , Based on tunnel technology VxLAN and GRE The network will use this bridge for communication .
These bridges are Neutron Automatically created for us , But by brctl show Commands can't see them . This is because we use Open vSwitch Instead of Linux Bridge, Need to use Open vSwitch The order of ovs-vsctl show see
Create a provider network
Here the provider network is temporarily used OpenStack Network of _baidu_41553551 The blog of -CSDN Blog
Create a self-service network
/etc/neutron/plugins/ml2/ml2_conf.ini file
This range represents the creation of vxlan The scope of the , Administrator does not vni The limits of scope , You can create 1-16777216 individual xvlan The Internet

establish vxlan Type of self-service network

Create a subnet , If the gateway is not set , It defaults to the first one in the network ip Address

If the subnet address pool is not set, it will default to the address range outside the gateway

To configure Neutron Router
1、 To configure L3 agent
The profile is located in /etc/neutron/l3_agent.ini
If the network mechanism drive is Linux Bridge
Is set to interface_driver=neutron.agent.linux.interface.BridgeInterfaceDriver
If the network mechanism drive is Open vSwitch
Is set to interface_driver=neutron.agent.linux.interface.OVSInterfaceDriver
Modify the above configuration , Need to restart L3 Agency service
systemctl restart neutron-l3-agent.service
2、 Configure the router to connect to the subnet
Connect different subnets , Allow subnets to communicate with each other
The router here directly uses the one built last time
Add the self-service network to the router
Distribution float ip Address to achieve two-way communication between internal and external networks
Bound to the external network ip



Modify the configuration file /etc/nova/nova.conf

Change it to

network_manager=nova.network.manager.VlanManager
vlan_interface=eth1 # A network adapter
vlan_start=400 #Vlan Numbered starting
public_interface=enp0s8 # The network card
边栏推荐
- MUI登录数据库完善与AJAX异步处理【MUI+Flask+MongoDB+HBuilderX】
- Eight misunderstandings are broken one by one (2): poor performance? Fewer applications? You worry a lot about the cloud!
- Time series database - incluxdb2 docker installation
- Binary tree (program)
- 大一女生废话编程爆火!懂不懂编程的看完都拴Q了
- 什么时候运用二分搜索
- Bitmap, bloom filter and hash sharding
- 构建嵌入式系统软件开发环境-建立交叉编译环境
- 嵌入式系统概述3-嵌入式系统的开发流程和学习基础、方法
- Buu question brushing record - 5
猜你喜欢

Numpy numerical calculation basis

Binary tree (construction)

wx. Login and wx Getuserprofile simultaneous use problem

Iterator, generator generator details

Safety KNN
![[C language] keyword static & Multi file & guessing game](/img/82/fa3556522531f83e95938fc4efbf1e.png)
[C language] keyword static & Multi file & guessing game

Summary of knowledge points of ES6, ES7, es8, es9, ES10, es11 and ES12 (interview)

Embedded driver design

Overview of embedded system 1- definition, characteristics and development history of embedded system

2022 ARTS|Week 23
随机推荐
NewOJ Week 10题解
The 4th Zhejiang CTF preliminary contest web pppop
嵌入式驱动程序设计
Improve pipeline efficiency: you need to know how to identify the main obstacles in ci/cd pipeline
ITK 多阶段配准
Downloading and using SWI Prolog
嵌入式系统硬件构成-嵌入式系统硬件体系结构
Examples of Cartesian product and natural connection of relational algebra
Deep analysis of advanced pointer -- advanced chapter of C language
八大误区,逐个击破(2):性能差?应用程序少?你对云的这些担心很多余!
Vant tab bar + pull-up loading + pull-down refresh demo van tabs + van pull refresh + van list demo
Summary of knowledge points of ES6, ES7, es8, es9, ES10, es11 and ES12 (interview)
二叉树(思路篇)
MUI登录数据库完善与AJAX异步处理【MUI+Flask+MongoDB+HBuilderX】
入门深度学习与机器学习的经验和学习路径
Structure matérielle du système embarqué - introduction du Conseil de développement embarqué basé sur arm
检测vector是否有交集
Array -- fancy traversal technique of two-dimensional array
中科物栖CEO张磊:“芯片+OS”范式在万物互联时代的机遇与挑战|量子位·视点分享回顾...
itk::Neighborhood获取6邻域、18邻域、26邻域,18/6邻域,26/18邻域