====== Xenserver - Add or Replace a NIC ====== See also **[[virtualization:xenserver:xenserver_networking|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 ===== - Set the XenServer to maintenance mode * This will migrate, suspend or shut down any VMs - Shut down the server normally - Disconnect the power source(s) - Reconnect power and start the server * Don't start any VMs - Scan for new NICs - Reboot the server - Exit maintenance mode Scan for new NICs and reboot: xe pif-scan host-uuid= reboot ===== NIC Reorder or Rename ===== http://support.citrix.com/article/CTX135809 Get the current configuration: interface-rename --list Change: interface-rename --update =MAC|PCI|Phys|"SMBios" Example: interface-rename --update eth0=00:12:23:34:45:56 reboot