Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
OpenStack Networking Cookbook

You're reading from   OpenStack Networking Cookbook Harness the power of OpenStack Networking for public and private clouds using 90 hands-on recipes

Arrow left icon
Product type Paperback
Published in Oct 2015
Publisher
ISBN-13 9781785286100
Length 282 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Sriram Subramanian Sriram Subramanian
Author Profile Icon Sriram Subramanian
Sriram Subramanian
Chandan Dutta Chandan Dutta
Author Profile Icon Chandan Dutta
Chandan Dutta
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Getting Started with OpenStack Networking FREE CHAPTER 2. Using Open vSwitch for VLAN-Based Networks 3. Exploring Other Network Types in Neutron 4. Exploring Overlay Networks with Neutron 5. Managing IP Addresses in Neutron 6. Using Routing Services in Neutron 7. Using Neutron Security and Firewall Services 8. Using HAProxy for Load Balancing 9. Monitoring OpenStack Networks 10. Writing Your Own Neutron ML2 Mechanism Driver 11. Troubleshooting Tips for Neutron 12. Advanced Topics Index

Viewing a VNI assigned to a Neutron Network

In this recipe, we will see how to view the VNI assigned to a VXLAN-based virtual network. Knowing the VNI that is assigned to a virtual network is very useful to troubleshoot communication problems between the VMs or other network services.

Getting ready

For this recipe, you will need the following information:

  • The SSH login credentials for the node where the Neutron client packages are installed
  • A shell RC file that initializes the environment variables for CLI

How to do it…

The following steps will show you how you can view the VNI using the OpenStack CLI:

  1. Log in to a node with access to OpenStack.
  2. Source your RC file to set up access credentials as an administrator.
  3. You can view all the Networks created using the neutron net-list command:
    How to do it…
  4. Use the neutron net-show command to view further details for any network. In case the Network name is not unique, use its ID instead of the name:
    How to do it…

We can also achieve the same using Horizon. The steps are as follows...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime