官术网_书友最值得收藏!

  • OpenStack Networking Cookbook
  • Sriram Subramanian Chandan Dutta Chowdhury
  • 281字
  • 2021-07-09 21:40:44

Viewing the VLAN allotted for a Network

Open vSwitch configures the VLAN ID on the virtual port associated with a virtual machine instance. The underlying physical network must also be configured so as to allow the data traffic for the same VLAN ID. Hence, the knowledge of the VLAN ID allotted for a Network is very useful, especially while troubleshooting networking problems. This recipe shows you how to view the VLAN ID allotted for a Network.

Getting ready

The VLAN ID information is available only to users with an administrative role. Hence, for this recipe, you will need the appropriate credentials.

How to do it…

The following steps will show you how to view the VLAN ID allotted for a Network:

  1. Log in to the OpenStack Horizon dashboard using a user ID with an administrative role.
  2. In the left navigation menu, click on Admin | System | Networks.
  3. On the right-hand side, you will get a list of all the Networks in the setup, as shown in the following screenshot:
    How to do it…
  4. To view the details of a particular Network, click on the name of the Network.
    How to do it…
  5. In the preceding screenshot, we can observe that Network Type is vlan.
  6. Segmentation ID represents the VLAN ID allotted for this particular Network. Therefore, we can see that the VLAN ID of 1001 has been assigned to this Network.
  7. The same information can be viewed using the neutron net-show command of the Neutron CLI, as follows:
    How to do it…

How it works…

When a Network is created, Neutron computes the first free VLAN ID from the range that was configured in the configuration file. This VLAN ID is stored as a segmentation ID in the Neutron database.

主站蜘蛛池模板: 分宜县| 镶黄旗| 湄潭县| 北票市| 南安市| 遂宁市| 新和县| 富裕县| 闽侯县| 邹城市| 奇台县| 舟山市| 嘉祥县| 新河县| 灵石县| 正镶白旗| 平乐县| 娄底市| 怀集县| 青岛市| 满洲里市| 综艺| 民勤县| 遵义县| 桐柏县| 绥棱县| 清徐县| 宜良县| 扎囊县| 安徽省| 望谟县| 保德县| 苍梧县| 三河市| 营山县| 芮城县| 绍兴市| 尼木县| 南京市| 红原县| 卢龙县|