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:
Use the sudo
command to log in as root
:
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
:
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...