.. _Configuring Network:

Configuring Network
-------------------

Virtuozzo Infrastructure Platform requires one network interface per server for management. On the **Component Installation** screen, you will need to specify a network interface to assign the network with the management traffic type to. After installation, you will not be able to remove this traffic type from the preconfigured network in the management panel.

Usually network is configured automatically (via DHCP) by the installation program. If you need to modify network settings, you can do so on the **NETWORK & HOST NAME** screen.

If manual configuration is required, specify the necessary parameters for at least one network card and provide a hostname: either a fully qualified domain name (hostname, domainname) or a short name (hostname).

Creating Bonded and Teamed Connections
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Bonded and teamed connections offer increased throughput beyond the capabilities of a single network card as well as improved redundancy.

While installing Virtuozzo Infrastructure Platform, you can configure bonding on the **NETWORK & HOSTNAME** screen as described below. Teaming can be configured in a similar way after choosing **Team** on step 1.

#. To add a new bonded connection, click the plus button in the bottom, select **Bond** from the drop-down list, and click **Add**.

   .. image:: ../../../images/stor_install1.png
      :align: center
      :class: align-center

#. In the **Editing Bond connection...** window, set the following parameters for an Ethernet bonding interface:

   #. **Mode** to ``XOR``.
   #. **Link Monitoring** to ``MII (recommended)``.
   #. **Monitoring frequency**, **Link up delay**, and **Link down delay** to ``300``.

   .. image:: ../../../images/stor_install2.png
      :align: center
      :class: align-center

   .. note:: It is also recommended to `manually set <http://docs.virtuozzo.com/virtuozzo_storage_administrators_command_line_guide/maximizing-cluster-performance/setting-up-network-bonding.html>`__ ``xmit_hash_policy`` to ``layer3+4`` after the installation. 

#. In the **Bonded connections** section on the **Bond** tab, click **Add**.

#. In the **Choose a Connection Type** window, select **Ethernet** from the in the drop-down list, and click **Create**.

   .. image:: ../../../images/stor_install3.png
      :align: center
      :class: align-center

#. In the **Editing bond slave...** window, select a network interface to bond from the **Device** drop-down list.

   .. image:: ../../../images/stor_install4.png
      :align: center
      :class: align-center

#. Configure other parameters if required and click **Save**.

#. Repeat steps 3 to 7 for each network interface you need to add to the bonded connection.

#. Configure other parameters if required and click **Save**.

The connection will appear in the list on the **NETWORK & HOSTNAME** screen.

.. image:: ../../../images/stor_install5.png
   :align: center
   :class: align-center
