Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora/Linux Management Tools (http://www.linux-archive.org/fedora-linux-management-tools/)
-   -   kvm pxe boot again (http://www.linux-archive.org/fedora-linux-management-tools/111786-kvm-pxe-boot-again.html)

Farkas Levente 06-23-2008 10:22 AM

kvm pxe boot again
 
hi,
i try again pxe boot for a guest on out kvm server. the setup:
- host:
- Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
- Intel S3000AHV
- 8GB RAM
- CentOS-5.1
- kernel-2.6.18-53.1.21.el5 x86_64 64bit
installed:
-----------------------------------------
gtk-vnc-0.3.6-1.x86_64.rpm
gtk-vnc-python-0.3.6-1.x86_64.rpm
kmod-kvm-70-1.2.6.18_53.1.21.el5.x86_64.rpm
kvm-70-1.x86_64.rpm
libvirt-0.4.3-1.x86_64.rpm
libvirt-devel-0.4.3-1.x86_64.rpm
libvirt-python-0.4.3-1.x86_64.rpm
python-virtinst-0.300.3-6.noarch.rpm
qemu-0.9.1-8.x86_64.rpm
qemu-img-0.9.1-8.x86_64.rpm
virt-manager-0.5.4-4.x86_64.rpm
virt-viewer-0.0.3-1.x86_64.rpm
-----------------------------------------
when i try to create a new guest and run it from virt-manager this
command is running:

-----------------------------------------
root 16423 98.2 0.1 908016 14368 ? Sl 12:02 1:18 \_
/usr/bin/qemu-kvm -S -M pc -m 512 -smp 1 -name test -monitor pty
-no-reboot -boot n -drive
file=/var/lib/libvirt/images/test.img,if=ide,index=0 -net
nic,macaddr=00:16:3e:2c:c2:0a,vlan=0 -net
tap,fd=36,script=,vlan=0,ifname=vnet6 -serial pty -parallel none -usb
-vnc 127.0.0.1:6 -k en-us

-----------------------------------------
the default ethernet adapter is e1000 and etherboot try to boot, but
can't find the dhcp server. the host has a bridged network and there is

how can i debug it?
on which interface should the guest request the dhcp? i run tcpdump on
eth0, peth0, vnet6 but none of them has any kind if icmp trafic.

is it a kvm, qemu or virt-manager bug? how can i found out the reason?
thanks.

the host's interfaces are:
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:15:17:39:44:96
inet addr:192.168.2.4 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::215:17ff:fe39:4496/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:18763993 errors:0 dropped:0 overruns:0 frame:0
TX packets:10956228 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4288812473 (3.9 GiB) TX bytes:13723213998 (12.7 GiB)

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:3791403 errors:0 dropped:0 overruns:0 frame:0
TX packets:3791403 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:13289699425 (12.3 GiB) TX bytes:13289699425 (12.3 GiB)

peth0 Link encap:Ethernet HWaddr 00:15:17:39:44:96
inet6 addr: fe80::215:17ff:fe39:4496/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:148903818 errors:0 dropped:0 overruns:0 frame:0
TX packets:107216505 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:154336190334 (143.7 GiB) TX bytes:72674435307 (67.6
GiB)

Base address:0x2000 Memory:e8180000-e81a0000

vnet0 Link encap:Ethernet HWaddr 9A:1E:C7:8C:9C:51
inet6 addr: fe80::981e:c7ff:fe8c:9c51/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1757654 errors:0 dropped:0 overruns:0 frame:0
TX packets:3726207 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:463262809 (441.8 MiB) TX bytes:3864267943 (3.5 GiB)

vnet1 Link encap:Ethernet HWaddr 9A:4D:7B:48:EC:5C
inet6 addr: fe80::984d:7bff:fe48:ec5c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:106067 errors:0 dropped:0 overruns:0 frame:0
TX packets:1091412 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:74296938 (70.8 MiB) TX bytes:243921620 (232.6 MiB)

vnet2 Link encap:Ethernet HWaddr 26:C0:3C:12:4F:98
inet6 addr: fe80::24c0:3cff:fe12:4f98/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:1 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

vnet3 Link encap:Ethernet HWaddr 52:26:C9:40:F0:56
inet6 addr: fe80::5026:c9ff:fe40:f056/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2385 errors:0 dropped:0 overruns:0 frame:0
TX packets:960588 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:175121 (171.0 KiB) TX bytes:90396414 (86.2 MiB)

vnet4 Link encap:Ethernet HWaddr 02:C7:51:D9:06:42
inet6 addr: fe80::c7:51ff:fed9:642/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:1 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

vnet5 Link encap:Ethernet HWaddr 56:2A:58:FC:5A:0F
inet6 addr: fe80::542a:58ff:fefc:5a0f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:1 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

vnet6 Link encap:Ethernet HWaddr D6:E7:0F:42:6D:D8
inet6 addr: fe80::d4e7:fff:fe42:6dd8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:1 carrier:0
collisions:0 txqueuelen:500
RX bytes:3540 (3.4 KiB) TX bytes:0 (0.0 b)


--
Levente "Si vis pacem para bellum!"

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools


All times are GMT. The time now is 10:41 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.