Add a New Network

To create a new network in a pool or on a standalone server, use the New Network wizard: select the server or pool in the Resources pane, click on the Networking tab and then click Add Network.

To add a new external network

An external network has an association with a physical network interface card (NIC) and provides a bridge between virtual machines and your external network, enabling VMs to connect to external resources through the NIC.

  1. Open the New Network wizard.
  2. On the first page of the wizard, select External Network and then click Next.
  3. Enter the name and an optional description for the new network, and then click Next.
  4. On the Network settings page, configure the NIC, VLAN and MTU settings for the new network:
    1. From the NIC list, choose a physical network interface card (NIC).
    2. In the VLAN box, assign a number to the new virtual network.
    3. To use jumbo frames, set the Maximum Transmission Unit ( MTU ) to a value between 1500 to 9216.
  5. Select the Automatically add this network to new virtual machines check box to have the new network added to any new VMs created using the New VM wizard.
  6. Click Finish to create the new network and close the wizard.

To add a new single-server private network

A single-server private network is an internal network that has no association with a physical network interface, and provides connectivity only between the virtual machines on a given server, with no connection to VMs on other servers in the pool or to the outside world.

  1. Open the New Network wizard.
  2. On the first page of the wizard, select Single-Server Private Network and then click Next.
  3. Enter a name and an optional description for the new network, and then click Next.
  4. On the Network settings page, select the Automatically add this network to new virtual machines check box to have the new network added to any new VMs created using the New VM wizard.
  5. Click Finish to create the new network and close the wizard.

To add a new cross-server private network

A cross-server private network is a pool-wide network that provides a private connection between the VMs within a pool, but which has no connection to the outside world. To create a cross-server private network, the following conditions must be met:

  • all of the servers in the pool must be using XenServer version 5.6 Feature Pack 1 or greater;
  • all of the servers in the pool must be using Open vSwitch for networking;
  • the pool must have a vSwitch Controller configured that handles the initialization and configuration tasks required for the vSwitch connection (this must be done outside of XenCenter).
  1. Open the New Network wizard.
  2. On the first page of the wizard, select Cross-Server Private Network and then click Next.
  3. Enter a name and an optional description for the new network, and then click Next.
  4. On the Network settings page, select an interface for the new network to use, from the Management interface list.
  5. Select the Automatically add this network to new virtual machines check box to have the new network added to any new VMs created using the New VM wizard.
  6. Click Finish to create the new network and close the wizard.

To add a new bonded network

This type of network is formed by bonding two or more NICs together to create a single, high-performing channel that provides connectivity between VMs and your external network.

Note: Whenever possible, create NIC bonds as part of initial resource pool creation prior to joining additional servers to the pool or creating VMs. Doing so allows the bond configuration to be automatically replicated to servers as they are joined to the pool and reduces the number of steps required.

  1. Open the New Network wizard.
  2. On the first page of the wizard, select Bonded Network and then click Next.
  3. On the Bond Members page, select the NICs you want to bond together. To select a NIC, select its check box in the list. Up to four NICs may be selected in this list. Clear the check box to deselect a NIC.
  4. Under Bond mode , choose the type of bond:

    • Select Active-active to configure an active-active bond, where traffic is balanced between the bonded NICs and if one NIC within the bond fails, the host server’s network traffic automatically routes over the second NIC.
    • Select Active-passive to configure an active-passive bond, where traffic passes over only one of the bonded NICs. In this mode, the second NIC will only become active if the active NIC fails, for example, if it loses network connectivity.
    • Select LACP with load balancing based on source MAC address to configure a LACP bond, where the outgoing NIC is selected based on MAC address of the VM from which the traffic originated. Use this option to balance traffic in an environment where you have several VMs on the same host. This option is not suitable if there are fewer virtual interfaces (VIFs) than NICs: as load balancing is not optimal because the traffic cannot be split across NICs.
    • Select LACP with load balancing based on IP and port of source and destination to configure a LACP bond, where the source IP address, source port number, destination IP address, and destination port number are used to allocate the traffic across the NICs. Use this option to balance traffic from VMs in an environment where the number of NICs exceeds the number of VIFs.

    Notes:

    • You must configure vSwitch as the network stack to be able to view the LACP bonding options in XenCenter and to create a new LACP bond. Also, your switches must support the IEEE 802.3ad standard.
    • Active-active and active-passive bond types are available for both the vSwitch and Linux bridge.
    • You can bond either two, three, or four NICs when vSwitch is the network stack, whereas you can only bond two NICs when Linux bridge is the network stack.
  5. To use jumbo frames, set the Maximum Transmission Unit ( MTU ) to a value between 1500 to 9216.
  6. Select the Automatically add this network to new virtual machines check box to have the new network added to any new VMs created using the New VM wizard.
  7. Click Finish to create the new network and close the wizard.

For more information, see Configuring NICs.