{"id":131,"date":"2014-12-11T12:07:42","date_gmt":"2014-12-11T12:07:42","guid":{"rendered":"http:\/\/rln.d13dns.com\/?p=131"},"modified":"2014-12-11T12:07:42","modified_gmt":"2014-12-11T12:07:42","slug":"xen-xcp-xapi-change-from-eth0-to-eth1","status":"publish","type":"post","link":"https:\/\/randomlinuxnotes.d13.com\/?p=131","title":{"rendered":"xen xcp xapi change from eth0 to eth1 (after you delete eth0 eth1 becomes eth0 orn reboot)"},"content":{"rendered":"<p>#get the uuid of the box you want to add the eth1 to<br \/>\nxe vm-list<\/p>\n<p>#list the interfaces that are associated with that box<br \/>\nxe vif-list | grep <\/p>\n<p>#get list of network-uuids to pick from (in my case there are only 2)<br \/>\nxe vif-list |grep network-uuid| sort -u<\/p>\n<p># make the eth1 interface<br \/>\nvif-create  device=1 vm-uuid= network-uuid=<\/p>\n<p># plug in the eth1 interface (uuid from prior step)<br \/>\nxe vif-plug uuid=<\/p>\n<p># unplug the eth0 interface (uuid from step 2)<br \/>\nxe vif-unplug uuid=<\/p>\n<p>#delete the eth0 interface (after a reboot your new eth1 will be eth0)<br \/>\nxe vif-destroy uuid=<\/p>\n","protected":false},"excerpt":{"rendered":"<p>#get the uuid of the box you want to add the eth1 to xe vm-list #list the interfaces that are associated with that box xe vif-list | grep #get list of network-uuids to pick from (in my case there are only 2) xe vif-list |grep network-uuid| sort -u # make [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[93,154,155,157,158],"class_list":["post-131","post","type-post","status-publish","format-standard","hentry","category-rln","tag-network-interface","tag-xapi","tag-xcp","tag-xe","tag-xen"],"_links":{"self":[{"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/posts\/131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=131"}],"version-history":[{"count":0,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/posts\/131\/revisions"}],"wp:attachment":[{"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}