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] Not able to assing static IP to domU

To: Tait Clarridge <Tait.Clarridge@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Not able to assing static IP to domU
From: Meghanand Acharekar <vasco.debian@xxxxxxxxx>
Date: Thu, 29 Jan 2009 11:09:18 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 28 Jan 2009 21:40:15 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=iPBydHq7eMxBC/Ui2Xpvkrp7G8BWxl6oc95pDlSZcAk=; b=Lw3cjNGF3sClFwIdOOxXBrkktSpwxG/BLcFkvDUVEwNMBgRcpAKOkDmk5YUMmnDQ1A kGajDphLWowNFB+L3vZqhPtXzRtnmPavPHYsEyMPVFOd7wC5j2jLINrg5zCTZpCfpdVp T1ji0HT6i6b6UIdIW9W0nmycNE5TBZq586iBs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=gyBK3l5wD8WQg1s56H3twOCEN0KNLBNRPSFB6Qo7hMvkf86lT5fM4MdZxi8jSLEv4+ lSeoEzzLwgqigjxtiL3HtEp4HahbghvTpPshAtRPW+f2EGzGa21KoTZusNuDnXtZ2Na+ XqAh/tcif1G7HNvt8abDZaPa3lyLLhg0V61x4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <EBEEB3C8FBD6B0448AEDF986B303BEB60ED88292@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <90f2ab800901272245we143a25mcd30a4ac725e90c9@xxxxxxxxxxxxxx> <EBEEB3C8FBD6B0448AEDF986B303BEB60ED88292@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello Tait,

2009/1/28 Tait Clarridge <Tait.Clarridge@xxxxxxxxxxxx>
Hello,

What I do is pass the mac address in the config file after I boot up the domU and do an ifconfig ethX.

I need to check this out, currently I commented the HWADDR= line.
 
Then I make sure the HWADDR= line in the /etc/sysconfig/network-scripts/ifcfg-ethX is what ifconfig tells me for that interface.

For the domU config file it should be :

vif= ['bridge=bridgeInterface,mac=xx:xx:xx:xx:xx:xx']

for the networking interface line.

The reason behind this is that (I think) Xen assigns random MAC addresses when the domU is started.. but others will have to verify that.

Let me try ...

Best,
Tait




From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Meghanand Acharekar
Sent: Wednesday, January 28, 2009 1:46 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Not able to assing static IP to domU

Hi,

I am quite new to XEN :) ,
I have installed XEN on RHEL5.3 server (dom0 is RHEL5) having ip address say 123.234.1.11
After I installed domU on which is also RHEL5 server, assigned ip address 123.243.2.1.12
After rebooting domU the static address is automatically wiped out, found it was searching for DHCP, also the n/w configuration file
i.e. ifcfg-eth0 PROTOCOL is set to dhcp,
The static address works fine when manually assigned but after every reboot it automatically replaces with DHCP.

No able to figure out the reason behind this


--
Thanks & Regards,

Meghanand N. Acharekar
" A proud Linux User "
Reg Linux User  #397975
------------------------------------------
I was born free! No Gates and Windows can restrict my Freedom !!!





--
Regards,
मेघानंद नं. आचरेकर
Meghanand N. Acharekar
" A proud Linux User "
Reg Linux User  #397975
------------------------------------------
I was born free! No Gates and Windows can restrict my Freedom !!!


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>