Hi everyone! I have installed the Xen 3.0.4 onto a Dell server. The processor included in the server supports the HVM. I have made a linux domain which works just fine in HVM. The only problem with it is that with every startup the name of the NIC changes. At the first startup its name was eth0 and now it says eth7, but i always want it with the name eth0. I can send the config if needed. import os, re arch = os.uname()[4] if re.search(''64'', arch): arch_libdir = ''lib64'' else: arch_libdir = ''lib'' kernel = "/usr/lib/xen/boot/hvmloader" builder=''hvm'' memory = 512 shadow_memory = 8 name = "linux" vcpus=1 pae=1 acpi=1 apic=1 vif = [ ''type=ioemu, bridge=xenbr0, vifname=vif1.0'' ] #i have tried without vifname=vif1.0. disk = [ ''phy:/dev/xen_vg/test_root,ioemu:hda,w'' , ''file:/usr/local/iso/debian-testing-i386-netinst.iso,hdc:cdrom,r'' ] device_model = ''/usr/'' + arch_libdir + ''/xen/bin/qemu-dm'' boot="c" sdl=1 vnc=1 Best regards, mark _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi everyone! I have installed the Xen 3.0.4 onto a Dell server. The processor included in the server supports the HVM. I have made a linux domain which works just fine in HVM. The only problem with it is that with every startup the name of the NIC changes. At the first startup its name was eth0 and now it says eth7, but i always want it with the name eth0. I can send the config if needed. import os, re arch = os.uname()[4] if re.search(''64'', arch): arch_libdir = ''lib64'' else: arch_libdir = ''lib'' kernel = "/usr/lib/xen/boot/hvmloader" builder=''hvm'' memory = 512 shadow_memory = 8 name = "linux" vcpus=1 pae=1 acpi=1 apic=1 vif = [ ''type=ioemu, bridge=xenbr0, vifname=vif1.0'' ] #i have tried without vifname=vif1.0. disk = [ ''phy:/dev/xen_vg/test_root,ioemu:hda,w'' , ''file:/usr/local/iso/debian-testing-i386-netinst.iso,hdc:cdrom,r'' ] device_model = ''/usr/'' + arch_libdir + ''/xen/bin/qemu-dm'' boot="c" sdl=1 vnc=1 Best regards, mark _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nagy Zolt?n M?rk <moho.jojo@gmail.com> wrote:> I have installed the Xen 3.0.4 onto a Dell server. > The processor included in the server supports the HVM. > I have made a linux domain which works just fine in HVM. > The only problem with it is that with every startup the name of the NIC changes. > At the first startup its name was eth0 and now it says eth7, but i > always want it with the name eth0.Assign the ethernet interface a constant MAC address in the config file.> vif = [ ''type=ioemu, bridge=xenbr0, vifname=vif1.0'' ]put something like mac = ... in here I think then tidy up in /etc/udev/rules.d/z25_persistent-net.rules -- Nick Craig-Wood <nick@craig-wood.com> -- http://www.craig-wood.com/nick _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users