Previous page

Next page

Locate page in Contents

Print this page

Managing Virtual Networks

A Virtual Network is a notion denoting the grouping of a number of Containers with bridged network interfaces into a single subnet. Using Virtual Networks is also necessary if you want to single out groups of Containers on a physical server into separate subnets to be invisible to each other. General information on the two network modes in which Containers can operate - namely, host-routed and bridged modes - is provided in Parallels Virtuozzo Containers User's Guide. Only those Containers that operate in the bridged mode can be united into Virtual Networks. The picture below illustrates different scenarios of how Virtual Networks can be used and what are the effects of this or that placement.

Virtual Networks

The scheme above illustrates three Virtuozzo physical servers each having a single Ethernet adapter (eth0). The Ethernet adapters are physically united into a single network. On the Ethernet adapters of Nodes 2 and 3, a VLAN is set up.

Note: Linux On a Linux physical server, a VLAN can be set up by standard means of the OS, and Parallels Virtual Automation provides an interface for creating VLANs on any network adapter. Windows On Windows physical servers, any suitable third-party tools can be used for creating VLANs. Parallels Virtual Automation does not provide an interface to these tools, though it naturally displays the VLAN adapters created in this way.

The steps needed to set up each of the five Virtual Networks shown on the scheme (A-E) are the following:

  1. A Virtual Network is created either on the general Parallels Virtual Automation screen for the whole Server Group of physical servers or on the screen related to a particular physical server. Whatever the screen, the created Virtual Network will be available for all the registered physical servers. If you use a particular physical server for the Virtual Network creation, you can also specify to what network interface card (NIC) of the current physical server the Virtual Network will be assigned, if at all.
  2. Containers from one or more physical servers are added to the Virtual Network, thus creating a separate subnet. Only the bridged interfaces of the Containers are involved in this process; host-routed interfaces cannot be added to Virtual Networks. You should make sure that these Containers can also communicate with each other on the IP level, i.e. their IP addresses/net masks are compatible with each other.
  3. For each physical server that hosts the Containers included in the Virtual Network, the Virtual Network should either be assigned to one of the physical server's physical/VLAN adapters or defined locally for the physical server (the latter variant is possible if the Containers of only one physical server are included in the Virtual Network).

Using the method above, the configuration shown on the scheme can be created. Each of the five Virtual Networks serves to group two or three Containers of one or two physical servers - this is shown with double-headed arrows connecting the Virtual Network border with the Container bridged interfaces. Each of the Virtual Networks is either local for the physical server or bridged to some adapter - the latter case is illustrated with double-headed arrows connecting the Virtual Network border with the physical servers' Ethernet or VLAN interfaces.

Let us see the effects of each of the combinations shown:

Note: Any interface on the physical server can be assigned to only one Virtual Network. If you need to create more Virtual Networks on one physical server, either use more physical adapters or create VLANs.

See Also

Managing Parallels Network

Managing Network Adapters on Physical Server

Managing Container Network Parameters

Managing Container Firewall

Managing IP Pools

Managing Email Gateway and Proxy Server

Managing Email Notifications Settings

In This Section

Listing Virtual Networks on Physical Server

Creating Virtual Network on Physical Server

Viewing Virtual Network Details

Configure Virtual Network Parameters on Physical Server

Listing Virtual Networks in Server Group

Creating New Virtual Network

Configuring Virtual Network Parameters

Please send us your feedback on this help page