[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..."


  • To: Flavio <fbcyborg@xxxxxxxxx>
  • From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
  • Date: Sun, 22 Nov 2009 13:37:14 -0800 (PST)
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sun, 22 Nov 2009 13:38:02 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=e+3N1FN5ji7fowFyly9ceohXFPav7YwjLxxhf+9zm8e00NjproQXs7vrnAmk3dOSDaS09i5DMviWh+QsgZxnA7+h0rlMv+Smj/Hkkp1vt5YQoMoxhJJ/YVKEzCxEai/2Mcfp9YpBba9XCcXPCe3kXYTEW9LJVcros+Ub+K7GEeM=;
  • List-id: Xen user discussion <xen-users.lists.xensource.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@xxxxxxxxx> wrote:

From: Flavio <fbcyborg@xxxxxxxxx>
Subject: Re: [Xen-users] Re: Guests stops at "Sending DHCP requests ..."
To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Sunday, November 22, 2009, 4:15 PM

2009/11/22 Boris Derzhavets <bderzhavets@xxxxxxxxx>
>
> 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.