Сделал Windows XP Guest c конфигом: kernel = "/usr/lib/xen-3.2-1/boot/hvmloader" builder = 'hvm' memory = 512 name = "winxp" vcpus=1 pae=0 acpi=0 apic=0 dhcp='dhcp' vif=['type=ioemu,bridge=xenbr0,mac=aa:00:00:00:00:11'] disk = [ 'file:/home/xen/hvm/windowsxp/WS128.img,ioemu:hda,w', 'file:/home/xen/hvm/windowsxp/winxp.iso,ioemu:hdc:cdrom,r' ] on_poweroff = 'destroy' on_reboot = 'destroy' on_crash = 'destroy' device_model = '/usr/lib/xen-3.2-1/bin/qemu-dm' cdrom = '/dev/hdf' ne2000=0 boot='d' vnc=1
Но адрес dhcp не выдал. В Domen-U всё нормально. нашел похожую проблему в рассылке, вроде как ее там решили заменой mac-адреса. поставил который в примере, dhcp запрос всё равно не прошел: http://lists.xensource.com/archives/html/xen-users/2007-08/msg00696.html test-machine:/home/test# ifconfig eth0 Link encap:Ethernet HWaddr 00:18:F3:0B:55:37 inet addr:192.168.0.7 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::218:f3ff:fe0b:5537/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:191198 errors:0 dropped:0 overruns:0 frame:0 TX packets:122502 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:15978075 (15.2 MiB) TX bytes:46841748 (44.6 MiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:487 errors:0 dropped:0 overruns:0 frame:0 TX packets:487 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:53302 (52.0 KiB) TX bytes:53302 (52.0 KiB) peth0 Link encap:Ethernet HWaddr 00:18:F3:0B:55:37 inet6 addr: fe80::218:f3ff:fe0b:5537/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:194766 errors:0 dropped:0 overruns:0 frame:0 TX packets:122579 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:19005789 (18.1 MiB) TX bytes:47240453 (45.0 MiB) Interrupt:17 Base address:0x6000 tap0 Link encap:Ethernet HWaddr D6:A0:0A:76:2E:9F inet6 addr: fe80::d4a0:aff:fe76:2e9f/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:500 RX bytes:1368 (1.3 KiB) TX bytes:468 (468.0 b) vif11.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet addr:192.168.0.7 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:468 (468.0 b) test-machine:/home/test# brctl show xenbr0 bridge name bridge id STP enabled interfaces eth0 8000.0018f30b5537 no peth0 xenbr0 8000.feffffffffff no vif11.0 test-machine:/home/test# cat /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface #allow-hotplug eth0 auto eth0 iface eth0 inet static address 192.168.0.7 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.1 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 192.168.0.3 auto xenbr0 iface xenbr0 inet static pre-up brctl addbr xenbr0 post-down brctl delbr xenbr0 post-up iptables -t nat -F post-up iptables -t nat -A POSTROUTING -o eth0 -s 192.168.0.0/24 -j MASQUERADE address 192.168.0.7 netmask 255.255.255.0 bridge_fd 0 bridge_hello 0 bridge_stp off test-machine:/home/test# tail -f /var/log/xen/xend.log [2008-05-29 11:49:54 6628] DEBUG (__init__:1072) Waiting for devices irq. [2008-05-29 11:49:54 6628] DEBUG (__init__:1072) Waiting for devices vkbd. [2008-05-29 11:49:54 6628] DEBUG (__init__:1072) Waiting for devices vfb. [2008-05-29 11:49:54 6628] DEBUG (__init__:1072) Waiting for devices console. [2008-05-29 11:49:54 6628] DEBUG (__init__:1072) Waiting for 0. [2008-05-29 11:49:54 6628] DEBUG (__init__:1072) Waiting for devices pci. [2008-05-29 11:49:54 6628] DEBUG (__init__:1072) Waiting for devices ioports. [2008-05-29 11:49:54 6628] DEBUG (__init__:1072) Waiting for devices tap. [2008-05-29 11:49:54 6628] DEBUG (__init__:1072) Waiting for devices vtpm. [2008-05-29 11:49:54 6628] INFO (__init__:1072) Domain winxp (11) unpaused. test-machine:/home/test# tail -f /var/log/xen/xend-debug.log qemu: the number of cpus is 1 Xend started at Tue May 27 16:50:14 2008. domid: 11 qemu: the number of cpus is 1 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]