- 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:
- Log in to the OpenStack Horizon dashboard using a user ID with an administrative role.
- In the left navigation menu, click on Admin | System | Networks.
- On the right-hand side, you will get a list of all the Networks in the setup, as shown in the following screenshot:
- To view the details of a particular Network, click on the name of the Network.
- In the preceding screenshot, we can observe that Network Type is vlan.
- 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.
- The same information can be viewed using the
neutron net-show
command of the Neutron CLI, as follows:
推薦閱讀
- 數據庫系統教程(第2版)
- Xcode 7 Essentials(Second Edition)
- PyQt從入門到精通
- PyTorch Artificial Intelligence Fundamentals
- Rust Cookbook
- 零基礎學Java程序設計
- Python機器學習編程與實戰
- GameMaker Programming By Example
- C程序設計實踐教程
- Go語言精進之路:從新手到高手的編程思想、方法和技巧(2)
- Test-Driven JavaScript Development
- Hacking Android
- .NET 4.0面向對象編程漫談:應用篇
- 微前端設計與實現
- Java RESTful Web Service實戰