Network configuration for virtual servers
Equipping a virtual machine or container with a vNIC can be a simple matter handled completely through the management interface during the initial configuration or subsequently as circumstances demand.
However, it can also be a fairly complex matter that requires modification of configuration files from the command line on the host, in the VM or container, or both.
In this section, we'll explore the simplest scenario: providing connectivity to VMs through the web-based management interface.
Providing basic connectivity
Here, we will focus on providing our virtual machines with basic connectivity and incorporate them into a flat network. We'll work first with VMs and then with containers.
Of VMs and vNICs
In Chapter 4, Creating Virtual Machines, we glossed over the configuration of the virtual network interface in the name of efficiency. Here, we'll discuss options provided by the VM creation wizard in the administrative interface.
Bridge configuration
First...