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 Essentials

You're reading from   OpenStack Networking Essentials Build and manage networks in OpenStack using Neutron

Arrow left icon
Product type Paperback
Published in Apr 2016
Publisher Packt
ISBN-13 9781785283277
Length 174 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
James Denton James Denton
Author Profile Icon James Denton
James Denton
Derek Chamorro Derek Chamorro
Author Profile Icon Derek Chamorro
Derek Chamorro
Arrow right icon
View More author details
Toc

Examining the routers


Virtual routers are implemented as network namespaces on one or more nodes. In our single-node environment, the two routers that have been created so far can both be found on the same node. Using the ip netns command as root or a user with sudo privileges, you can list all network namespaces on a host, like so:

The two qrouter namespaces in the list correspond to the two routers we've created so far:

Using the ip netns exec <namespace> command, you can specify a command to execute within the specified namespace. Useful commands such as ip, netstat, ps, and iptables provide details within the scope of the namespace they're executed in. A quick look at the MySimpleRouter network namespace shows the virtual interface created by Neutron when we attached the router to the MySimpleSubnet subnet earlier in this chapter:

Using the ovs-vsctl show command, we can see the qr-2e525501-5f interface attached to the integration bridge in a local VLAN mapped to MySimpleNetwork:

Additional...

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 ₹800/month. Cancel anytime