Configuring virtual machine networking
Once the guest operating system has been installed, it is time to configure the networking within the virtual machine. This includes the setup of the management and NAT networks.
Accessing the virtual machine
Before networking has been 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 login as root
:
Configuring network interfaces
Using the ip addr
command, verify that three network interfaces are attached to the virtual machine. The name of the network interfaces may vary from environment to environment:
In this environment, the interfaces are named enp0s3
, enp0s8
, and enp0s9
. Using a text editor, edit the network interface files found at /etc/sysconfig/network-scripts/ifcfg-*
with the configuration provided in Chapter 2, Installing OpenStack...