Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
virtualization:xenserver:xenserver_networking [2014/12/08 08:44] gcooper |
virtualization:xenserver:xenserver_networking [2019/10/30 12:19] (current) gcooper |
| |
See also **[[virtualization:xenserver:xenserver_add_nic|Xenserver - Add or Replace a NIC]]** | See also **[[virtualization:xenserver:xenserver_add_nic|Xenserver - Add or Replace a NIC]]** |
| |
http://support.citrix.com/servlet/KbServlet/download/17424-102-671540/Xen_Networking_in_Linux_final.pdf | |
| |
See also **[[networking:mtu_test|Testing MTU, Jumbo Frames and Packet Fragmentation]]** | See also **[[networking:mtu_test|Testing MTU, Jumbo Frames and Packet Fragmentation]]** |
| |
| http://support.citrix.com/servlet/KbServlet/download/17424-102-671540/Xen_Networking_in_Linux_final.pdf |
| |
===== Management Network ===== | ===== Management Network ===== |
| |
^XenServer “xe” Command ^Comment ^ | ^XenServer “xe” Command ^Comment ^ |
|xe network-list |List the networks and attributes | | |''xe network-list'' |List the networks and attributes | |
|xe pif-list |List interface attributes (UUID values)| | |''xe pif-list'' |List interface attributes (UUID values)| |
|xe vif-list | | | |''xe vif-list'' | | |
|xe pif-forget uuid= |Forgetting an interface means the Xen host no longer has control. Configure through Linux. | | |''xe pif-forget uuid='' |Forgetting an interface means the Xen host no longer has control. Configure through Linux. | |
|xe pif introduce hostuuid= mac= device= |Introducing an interface means all configuration should go through Xen. | | |''xe pif introduce hostuuid= mac= device='' |Introducing an interface means all configuration should go through Xen. | |
|xe pif-reconfigure-ip ip=xx.xx.xx.xx uuid= |Change the IP attributes of management interface. | | |''xe pif-reconfigure-ip ip=xx.xx.xx.xx uuid='' |Change the IP attributes of management interface. | |
|xe pif-uuid= | | | |''xe pif-uuid='' | | |
|xe vif-uuid= |There are several pif and vif commands for network setup. | | |''xe vif-uuid='' |There are several pif and vif commands for network setup. | |
|xe pif-param-set other-config:ethtool-duplex="full” uuid= |Usually used to set adapter specific attributes. | | |''xe pif-param-set other-config:ethtool-duplex="full" uuid='' |Usually used to set adapter specific attributes. | |
|xe host-set-hostname-live host-name=<fqdn> host-uuid= |Change the FQDN of the host. | | |''xe host-set-hostname-live host-name=<fqdn> host-uuid='' |Change the FQDN of the host. | |
|xe vm-list params=name-label,dom-id |Shows VMs and their dom-id to associate with VIF names | | |''xe vm-list params=name-label,dom-id'' |Shows VMs and their dom-id to associate with VIF names | |
| |
===== VLANs ===== | ===== VLANs ===== |
| |
If you are not using XenCenter for NIC bonding, the quickest way to create pool-wide NIC bonds is to create the bond on the master, and then restart the other pool members. Alternatively, you can use the service xapi restart command. This causes the bond and VLAN settings on the master to be inherited by each host. The management interface of each host must, however, be manually reconfigured. | If you are not using XenCenter for NIC bonding, the quickest way to create pool-wide NIC bonds is to create the bond on the master, and then restart the other pool members. Alternatively, you can use the service xapi restart command. This causes the bond and VLAN settings on the master to be inherited by each host. The management interface of each host must, however, be manually reconfigured. |
| |
| ==== XenCenter ==== |
| |
| **Select Host -> NICs (tab) -> Create Bond** |
| |
| ==== CLI ==== |
| |
<file> | <file> |