Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Learning OpenStack Networking (Neutron), Second Edition

You're reading from   Learning OpenStack Networking (Neutron), Second Edition Wield the power of OpenStack Neutron networking to bring network infrastructure and capabilities to your cloud

Arrow left icon
Product type Paperback
Published in Nov 2015
Publisher Packt
ISBN-13 9781785287725
Length 462 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
James Denton James Denton
Author Profile Icon James Denton
James Denton
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Learning OpenStack Networking (Neutron) Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Preparing the Network for OpenStack FREE CHAPTER 2. Installing OpenStack 3. Installing Neutron 4. Building a Virtual Switching Infrastructure 5. Creating Networks with Neutron 6. Managing Security Groups 7. Creating Standalone Routers with Neutron 8. Router Redundancy Using VRRP 9. Distributed Virtual Routers 10. Load Balancing Traffic to Instances 11. Firewall as a Service 12. Virtual Private Network as a Service Additional Neutron Commands Virtualizing the Environment Index

Configuring virtual machine networking


Once the guest operating system is installed, it is time to configure the networking within the virtual machine. This includes the setup of the management, overlay, external, and NAT networks.

Accessing the virtual machine

Before networking is configured, access to the virtual machine will be limited to the console. From the virtual machine console, enter the credentials specified during the installation process. A successful login should result in a screen similar to the following:

Figure B.25

Use the sudo command to log in as root:

Figure B.26

Configuring network interfaces

Using the ip a command to verify that four network interfaces are attached to the virtual machine. The network interfaces will likely be labeled eth0 through eth3:

Figure B.27

Using a text editor, edit the network interfaces file found at /etc/network/interfaces and add the following interfaces and their respective addresses. The addresses can be found in Chapter 2, Installing OpenStack:

Figure B.28

Close the file and run ifup --all to bring up the network interfaces:

Figure B.29

The output of the ip a command shows that the interfaces are UP and configured with the specified addresses:

Figure B.30

A quick connectivity test shows that the virtual machine is able to access the Internet:

Figure B.31

Repeat these steps as necessary to configure the network interfaces on additional virtual machines using the table provided at the beginning of this appendix.

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 £13.99/month. Cancel anytime
Visually different images