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 VirtualBox networking


When configuring VirtualBox networking, the following networks and types are required:

Network Type

Name

Network

Adapter Address

DHCP

NAT

<default>

<default>

<default>

Yes

Host-only

vboxnet0

10.254.254.0/24

10.254.254.1

No

Host-only

vboxnet1

10.50.0.0/24

10.50.0.1

No

Internal

overlay

172.18.0.0/24

n/a

No

Some of these networks are configured within the Preferences window of the VirtualBox application, while others are configured within the virtual machine settings window. The configuration of these networks is covered in the following sections.

Configuring host-only networks

To configure host-only networks within VirtualBox, open up the Preferences window. On a MacOS X machine, this can be found under the VirtualBox menu; on a Windows machine, this can be found under the File menu. By default, the General settings window will appear:

Figure B.1

Perform the following steps to configure the host-only networks:

  1. Click on the Host-only Networks button to reveal the existing host-only networks:

    Figure B.2

  2. Here, there are no host-only networks defined by default. On the right-hand side of the window, click on the icon shaped like a PCI card with a plus sign to add a new network:

    Figure B.3

    The first network will correspond to MGMT_NET, which is the OpenStack management and API network. The host machine, in this case the workstation running VirtualBox, needs an IP address from the network in order to communicate with the virtual OpenStack infrastructure nodes. Specify the address as 10.254.254.1 and a netmask of 255.255.255.0.

  3. Be sure to disable DHCP in the DHCP Server section and click on the OK button to save the changes. Once the changes are saved, the network will appear in the list:

    Figure B.4

  4. Add an additional network that will be used for external network traffic, specifically the floating IP network 10.50.0.0/24:

    Figure B.5

  5. Click on OK to save the changes. VirtualBox automatically configures an interface on the host machine with the address 10.50.0.1 and will be able to communicate with the floating IPs that are configured throughout the book. Once the changes are saved, both networks will be listed under Host-only Networks:

    Figure B.6

  6. Click on the OK button to save the networks.

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