WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] eth0 not getting an inet4 addr using DHCP

To: Digvijoy Chatterjee <digvijoy_chatterjee@xxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] eth0 not getting an inet4 addr using DHCP
From: "Dirk H. Schulz" <dirk.schulz@xxxxxxxxxxxxx>
Date: Fri, 19 Aug 2005 09:15:29 +0200
Delivery-date: Fri, 19 Aug 2005 07:13:41 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1124353016.4583.31.camel@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1124349352.4583.17.camel@xxxxxxxxxxxxxxxxxxxxx> <430436D4.8000405@xxxxxxxxxxxxx> <1124353016.4583.31.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716)
Digvijoy,

could you try the following: add a config line for the network interface to the config for each vm which contains a certain mac address and a certain bridge it is put onto.

The reason: DHCP has a timeout, and I suspect the timeout for the dhcp call is over before the network is up and the VM on the bridge. If you do not define a mac address, xen has to determine one (and to check if it not already in use) which costs some time.

Give it a try.

Dirk



Digvijoy Chatterjee schrieb:

configuration for VM1

kernel = "/boot/vmlinuz-2.6.11-1.1369_FC4xenU"
ramdisk = "/boot/initrd.img"
memory = 256
name = "VM1"
nics=1
disk = [ 'phy:hda2,hda2,w' ]
dhcp="dhcp"
root = "/dev/hda2 ro"
extra = "4 selinux=0"


configuration for VM2

kernel = "/boot/vmlinuz-2.6.11-1.1369_FC4xenU"
ramdisk = "/boot/initrd.img"
memory = 256
name = "VM2"
nics=1
disk = [ 'phy:hda1,hda1,w' ]
dhcp="dhcp"
root = "/dev/hda1 ro"
extra = "3 selinux=0"

The Domain-0 FC4 installation has been copied to /dev/hda1
and /dev/hda2 ,its purely an academic setup , all files on /dev/hda1 are
same as /dev/hda2 except say /etc/fstab..atleast network scripts r same.

Digz

On Thu, 2005-08-18 at 09:20 +0200, Dirk H. Schulz wrote:
Digvijoy Chatterjee schrieb:

I am running two DomUs (FC4) on a Xen0 kernel (2.6.12_1369)

both of them start up fine ,but VM1 is getting an inet 6 address and i
am not able to connect to that box remotely..
.VM2 however has a inet 4 address as you can see below,both use DHCP to
get an address for eth0


Can you post the configs of the vms?

Dirk


**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not to copy, disclose, or distribute this e-mail or its contents to any other 
person and any such actions are unlawful. This e-mail may contain viruses. 
Infosys has taken every reasonable precaution to minimize this risk, but is not 
liable for any damage you may sustain as a result of any virus in this e-mail. 
You should carry out your own virus checks before opening the e-mail or 
attachment. Infosys reserves the right to monitor and review the content of all 
messages sent to or from this e-mail address. Messages sent to or from this 
e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***


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