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
LEARNING OPENSTACK NETWORKING (NEUTRON)

You're reading from   LEARNING OPENSTACK NETWORKING (NEUTRON) Architect and build a network infrastructure for your cloud using OpenStack Neutron networking

Arrow left icon
Product type Paperback
Published in Oct 2014
Publisher
ISBN-13 9781783983308
Length 300 pages
Edition 1st Edition
Concepts
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 (12) Chapters Close

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. Creating Routers with Neutron 7. Load Balancing Traffic in Neutron 8. Protecting Instances on the Network A. Additional Neutron Commands B. ML2 Configuration Index

Attaching instances to networks


Instances can be attached to networks in a variety of ways. At the first boot, an instance can be attached to a network using the nova boot command. Running instances can be attached to networks using the nova interface-attach command. Both methods are explained in the upcoming sections.

Attaching instances to networks using Nova boot

Instances are attached to networks at the first boot through the nova boot command, the dashboard, or the Nova API. The following nova boot flag provides a network interface to an instance:

--nic net-id=<UUID of Neutron network>

By passing the --nic flag multiple times, it is possible to attach an instance to more than one Neutron network. The following nova boot command demonstrates the procedure of connecting an instance to multiple networks at the first boot:

nova boot --flavor <flavor-id> --image <image-id> --nic net-id=<network-uuid1> --nic net-id=<network-uuid2> --nic net-id=<network-uuid3...
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