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

RE: [Xen-users] FW: [Fedora-xen] Multiple Xens with static IP addresses


  • To: Mito <mito@xxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Maxim Rozin <maxim@xxxxxxxxxxxxxxxxxx>
  • Date: Thu, 15 Jun 2006 10:12:50 +0200
  • Delivery-date: Thu, 15 Jun 2006 00:17:03 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcaP+OaXYUD6TZ5fRZO6BA8xbN88JAAInEngAA3QgkA=
  • Thread-topic: [Xen-users] FW: [Fedora-xen] Multiple Xens with static IP addresses

Another option is to set a static mac address to each vm using this statement:

vif = [ 'mac=00:16:3E:6C:54:FE, bridge=xenbr0' ]

And to set up a dhcp server that assigns static ip address to each vm (according to the mac address, which does't change).

 

Maxim Rozin

BenefIT-technologies

Mobile: +972-54-5409444

Tel: +972-3-9238888

 


From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Mito
Sent: Thursday, June 15, 2006 3:32 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] FW: [Fedora-xen] Multiple Xens with static IP addresses

 

Forwarded to the list as was apparently intended by the sender (he had replied to just me)

 


From: Chris Vaughan [mailto:supercomputer@xxxxxxxxx]
Sent: Wednesday, June 14, 2006 5:24 PM
To: Mito
Subject: Re: [Fedora-xen] Multiple Xens with static IP addresses

 

I found some more info it appears you can use ipaddr to specify the ip but CONFIG_IP_PNP needs to be compiled into the kernel. http://lists.xensource.com/archives/html/xen-users/2005-06/msg00131.html  

Is this something that could be added to future releases of the xen kernel rpm? 

Thanks

On 6/13/06, Mito wrote:

I've ran into this problem a few times, and was able to fix it once (but regrettably I don't remember the details, maybe someone else here who knows more could fill in the blanks better).

 

Anyways, in my case, I was able to assign IP addresses via the xen config file for a while, and then it stopped working at some point.  I found out that if you remove all knowledge that the domU has about an IP address, then it will take the one from the xen config.  Something like that at leastâ as I said, I've ran into this problem multiple times, but only been able to fix it once.

 

 

 


From: fedora-xen-bounces@xxxxxxxxxx [mailto: fedora-xen-bounces@xxxxxxxxxx] On Behalf Of Chris Vaughan
Sent: Tuesday, June 13, 2006 6:08 PM
To: Fedora-xen@xxxxxxxxxx
Subject: [Fedora-xen] Multiple Xens with static IP addresses

 

I am wanting to boot multiple xen images but I was wondering if there is an easier way to set it's ip address than mounting the image and editing /etc/sysconfig/network-scripts/ifcfg-eth0 every time.

I've tried putting this in my xen.cfg file vif=['192.168.0.3'] and it doesn't appear to do anything.  Is this the correct way to boot a xen image and assign it a static ip address?

Thanks,

--
------------------------------
Christopher Vaughan




--
------------------------------
Christopher Vaughan

_______________________________________________
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®.