|
|
|
|
|
|
|
|
|
|
xen-users
RE: [Xen-users] Not able to assing static IP to domU
Hello,
What I do is pass the mac address in the config file after I boot up the domU
and do an ifconfig ethX.
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.
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 !!!
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|