Table of Contents

Xenserver - Add or Replace a NIC

See also XenServer Networking Notes

http://vdinotes.com/2013/01/13/xenserver-get-out-of-emergency-mode/

http://innitec.wordpress.com/2009/12/24/correct-procedure-when-losing-all-nic-settings-on-xenserver-pool/

Emergency Network Reset

http://support.citrix.com/article/CTX131972

If the networking is completely messed up or you just want to start the networking configuration over from scratch (to DHCP):

xe-reset-networking

Add a NIC

  1. Set the XenServer to maintenance mode
    • This will migrate, suspend or shut down any VMs
  2. Shut down the server normally
  3. Disconnect the power source(s)
  4. Reconnect power and start the server
    • Don't start any VMs
  5. Scan for new NICs
  6. Reboot the server
  7. Exit maintenance mode

Scan for new NICs and reboot:

xe pif-scan host-uuid=<your host UUID>

reboot

NIC Reorder or Rename

http://support.citrix.com/article/CTX135809

Get the current configuration:

interface-rename --list

Change:

interface-rename --update <target eth name>=MAC|PCI|Phys|"SMBios"

Example:

interface-rename --update eth0=00:12:23:34:45:56

reboot