Hi all, I have a problem now, I''ve never had before. All my Linux guests, block the boot process at the "Sending DHCP requests ..." message. The DHCP server works, since all my physical machines get an IP address every time. This also worked for XEN guests, up to few days ago. I read this discussion (http://lists.xensource.com/archives/html/xen-devel/2005-09/msg00319.html) but it doesn''t solve my problem. These are the boot messages I get before the boot process lock: [ 3.044520] Netfilter messages via NETLINK v0.30. [ 3.044535] nf_conntrack version 0.5.0 (4160 buckets, 16640 max) [ 3.044749] ctnetlink v0.93: registering with nfnetlink. [ 3.045246] ip_tables: (C) 2000-2006 Netfilter Core Team [ 3.045265] TCP cubic registered [ 3.045267] Initializing XFRM netlink socket [ 3.045556] NET: Registered protocol family 10 [ 3.046423] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 3.046464] IPv6 over IPv4 tunneling driver [ 3.046986] NET: Registered protocol family 17 [ 3.047223] RPC: Registered udp transport module. [ 3.047225] RPC: Registered tcp transport module. [ 3.047499] registered taskstats version 1 [ 3.047521] XENBUS: Device with no driver: device/console/0 [ 4.549105] Sending DHCP requests ... [ 18.851032] . The configuration file is the following: kernel = "/mnt/xen/kernel/vmlinuz-xen-2.6.31-r7-domU" memory = "512" name = "gentoo-10.0-x86_64" vif = [''bridge=xenbr0''] dhcp = "dhcp" disk = [''file:/mnt/vmstore/gentoo-10.0/gentoo-10.0.x86-64.img,hda1,w''] root = "/dev/hda1 ro" vcpus = 2 extra = ''console=hvc0 xencons=tty'' I am on a Gentoo Host system and I have many different Linux guest distributions. All Linux distributions give me that problem. I don''t know if it could depend on the kernel configuration, but I guess no, since it worked before, and I didn''t change anything. My host and guest kernel is 2.6.31-r7. Any help will be appreciated. Thanks a lot, Flavio _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2009/11/21 Flavio <fbcyborg@gmail.com>:> [ 3.047521] XENBUS: Device with no driver: device/console/0 > [ 4.549105] Sending DHCP requests ... > [ 18.851032] .By the way, I noticed that, after few minutes, the system goes ahead and finish the boot process, but I can''t still understand why there are a lot of problems with dhcp. Actually, if I perform such a "ifconfig eth0 up && dhcpcd eth0" eth0 obtain an IP address without any problem. I also tried the same identical filesystem image on a debian-lenny host system (XEN of course), and I get the same problem as regar DHCP, but, if I let the guest machine to continue the boot process, I get many other problems like: [ 78.792688] Sending DHCP requests ... [ 94.905003] ... timed out! [ 165.745993] IP-Config: Auto-configuration of network failed. [ 165.746025] md: Waiting for all devices to be available before autodetect [ 165.746028] md: If you don''t use raid, use raid=noautodetect [ 165.746179] md: Autodetecting RAID arrays. [ 165.746182] md: Scanned 0 and added 0 devices. [ 165.746184] md: autorun ... [ 165.746185] md: ... autorun DONE. [ 165.746509] kjournald starting. Commit interval 5 seconds [ 165.746518] EXT3-fs: mounted filesystem with writeback data mode. [ 165.746528] VFS: Mounted root (ext3 filesystem) readonly on device 3:1. [ 165.746566] Freeing unused kernel memory: 272k freed [ 165.747426] Write protecting the kernel text: 4104k [ 165.747741] Write protecting the kernel read-only data: 1676k [ 165.583422] request_module: runaway loop modprobe binfmt-464c [ 165.583427] request_module: runaway loop modprobe binfmt-464c [ 165.583497] request_module: runaway loop modprobe binfmt-464c [ 165.583501] request_module: runaway loop modprobe binfmt-464c [ 165.583596] request_module: runaway loop modprobe binfmt-464c [ 165.755749] khelper used greatest stack depth: 6912 bytes left [ 165.621796] khelper used greatest stack depth: 6764 bytes left [ 167.179411] khelper used greatest stack depth: 6708 bytes left [ 179.299780] khelper used greatest stack depth: 6704 bytes left This is making me crazy. Flavio _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2009-Nov-22 06:31 UTC
Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..."
I would run tcpdump somewhere on the LAN ( it''s broadcast request) to check UDP checksums propagated via Dom0 Ethernet interface. Boris. --- On Sat, 11/21/09, Flavio <fbcyborg@gmail.com> wrote: From: Flavio <fbcyborg@gmail.com> Subject: [Xen-users] Re: Guests stops at "Sending DHCP requests ..." To: xen-users@lists.xensource.com Date: Saturday, November 21, 2009, 6:08 PM 2009/11/21 Flavio <fbcyborg@gmail.com>:> [ 3.047521] XENBUS: Device with no driver: device/console/0 > [ 4.549105] Sending DHCP requests ... > [ 18.851032] .By the way, I noticed that, after few minutes, the system goes ahead and finish the boot process, but I can''t still understand why there are a lot of problems with dhcp. Actually, if I perform such a "ifconfig eth0 up && dhcpcd eth0" eth0 obtain an IP address without any problem. I also tried the same identical filesystem image on a debian-lenny host system (XEN of course), and I get the same problem as regar DHCP, but, if I let the guest machine to continue the boot process, I get many other problems like: [ 78.792688] Sending DHCP requests ... [ 94.905003] ... timed out! [ 165.745993] IP-Config: Auto-configuration of network failed. [ 165.746025] md: Waiting for all devices to be available before autodetect [ 165.746028] md: If you don''t use raid, use raid=noautodetect [ 165.746179] md: Autodetecting RAID arrays. [ 165.746182] md: Scanned 0 and added 0 devices. [ 165.746184] md: autorun ... [ 165.746185] md: ... autorun DONE. [ 165.746509] kjournald starting. Commit interval 5 seconds [ 165.746518] EXT3-fs: mounted filesystem with writeback data mode. [ 165.746528] VFS: Mounted root (ext3 filesystem) readonly on device 3:1. [ 165.746566] Freeing unused kernel memory: 272k freed [ 165.747426] Write protecting the kernel text: 4104k [ 165.747741] Write protecting the kernel read-only data: 1676k [ 165.583422] request_module: runaway loop modprobe binfmt-464c [ 165.583427] request_module: runaway loop modprobe binfmt-464c [ 165.583497] request_module: runaway loop modprobe binfmt-464c [ 165.583501] request_module: runaway loop modprobe binfmt-464c [ 165.583596] request_module: runaway loop modprobe binfmt-464c [ 165.755749] khelper used greatest stack depth: 6912 bytes left [ 165.621796] khelper used greatest stack depth: 6764 bytes left [ 167.179411] khelper used greatest stack depth: 6708 bytes left [ 179.299780] khelper used greatest stack depth: 6704 bytes left This is making me crazy. Flavio _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Geert Janssens
2009-Nov-22 09:37 UTC
Re: [Xen-users] Guests stops at "Sending DHCP requests ..."
This may not be related to your problem, but I''ll mention it anyway. I had some DHCP problems a while ago as well. DomU''s would not receive their ip address, while physical hosts did. In my case it turned out that I hadn''t configured my DHCP server as authoritative (this is an option in the dhcpd.conf file). After setting that parameter, everything worked fine. Did you check your dhcpd log already (on CentOS this is logged to /var/log/messages) ? Is the dhcpd server receiving the requests ? If not, it''s definitely another problem than mine... Geert On Saturday 21 November 2009, Flavio wrote:> Hi all, > > I have a problem now, I''ve never had before. All my Linux guests, > block the boot process at the "Sending DHCP requests ..." message. > The DHCP server works, since all my physical machines get an IP address > every time. This also worked for XEN guests, up to few days ago. > > I read this discussion > (http://lists.xensource.com/archives/html/xen-devel/2005-09/msg00319.html) > but it doesn''t solve my problem. > > These are the boot messages I get before the boot process lock: > > [ 3.044520] Netfilter messages via NETLINK v0.30. > [ 3.044535] nf_conntrack version 0.5.0 (4160 buckets, 16640 max) > [ 3.044749] ctnetlink v0.93: registering with nfnetlink. > [ 3.045246] ip_tables: (C) 2000-2006 Netfilter Core Team > [ 3.045265] TCP cubic registered > [ 3.045267] Initializing XFRM netlink socket > [ 3.045556] NET: Registered protocol family 10 > [ 3.046423] ip6_tables: (C) 2000-2006 Netfilter Core Team > [ 3.046464] IPv6 over IPv4 tunneling driver > [ 3.046986] NET: Registered protocol family 17 > [ 3.047223] RPC: Registered udp transport module. > [ 3.047225] RPC: Registered tcp transport module. > [ 3.047499] registered taskstats version 1 > [ 3.047521] XENBUS: Device with no driver: device/console/0 > [ 4.549105] Sending DHCP requests ... > [ 18.851032] . > > > The configuration file is the following: > kernel = "/mnt/xen/kernel/vmlinuz-xen-2.6.31-r7-domU" > memory = "512" > name = "gentoo-10.0-x86_64" > vif = [''bridge=xenbr0''] > dhcp = "dhcp" > disk = [''file:/mnt/vmstore/gentoo-10.0/gentoo-10.0.x86-64.img,hda1,w''] > root = "/dev/hda1 ro" > vcpus = 2 > extra = ''console=hvc0 xencons=tty'' > > > I am on a Gentoo Host system and I have many different Linux guest > distributions. > All Linux distributions give me that problem. > > I don''t know if it could depend on the kernel configuration, but I guess > no, since it worked before, and I didn''t change anything. > > My host and guest kernel is 2.6.31-r7. > > Any help will be appreciated. > > Thanks a lot, > > Flavio > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Kobalt W.I.T. Web & Information Technology Brusselsesteenweg 152 1850 Grimbergen Tel : +32 479 339 655 Email: info@kobaltwit.be _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Flavio
2009-Nov-22 09:43 UTC
Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..."
Hi all, and thank you for the reply. 2009/11/22 Ata E Husain <ata.husain@hotmail.com>:> Can you check are you on the network that supports DHCP protocol. I ran in > to the same problem and found network does not support DHCP.If you refer to the DHCP server of my real local (physical) area network the answer is yes. My DHCP server works like a charm, without any doubt.> You can try to deactivate DHCP and use some static IP configuration like: > config file, add this line (replace) > dhcp = "no" > vif = [''ip=xxx.xxx.xxx.xxx''] , use what ever IP you want for your domain. >Yes, I''ve just tried it, but it still remain here for a lot of time: [ 4.671098] Sending DHCP requests ... [ 17.040081] .. I guess something really strange happened to my xen hypervisor. 2009/11/22 Boris Derzhavets <bderzhavets@yahoo.com>> > I would run tcpdump somewhere on the LAN ( it''s broadcast request) to check > UDP checksums propagated via Dom0 Ethernet interface.This is what happens running tcpdump during the above message appears (Sending DHCP requests). Here we go: 10:38:44.756297 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:16:3e:14:48:41 (oui Unknown), length 548 10:38:45.254567 arp who-has 192.168.1.100 tell 192.168.1.254 10:38:46.254549 arp who-has 192.168.1.100 tell 192.168.1.254 10:38:47.090291 IP6 fe80::216:3eff:fe14:4841 > ff02::2: ICMP6, router solicitation, length 16 10:38:48.102845 arp who-has 192.168.1.100 tell 192.168.1.254 10:38:48.287299 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:16:3e:14:48:41 (oui Unknown), length 548 10:38:48.572881 IP 192.168.1.103.56185 > fx-in-f17.1e100.net.https: . 962638484:962639902(1418) ack 1384000022 win 501 <nop,nop,timestamp 368176 1775246387> 10:38:48.572911 IP 192.168.1.103.56185 > fx-in-f17.1e100.net.https: P 1418:1685(267) ack 1 win 501 <nop,nop,timestamp 368176 1775246387> 10:38:48.573080 IP 192.168.1.103.54102 > nst.tin.it.domain: 28478+ PTR? 17.39.125.74.in-addr.arpa. (43) 10:38:48.660315 IP fx-in-f17.1e100.net.https > 192.168.1.103.56185: . ack 1685 win 832 <nop,nop,timestamp 1775255999 368176> 10:38:48.664230 IP nst.tin.it.domain > 192.168.1.103.54102: 28478 1/4/1 (174) 10:38:48.724724 IP fx-in-f17.1e100.net.https > 192.168.1.103.56185: P 1:374(373) ack 1685 win 832 <nop,nop,timestamp 1775256062 368176> 10:38:48.724816 IP 192.168.1.103.56185 > fx-in-f17.1e100.net.https: . ack 374 win 501 <nop,nop,timestamp 368214 1775256062> 10:38:48.725552 IP fx-in-f17.1e100.net.https > 192.168.1.103.56185: P 374:411(37) ack 1685 win 832 <nop,nop,timestamp 1775256062 368176> 10:38:48.725568 IP 192.168.1.103.56185 > fx-in-f17.1e100.net.https: . ack 411 win 501 <nop,nop,timestamp 368214 1775256062> 10:38:49.099514 arp who-has 192.168.1.100 tell 192.168.1.254 10:38:49.466312 IP6 fe80::216:3eff:fe14:4841 > ff02::16: HBH ICMP6, multicast listener report v2, 1 group record(s), length 28 10:38:50.099481 arp who-has 192.168.1.100 tell 192.168.1.254 10:38:51.090296 IP6 fe80::216:3eff:fe14:4841 > ff02::2: ICMP6, router solicitation, length 16 2009/11/22 Geert Janssens <info@kobaltwit.be>:> This may not be related to your problem, but I''ll mention it anyway. > > I had some DHCP problems a while ago as well. DomU''s would not receive their > ip address, while physical hosts did. > > In my case it turned out that I hadn''t configured my DHCP server as > authoritative (this is an option in the dhcpd.conf file). After setting that > parameter, everything worked fine. > > Did you check your dhcpd log already (on CentOS this is logged to > /var/log/messages) ? Is the dhcpd server receiving the requests ? If not, it''s > definitely another problem than mine...Thank you Geert, but the DHCP server, in my case is my ADSL modem router, and it always worked for VM guest, and it actually works if I boot a VirtualBox guest or whatever PC is connected to the LAN. Thank you so much, Flavio _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2009-Nov-22 10:23 UTC
Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..."
>This is what happens running tcpdump during the above message appears >(Sending DHCP requests). > Here we go:Usually i ran :- # tcpdump -vv -s 1600 | tee log DHCPDISCOVER sends UDP packets. I cannot see in the report CHECKSUMS diagnostics. Been working with Solaris Nevada DomUs (build < 100 ) at Linux Xen Dom0 i always caught wrong UDP checksums during DHCP request from DomUs. But not Linux, Linux.> in my case is my ADSL modem router, and > it always worked for VM guest, and it actually works if I boot a > VirtualBox guest or whatever PC is connected to the LAN.Anyway, i would try to disable checksum offloading just for one DomU. Bad checksum causes packet to be discarded at your router (ADSL modem). Boris. --- On Sun, 11/22/09, Flavio <fbcyborg@gmail.com> wrote: From: Flavio <fbcyborg@gmail.com> Subject: Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..." To: xen-users@lists.xensource.com Date: Sunday, November 22, 2009, 4:43 AM Hi all, and thank you for the reply. 2009/11/22 Ata E Husain <ata.husain@hotmail.com>:> Can you check are you on the network that supports DHCP protocol. I ran in > to the same problem and found network does not support DHCP.If you refer to the DHCP server of my real local (physical) area network the answer is yes. My DHCP server works like a charm, without any doubt.> You can try to deactivate DHCP and use some static IP configuration like: > config file, add this line (replace) > dhcp = "no" > vif = [''ip=xxx.xxx.xxx.xxx''] , use what ever IP you want for your domain. >Yes, I''ve just tried it, but it still remain here for a lot of time: [ 4.671098] Sending DHCP requests ... [ 17.040081] .. I guess something really strange happened to my xen hypervisor. 2009/11/22 Boris Derzhavets <bderzhavets@yahoo.com>> > I would run tcpdump somewhere on the LAN ( it''s broadcast request) to check > UDP checksums propagated via Dom0 Ethernet interface.This is what happens running tcpdump during the above message appears (Sending DHCP requests). Here we go: 10:38:44.756297 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:16:3e:14:48:41 (oui Unknown), length 548 10:38:45.254567 arp who-has 192.168.1.100 tell 192.168.1.254 10:38:46.254549 arp who-has 192.168.1.100 tell 192.168.1.254 10:38:47.090291 IP6 fe80::216:3eff:fe14:4841 > ff02::2: ICMP6, router solicitation, length 16 10:38:48.102845 arp who-has 192.168.1.100 tell 192.168.1.254 10:38:48.287299 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:16:3e:14:48:41 (oui Unknown), length 548 10:38:48.572881 IP 192.168.1.103.56185 > fx-in-f17.1e100.net.https: . 962638484:962639902(1418) ack 1384000022 win 501 <nop,nop,timestamp 368176 1775246387> 10:38:48.572911 IP 192.168.1.103.56185 > fx-in-f17.1e100.net.https: P 1418:1685(267) ack 1 win 501 <nop,nop,timestamp 368176 1775246387> 10:38:48.573080 IP 192.168.1.103.54102 > nst.tin.it.domain: 28478+ PTR? 17.39.125.74.in-addr.arpa. (43) 10:38:48.660315 IP fx-in-f17.1e100.net.https > 192.168.1.103.56185: . ack 1685 win 832 <nop,nop,timestamp 1775255999 368176> 10:38:48.664230 IP nst.tin.it.domain > 192.168.1.103.54102: 28478 1/4/1 (174) 10:38:48.724724 IP fx-in-f17.1e100.net.https > 192.168.1.103.56185: P 1:374(373) ack 1685 win 832 <nop,nop,timestamp 1775256062 368176> 10:38:48.724816 IP 192.168.1.103.56185 > fx-in-f17.1e100.net.https: . ack 374 win 501 <nop,nop,timestamp 368214 1775256062> 10:38:48.725552 IP fx-in-f17.1e100.net.https > 192.168.1.103.56185: P 374:411(37) ack 1685 win 832 <nop,nop,timestamp 1775256062 368176> 10:38:48.725568 IP 192.168.1.103.56185 > fx-in-f17.1e100.net.https: . ack 411 win 501 <nop,nop,timestamp 368214 1775256062> 10:38:49.099514 arp who-has 192.168.1.100 tell 192.168.1.254 10:38:49.466312 IP6 fe80::216:3eff:fe14:4841 > ff02::16: HBH ICMP6, multicast listener report v2, 1 group record(s), length 28 10:38:50.099481 arp who-has 192.168.1.100 tell 192.168.1.254 10:38:51.090296 IP6 fe80::216:3eff:fe14:4841 > ff02::2: ICMP6, router solicitation, length 16 2009/11/22 Geert Janssens <info@kobaltwit.be>:> This may not be related to your problem, but I''ll mention it anyway. > > I had some DHCP problems a while ago as well. DomU''s would not receive their > ip address, while physical hosts did. > > In my case it turned out that I hadn''t configured my DHCP server as > authoritative (this is an option in the dhcpd.conf file). After setting that > parameter, everything worked fine. > > Did you check your dhcpd log already (on CentOS this is logged to > /var/log/messages) ? Is the dhcpd server receiving the requests ? If not, it''s > definitely another problem than mine...Thank you Geert, but the DHCP server, in my case is my ADSL modem router, and it always worked for VM guest, and it actually works if I boot a VirtualBox guest or whatever PC is connected to the LAN. Thank you so much, Flavio _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Flavio
2009-Nov-22 12:51 UTC
Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..."
2009/11/22 Boris Derzhavets <bderzhavets@yahoo.com>> Usually i ran :- > # tcpdump -vv -s 1600 | tee log > DHCPDISCOVER sends UDP packets. > I cannot see in the report CHECKSUMS diagnostics.I did it too, and here''s what I got: 13:45:58.763166 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 52) 192.168.1.103.45487 > host11-2-dynamic.81-71-r.retail.telecomitalia.it.7876: ., cksum 0x54b9 (correct), 135:135(0) ack 153 win 54 <nop,nop,timestamp 4294942296 10921> 13:45:59.014636 IP (tos 0x0, ttl 1, id 7663, offset 0, flags [DF], proto IGMP (2), length 36, options (RA)) 192.168.1.254 > ALL-SYSTEMS.MCAST.NET: igmp query v3 [max resp time 10s] 13:45:59.014829 IP (tos 0x0, ttl 64, id 40600, offset 0, flags [DF], proto UDP (17), length 68) 192.168.1.103.42839 > nst.tin.it.domain: [udp sum ok] 42104+ PTR? 1.0.0.224.in-addr.arpa. (40) 13:45:59.103561 IP (tos 0x0, ttl 54, id 30220, offset 0, flags [none], proto UDP (17), length 268) nst.tin.it.domain > 192.168.1.103.42839: [udp sum ok] 42104 q: PTR? 1.0.0.224.in-addr.arpa. 1/3/5 1.0.0.224.in-addr.arpa. PTR ALL-SYSTEMS.MCAST.NET. ns: 224.in-addr.arpa. NS nic.near.NET., 224.in-addr.arpa. NS strul.stupi.se., 224.in-addr.arpa. NS flag.ep.NET. ar: flag.ep.NET. A flag.ip4.int, nic.near.NET. A pscgate.progress.com, strul.stupi.se. A Strul.Stupi.SE, strul.stupi.se. A Strul.Stupi.SE, strul.stupi.se. AAAA 2001:440:1880:1002::1 (240) 13:45:59.103698 IP (tos 0x0, ttl 64, id 40622, offset 0, flags [DF], proto UDP (17), length 70) 192.168.1.103.58245 > nst.tin.it.domain: [udp sum ok] 60433+ PTR? 13.4.32.198.in-addr.arpa. (42) 13:45:59.689435 arp who-has 192.168.1.100 tell 192.168.1.254 13:46:02.821471 arp who-has 192.168.1.100 tell 192.168.1.254 13:46:03.819362 arp who-has 192.168.1.100 tell 192.168.1.254 13:46:04.112221 IP (tos 0x0, ttl 64, id 41874, offset 0, flags [DF], proto UDP (17), length 70) 192.168.1.103.45661 > dns-tin.virgilio.net.domain: [udp sum ok] 60433+ PTR? 13.4.32.198.in-addr.arpa. (42) 13:46:04.819336 arp who-has 192.168.1.100 tell 192.168.1.254 13:46:05.802866 IP6 (hlim 1, next-header Options (0) payload length: 36) :: > ff02::16: HBH (rtalert: 0x0000) (padn)[icmp6 sum ok] ICMP6, multicast listener report v2, length 28, 1 group record(s) [gaddr ff02::1:ff14:4841 to_ex { }] 13:46:05.820787 arp who-has 192.168.1.100 tell 192.168.1.254 13:46:05.987035 IP (tos 0x0, ttl 51, id 21548, offset 0, flags [none], proto TCP (6), length 105) mu-in-f18.1e100.net.https > 192.168.1.103.51438: P, cksum 0x7d30 (correct), 3312971843:3312971896(53) ack 1044044669 win 416 <nop,nop,timestamp 2037197290 4294937073> 13:46:05.987076 IP (tos 0x0, ttl 64, id 36270, offset 0, flags [DF], proto TCP (6), length 52) 192.168.1.103.51438 > mu-in-f18.1e100.net.https: ., cksum 0x773f (correct), 1:1(0) ack 53 win 501 <nop,nop,timestamp 4294944103 2037197290> 13:46:06.366894 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 24) :: > ff02::1:ff14:4841: [icmp6 sum ok] ICMP6, neighbor solicitation, length 24, who has fe80::216:3eff:fe14:4841 13:46:06.801912 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 576) 0.0.0.0.bootpc > 255.255.255.255.bootps: [no cksum] BOOTP/DHCP, Request from 00:16:3e:14:48:41 (oui Unknown), length 548, xid 0xfbd8e62c, Flags [none] (0x0000) Client-Ethernet-Address 00:16:3e:14:48:41 (oui Unknown) Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Request Server-ID Option 54, length 4: 127.0.255.255 Requested-IP Option 50, length 4: 255.255.255.255 Parameter-Request Option 55, length 8: Subnet-Mask, Default-Gateway, Domain-Name-Server, Hostname Domain-Name, RP, MTU, YD 13:46:06.819316 arp who-has 192.168.1.100 tell 192.168.1.254 13:46:07.366893 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 16) fe80::216:3eff:fe14:4841 > ff02::2: [icmp6 sum ok] ICMP6, router solicitation, length 16 source link-address option (1), length 8 (1): 00:16:3e:14:48:41 0x0000: 0016 3e14 4841 13:46:07.819280 arp who-has 192.168.1.100 tell 192.168.1.254 13:46:09.120203 IP (tos 0x0, ttl 64, id 40623, offset 0, flags [DF], proto UDP (17), length 70) 192.168.1.103.58245 > nst.tin.it.domain: [udp sum ok] 60433+ PTR? 13.4.32.198.in-addr.arpa. (42) 13:46:09.155953 IP (tos 0x0, ttl 54> Anyway, i would try to disable checksum offloading just for one DomU. Bad checksum > causes packet to be discarded at your router (ADSL modem).I don''t know how to do that, excuse me! :) Thank you, Flavio _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Flavio
2009-Nov-22 20:35 UTC
Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..."
Could it be a bridging problem??? Flavio _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2009-Nov-22 20:48 UTC
Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..."
Please, post # brctl show and profile''s vif= [''bridge = ?'' ] Boris. --- On Sun, 11/22/09, Flavio <fbcyborg@gmail.com> wrote: From: Flavio <fbcyborg@gmail.com> Subject: Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..." To: Cc: xen-users@lists.xensource.com Date: Sunday, November 22, 2009, 3:35 PM Could it be a bridging problem??? Flavio _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Flavio
2009-Nov-22 21:00 UTC
Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..."
Thank you Boris, 2009/11/22 Boris Derzhavets <bderzhavets@yahoo.com>> > Please, post > > # brctl show# brctl show bridge name bridge id STP enabled interfaces xenbr0 8000.00609720464b no eth0> > and profile''s > > vif= [''bridge = ?'' ]vif = [''bridge=xenbr0''] is in all configuration files. Flavio _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2009-Nov-22 21:09 UTC
Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..."
Looks like Xen 3.1 in Xen 3.2 and higher eth0 .............. peth0 or manual bridge set up. Just very simple question. If you assign static IP to DomU ( from corresponding subnet) can you ping Dom0 ? B. --- On Sun, 11/22/09, Flavio <fbcyborg@gmail.com> wrote: From: Flavio <fbcyborg@gmail.com> Subject: Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..." To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: xen-users@lists.xensource.com Date: Sunday, November 22, 2009, 4:00 PM Thank you Boris, 2009/11/22 Boris Derzhavets <bderzhavets@yahoo.com>> > Please, post > > # brctl show# brctl show bridge name bridge id STP enabled interfaces xenbr0 8000.00609720464b no eth0> > and profile''s > > vif= [''bridge = ?'' ]vif = [''bridge=xenbr0''] is in all configuration files. Flavio _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Flavio
2009-Nov-22 21:15 UTC
Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..."
2009/11/22 Boris Derzhavets <bderzhavets@yahoo.com>> > Looks like Xen 3.1 in Xen 3.2 and higher > eth0 .............. peth0 > or manual bridge set up.Yes, I set up a bridge manually. config_eth0=( "null" ) bridge_xenbr0="eth0" brctl_xenbr0=( "setfd 0" "stp off" ) config_xenbr0=( "dhcp" )> Just very simple question. > If you assign static IP to DomU ( from corresponding subnet) can you ping Dom0 ?I can tell you something more: if I let the machine (for example debian lenny) continue the boot process after the "Senting DHCP request ...", after few minutes, it goes ahead and I get the login prompt. Futhermore, after the login i type: dhclient eth0 and all perfectly works. eth0 gets an IP address and can ping the host system as well. A strange fact happens: if I try to boot a gentoo domU, it never goes ahead and the login prompt never come, but let''s solve the problem on debian lenny as domU. Thanks, F. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2009-Nov-22 21:37 UTC
Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..."
I used to set up bridge manually on Ubuntu Servers ( > 8.10) Comment out all xen-bridge declarations in /etc/xen/xend-config.sxp and manually edit /etc/network/interfaces as follows root@IntrepidSRV:~# 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 auto eth1 iface eth1 inet dhcp # Bridge definied auto xenbr0 iface xenbr0 inet static address 192.168.1.45 network 192.168.0.0 netmask 255.255.255.0 broadcast 192.168.1.255 gateway 192.168.1.1 bridge_ports eth1 bridge_fd 9 bridge_hello 2 bridge_maxage 12 bridge_stp off Boris --- On Sun, 11/22/09, Flavio <fbcyborg@gmail.com> wrote: From: Flavio <fbcyborg@gmail.com> Subject: Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..." To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: xen-users@lists.xensource.com Date: Sunday, November 22, 2009, 4:15 PM 2009/11/22 Boris Derzhavets <bderzhavets@yahoo.com>> > Looks like Xen 3.1 in Xen 3.2 and higher > eth0 .............. peth0 > or manual bridge set up.Yes, I set up a bridge manually. config_eth0=( "null" ) bridge_xenbr0="eth0" brctl_xenbr0=( "setfd 0" "stp off" ) config_xenbr0=( "dhcp" )> Just very simple question. > If you assign static IP to DomU ( from corresponding subnet) can you ping Dom0 ?I can tell you something more: if I let the machine (for example debian lenny) continue the boot process after the "Senting DHCP request ...", after few minutes, it goes ahead and I get the login prompt. Futhermore, after the login i type: dhclient eth0 and all perfectly works. eth0 gets an IP address and can ping the host system as well. A strange fact happens: if I try to boot a gentoo domU, it never goes ahead and the login prompt never come, but let''s solve the problem on debian lenny as domU. Thanks, F. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Flavio
2009-Nov-22 21:46 UTC
Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..."
Gentoo Linux network config file is a little bit different, but before to modify something there, I guess there''s something other to check, since this network configuration has always worked for me. F. 2009/11/22 Boris Derzhavets <bderzhavets@yahoo.com>> > I used to set up bridge manually on Ubuntu Servers ( > 8.10) > > Comment out all xen-bridge declarations in /etc/xen/xend-config.sxp > and manually edit /etc/network/interfaces as follows > > root@IntrepidSRV:~# 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 > auto eth1 > iface eth1 inet dhcp > # Bridge definied > auto xenbr0 > iface xenbr0 inet static > address 192.168.1.45 > network 192.168.0.0 > netmask 255.255.255.0 > broadcast 192.168.1.255 > gateway 192.168.1.1 > bridge_ports eth1 > bridge_fd 9 > bridge_hello 2 > bridge_maxage 12 > bridge_stp off > > Boris > > --- On Sun, 11/22/09, Flavio <fbcyborg@gmail.com> wrote: > > From: Flavio <fbcyborg@gmail.com> > Subject: Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..." > To: "Boris Derzhavets" <bderzhavets@yahoo.com> > Cc: xen-users@lists.xensource.com > Date: Sunday, November 22, 2009, 4:15 PM > > 2009/11/22 Boris Derzhavets <bderzhavets@yahoo.com> > > > > Looks like Xen 3.1 in Xen 3.2 and higher > > eth0 .............. peth0 > > or manual bridge set up. > Yes, I set up a bridge manually. > > config_eth0=( "null" ) > > bridge_xenbr0="eth0" > > brctl_xenbr0=( > "setfd 0" > "stp off" > ) > > config_xenbr0=( > "dhcp" > ) > > > > Just very simple question. > > If you assign static IP to DomU ( from corresponding subnet) can you ping Dom0 ? > I can tell you something more: if I let the machine (for example > debian lenny) continue the > boot process after the "Senting DHCP request ...", after few minutes, > it goes ahead and > I get the login prompt. Futhermore, after the login i type: > dhclient eth0 > and all perfectly works. eth0 gets an IP address and can ping the host > system as well. > > A strange fact happens: if I try to boot a gentoo domU, it never goes > ahead and the > login prompt never come, but let''s solve the problem on debian lenny as domU. > > Thanks, > > F. > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Flavio
2009-Nov-24 13:25 UTC
Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..."
No more ideas? F. 2009/11/22 Flavio <fbcyborg@gmail.com>:> Gentoo Linux network config file is a little bit different, but > before to modify something there, I guess there''s something > other to check, since this network configuration has always worked > for me. > > F. > > 2009/11/22 Boris Derzhavets <bderzhavets@yahoo.com> >> >> I used to set up bridge manually on Ubuntu Servers ( > 8.10) >> >> Comment out all xen-bridge declarations in /etc/xen/xend-config.sxp >> and manually edit /etc/network/interfaces as follows >> >> root@IntrepidSRV:~# 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 >> auto eth1 >> iface eth1 inet dhcp >> # Bridge definied >> auto xenbr0 >> iface xenbr0 inet static >> address 192.168.1.45 >> network 192.168.0.0 >> netmask 255.255.255.0 >> broadcast 192.168.1.255 >> gateway 192.168.1.1 >> bridge_ports eth1 >> bridge_fd 9 >> bridge_hello 2 >> bridge_maxage 12 >> bridge_stp off >> >> Boris >> >> --- On Sun, 11/22/09, Flavio <fbcyborg@gmail.com> wrote: >> >> From: Flavio <fbcyborg@gmail.com> >> Subject: Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..." >> To: "Boris Derzhavets" <bderzhavets@yahoo.com> >> Cc: xen-users@lists.xensource.com >> Date: Sunday, November 22, 2009, 4:15 PM >> >> 2009/11/22 Boris Derzhavets <bderzhavets@yahoo.com> >> > >> > Looks like Xen 3.1 in Xen 3.2 and higher >> > eth0 .............. peth0 >> > or manual bridge set up. >> Yes, I set up a bridge manually. >> >> config_eth0=( "null" ) >> >> bridge_xenbr0="eth0" >> >> brctl_xenbr0=( >> "setfd 0" >> "stp off" >> ) >> >> config_xenbr0=( >> "dhcp" >> ) >> >> >> > Just very simple question. >> > If you assign static IP to DomU ( from corresponding subnet) can you ping Dom0 ? >> I can tell you something more: if I let the machine (for example >> debian lenny) continue the >> boot process after the "Senting DHCP request ...", after few minutes, >> it goes ahead and >> I get the login prompt. Futhermore, after the login i type: >> dhclient eth0 >> and all perfectly works. eth0 gets an IP address and can ping the host >> system as well. >> >> A strange fact happens: if I try to boot a gentoo domU, it never goes >> ahead and the >> login prompt never come, but let''s solve the problem on debian lenny as domU. >> >> Thanks, >> >> F. >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2009-Nov-24 14:33 UTC
Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..."
>> Comment out all xen-bridge declarations in /etc/xen/xend-config.sxp >> and manually edit /etc/network/interfaces as followsIf this is done. It''s network issue. Xen has nothing to do with DHCP bridge. Boris. --- On Tue, 11/24/09, Flavio <fbcyborg@gmail.com> wrote: From: Flavio <fbcyborg@gmail.com> Subject: Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..." To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: xen-users@lists.xensource.com Date: Tuesday, November 24, 2009, 8:25 AM No more ideas? F. 2009/11/22 Flavio <fbcyborg@gmail.com>:> Gentoo Linux network config file is a little bit different, but > before to modify something there, I guess there''s something > other to check, since this network configuration has always worked > for me. > > F. > > 2009/11/22 Boris Derzhavets <bderzhavets@yahoo.com> >> >> I used to set up bridge manually on Ubuntu Servers ( > 8.10) >> >> Comment out all xen-bridge declarations in /etc/xen/xend-config.sxp >> and manually edit /etc/network/interfaces as follows >> >> root@IntrepidSRV:~# 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 >> auto eth1 >> iface eth1 inet dhcp >> # Bridge definied >> auto xenbr0 >> iface xenbr0 inet static >> address 192.168.1.45 >> network 192.168.0.0 >> netmask 255.255.255.0 >> broadcast 192.168.1.255 >> gateway 192.168.1.1 >> bridge_ports eth1 >> bridge_fd 9 >> bridge_hello 2 >> bridge_maxage 12 >> bridge_stp off >> >> Boris >> >> --- On Sun, 11/22/09, Flavio <fbcyborg@gmail.com> wrote: >> >> From: Flavio <fbcyborg@gmail.com> >> Subject: Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..." >> To: "Boris Derzhavets" <bderzhavets@yahoo.com> >> Cc: xen-users@lists.xensource.com >> Date: Sunday, November 22, 2009, 4:15 PM >> >> 2009/11/22 Boris Derzhavets <bderzhavets@yahoo.com> >> > >> > Looks like Xen 3.1 in Xen 3.2 and higher >> > eth0 .............. peth0 >> > or manual bridge set up. >> Yes, I set up a bridge manually. >> >> config_eth0=( "null" ) >> >> bridge_xenbr0="eth0" >> >> brctl_xenbr0=( >> "setfd 0" >> "stp off" >> ) >> >> config_xenbr0=( >> "dhcp" >> ) >> >> >> > Just very simple question. >> > If you assign static IP to DomU ( from corresponding subnet) can you ping Dom0 ? >> I can tell you something more: if I let the machine (for example >> debian lenny) continue the >> boot process after the "Senting DHCP request ...", after few minutes, >> it goes ahead and >> I get the login prompt. Futhermore, after the login i type: >> dhclient eth0 >> and all perfectly works. eth0 gets an IP address and can ping the host >> system as well. >> >> A strange fact happens: if I try to boot a gentoo domU, it never goes >> ahead and the >> login prompt never come, but let''s solve the problem on debian lenny as domU. >> >> Thanks, >> >> F. >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Flavio
2009-Nov-24 16:14 UTC
Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..."
This is my /etc/xen/xend-config.sxp file: (xend-http-server yes) (xend-relocation-server yes) (xend-port 8000) (xend-address localhost) (xend-relocation-hosts-allow ''^localhost$ ^localhost\\.localdomain$'') (network-script network-bridge) (vif-script vif-bridge) (dom0-min-mem 196) (enable-dom0-ballooning yes) (dom0-cpus 0) (vncpasswd '''') I tried comment out the (vif-script vif-bridge) and the (network-script network-bridge) rows, even though I don''t understand why, since, I configure a bridge in the net config file... But let me understand what to modify exactly. The /etc/conf.d/net is the corresponding /etc/network/interfaces file on Gentoo. At the moment this is the content of that file: config_eth0=( "null" ) bridge_xenbr0="eth0" brctl_xenbr0=( "setfd 0" "stp off" ) config_xenbr0=( "dhcp" ) If I understand correctly, you want me to correct the net file:> > # 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 loopbackOk, this is not necessary in Gentoo..> # The primary network interface > auto eth1 > iface eth1 inet dhcp#eth0 is the primary network interface config_eth0=( "dhcp" )> # Bridge definied > auto xenbr0 > iface xenbr0 inet static > address 192.168.1.45 > network 192.168.0.0 > netmask 255.255.255.0 > broadcast 192.168.1.255 > gateway 192.168.1.1config_xenbr0=( "192.168.1.105 netmask 255.255.255.0 brd 192.168.1.255" ) routes_xenbr0=( "default via 192.168.1.254" )> bridge_ports eth1bridge_xenbr0="eth0"> bridge_fd 9 > bridge_hello 2 > bridge_maxage 12 > bridge_stp offbrctl_xenbr0=( "sethello 2" "setfd 9" "stp off" ) So the (new) resulting config file is: config_eth0=( "dhcp" ) config_xenbr0=( "192.168.1.105 netmask 255.255.255.0 brd 192.168.1.255" ) routes_xenbr0=( "default via 192.168.1.254" ) bridge_xenbr0="eth0" brctl_xenbr0=( "sethello 2" "setfd 9" "stp off" ) But the only interface that is automatically coming up is eth0. Once i start the VM, I get the following error: Error: Device 0 (vif) could not be connected. Could not find bridge device xenbr0 (Of course!) But if I start the xenbr0 interface (/etc/init.d/xenbr0 start) and start the VM again, it still freezes on: "[ 4.438022] Sending DHCP requests ..." And the Internet connection is not longer working (need to stop xenbr0). Still the same problem... I don''t really understand why to change the network configuration, since it worked up to few weeks ago. I didn''t change anything and I didn''t update any package. The only new installation is virt-manager, but it was warking too, before. Thank you, Flavio _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Flavio
2009-Nov-24 16:28 UTC
Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..."
Maybe I found where the problem is!!!!! If I delete the virtual machine from the xen store and I try to do xm create /path/to/config/file.cfg -c I don''t have that problem anymore. It can boot without any problem, and it doesn''t freeze on DHCP request. So the solution is: xm delete domain xm new domain And it boots again without any problem. But this is so strange to me. Why it happens? F. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2009-Nov-24 16:39 UTC
Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..."
> And the Internet connection is not longer working (need to stop xenbr0).That''s a fair i believe. DHCP bridge setup ( network setup) is incorrect. Sorry, i have no any idea what Gentoo is. When internet will be up, comment out :- # (network-script network-bridge) and your DomUs will succeed with DHCPDISCOVER. Boris. --- On Tue, 11/24/09, Flavio <fbcyborg@gmail.com> wrote: From: Flavio <fbcyborg@gmail.com> Subject: Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..." To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: xen-users@lists.xensource.com Date: Tuesday, November 24, 2009, 11:14 AM This is my /etc/xen/xend-config.sxp file: (xend-http-server yes) (xend-relocation-server yes) (xend-port 8000) (xend-address localhost) (xend-relocation-hosts-allow ''^localhost$ ^localhost\\.localdomain$'') (network-script network-bridge) (vif-script vif-bridge) (dom0-min-mem 196) (enable-dom0-ballooning yes) (dom0-cpus 0) (vncpasswd '''') I tried comment out the (vif-script vif-bridge) and the (network-script network-bridge) rows, even though I don''t understand why, since, I configure a bridge in the net config file... But let me understand what to modify exactly. The /etc/conf.d/net is the corresponding /etc/network/interfaces file on Gentoo. At the moment this is the content of that file: config_eth0=( "null" ) bridge_xenbr0="eth0" brctl_xenbr0=( "setfd 0" "stp off" ) config_xenbr0=( "dhcp" ) If I understand correctly, you want me to correct the net file:> > # 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 loopbackOk, this is not necessary in Gentoo..> # The primary network interface > auto eth1 > iface eth1 inet dhcp#eth0 is the primary network interface config_eth0=( "dhcp" )> # Bridge definied > auto xenbr0 > iface xenbr0 inet static > address 192.168.1.45 > network 192.168.0.0 > netmask 255.255.255.0 > broadcast 192.168.1.255 > gateway 192.168.1.1config_xenbr0=( "192.168.1.105 netmask 255.255.255.0 brd 192.168.1.255" ) routes_xenbr0=( "default via 192.168.1.254" )> bridge_ports eth1bridge_xenbr0="eth0"> bridge_fd 9 > bridge_hello 2 > bridge_maxage 12 > bridge_stp offbrctl_xenbr0=( "sethello 2" "setfd 9" "stp off" ) So the (new) resulting config file is: config_eth0=( "dhcp" ) config_xenbr0=( "192.168.1.105 netmask 255.255.255.0 brd 192.168.1.255" ) routes_xenbr0=( "default via 192.168.1.254" ) bridge_xenbr0="eth0" brctl_xenbr0=( "sethello 2" "setfd 9" "stp off" ) But the only interface that is automatically coming up is eth0. Once i start the VM, I get the following error: Error: Device 0 (vif) could not be connected. Could not find bridge device xenbr0 (Of course!) But if I start the xenbr0 interface (/etc/init.d/xenbr0 start) and start the VM again, it still freezes on: "[ 4.438022] Sending DHCP requests ..." And the Internet connection is not longer working (need to stop xenbr0). Still the same problem... I don''t really understand why to change the network configuration, since it worked up to few weeks ago. I didn''t change anything and I didn''t update any package. The only new installation is virt-manager, but it was warking too, before. Thank you, Flavio _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Flavio
2009-Nov-24 16:44 UTC
Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..."
I don''t know if you read my last message, but I re-enabled the bridge options in the xend-config.spx and all went OK. So I don''t think my network settings are not correct. F. 2009/11/24 Boris Derzhavets <bderzhavets@yahoo.com>> > > And the Internet connection is not longer working (need to stop xenbr0). > > That''s a fair i believe. DHCP bridge setup ( network setup) is incorrect. > Sorry, i have no any idea what Gentoo is. When internet will be up, > comment out :- > # (network-script network-bridge) > and your DomUs will succeed with DHCPDISCOVER. >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2009-Nov-24 18:02 UTC
Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..."
And removed network DHCP bridge configuration , right ? --- On Tue, 11/24/09, Flavio <fbcyborg@gmail.com> wrote: From: Flavio <fbcyborg@gmail.com> Subject: Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..." To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: xen-users@lists.xensource.com Date: Tuesday, November 24, 2009, 11:44 AM I don''t know if you read my last message, but I re-enabled the bridge options in the xend-config.spx and all went OK. So I don''t think my network settings are not correct. F. 2009/11/24 Boris Derzhavets <bderzhavets@yahoo.com>> > > And the Internet connection is not longer working (need to stop xenbr0). > > That''s a fair i believe. DHCP bridge setup ( network setup) is incorrect. > Sorry, i have no any idea what Gentoo is. When internet will be up, > comment out :- > # (network-script network-bridge) > and your DomUs will succeed with DHCPDISCOVER. >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Flavio
2009-Nov-24 18:08 UTC
Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..."
2009/11/24 Boris Derzhavets <bderzhavets@yahoo.com>> > And removed network DHCP bridge configuration , right ?No!!! I didn''t remove any bridge configuration in /etc/conf.d/net. I know what you mean, but if I don''t write xenbr0 configuration, it doesn''t work on gentoo. I have to set up bridging manually, because peth0 bridges gave me problems. F.> > --- On Tue, 11/24/09, Flavio <fbcyborg@gmail.com> wrote: > > From: Flavio <fbcyborg@gmail.com> > Subject: Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..." > To: "Boris Derzhavets" <bderzhavets@yahoo.com> > Cc: xen-users@lists.xensource.com > Date: Tuesday, November 24, 2009, 11:44 AM > > I don''t know if you read my last message, but I re-enabled the > bridge options in the xend-config.spx and all went OK. > So I don''t think my network settings are not correct. > > F. > > > 2009/11/24 Boris Derzhavets <bderzhavets@yahoo.com> > > > > > And the Internet connection is not longer working (need to stop xenbr0). > > > > That''s a fair i believe. DHCP bridge setup ( network setup) is incorrect. > > Sorry, i have no any idea what Gentoo is. When internet will be up, > > comment out :- > > # (network-script network-bridge) > > and your DomUs will succeed with DHCPDISCOVER. > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users