To add or remove networks using XenCenter, refer to the XenCenter online Help.
To add a new network using the CLI
1.Open the XenServer host text console.
2.Create the network with the
xe
At this point the network is not connected to a PIF and therefore is internal.
Creating Networks in Resource Pools
All XenServer hosts in a resource pool should have the same number of physical network interface cards (NICs), although this requirement is not strictly enforced when a XenServer host is joined to a pool.
Having the same physical networking configuration for XenServer hosts within a pool is important because all hosts in a pool share a common set of XenServer networks. PIFs on the individual hosts are connected to pool- wide networks based on device name. For example, all XenServer hosts in a pool with an eth0 NIC will have a corresponding PIF plugged into the
If one XenServer host has a different number of NICs than other hosts in the pool, complications can arise because not all pool networks will be valid for all pool hosts. For example, if hosts host1 and host2 are in the same pool and host1 has four NICs while host2 only has two, only the networks connected to PIFs corresponding to eth0 and eth1 will be valid on host2. VMs on host1 with VIFs connected to networks corresponding to eth2 and eth3 will not be able to migrate to host host2.
Creating VLANs
For servers in a resource pool, you can use the
To connect a network to an external VLAN using the CLI
1.Open the XenServer host console.
2.Create a new network for use with the VLAN. The UUID of the new network is returned:
xe
3.Use the
xe
4.Create a VLAN object specifying the desired physical PIF and VLAN tag on all VMs to be connected to the new VLAN. A new PIF will be created and plugged into the specified network. The UUID of the new PIF object is returned.
xe
5.Attach VM VIFs to the new network. See the section called “Creating Networks in a Standalone Server” for more details.
Creating NIC Bonds on a Standalone Host
Citrix recommends using XenCenter to create NIC bonds. For instructions, see the XenCenter help.
78