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 configure in ML2

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces you how to configure in ML2, the content is very detailed, interested friends can refer to, hope to be helpful to you.

Today we will discuss how to enable it in a ML2 configuration.

First set the parameters related to vlan network in / etc/neutron/plugins/ml2/ml2_conf.ini.

Tenant_network_types = vlan

Specifies that the network type created by an ordinary user is vlan.

Then specify the range of the vlan

The above configuration defines a vlan network,vlan id with a label of "default" in the range of 3001-4000. This scope is for ordinary users to create network in their tenants. Because the average user cannot specify that vlan id,Neutron will automatically take values from this range in order when creating a network.

There is no restriction on vlan id for admin, and admin can create a vlan network with an id range of 1-4094.

Next, you need to indicate the corresponding relationship between vlan network and physical Nic:

As shown above: lable "default" is defined in [ml2_type_vlan], and the physical Nic corresponding to default is specified as eth2 in [linux_bridge].

The function of the label here is the same as the label in the previous flat network, just an identification, which can be any string.

The configuration is completed and takes effect after the Neutron service is restarted.

On how to configure in ML2 to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can 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.

Share To

Servers

Wechat

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

12
Report