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

Re: [Xen-users] Not able to assing static IP to domU


  • To: Tait Clarridge <Tait.Clarridge@xxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

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