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

Re: [Xen-users] static IP config


  • To: xen-users@xxxxxxxxxxxxx
  • From: Jan Hejl <jh@xxxxxxxxxx>
  • Date: Tue, 14 May 2013 14:47:13 +0200
  • Delivery-date: Tue, 14 May 2013 12:49:45 +0000
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=excello.cz; h=message-id :date:from:mime-version:to:subject:references:in-reply-to :content-type; q=dns; s=default; b=XFlCJg4cAwsnrvJJC11Qu17iNTKrZ p0+jA5fczOA5o1W0/cV8UdnA/PMHjykQ3BLCiTtPFr3Hn8LvgxZAVjyxH6SDUzc+ dqX5zmEk/M0GlAuy785KgBXMieaXzCri4vr
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Hi Simon,

you should be able to set it up already. Your setup uses bridged networking with xenbr0 so if your dom0 is configured properly your domUs could communicate through this interface. You can delete "ip=10.0.0.101" from vif config line.

Jan

Dne 14.5.2013 14:30, Simon Jones napsal(a):
Hi folks,

I have a working Dom0 with a Windows and Debian host running, yay!  Iâm now looking to 
configure them with fixed IPs rather than DHCP as Iâll need this in production but 
struggling to find some docs so if anyone can point me to them that would be great.  
Hereâs my config file for the Debian host, but it still boots with a DHCP!

Thanks â


  #
# Configuration file for the Xen instance test-pv, created
# by xen-tools 4.3.1 on Wed May  8 16:44:02 2013.
#

#
#  Kernel + memory size
#


bootloader = '/usr/lib/xen-default/bin/pygrub'

vcpus       = '2'
memory      = '512'

#
#  Disk device(s).
#
root        = '/dev/xvda2 ro'
disk        = [
                   'phy:/dev/vg0/test-pv-disk,xvda2,w',
                   'phy:/dev/vg0/test-pv-swap,xvda1,w',
               ]


#
#  Physical volumes
#


#
#  Hostname
#
name        = 'test-pv'

#
#  Networking
#
# dhcp        = 'dhcp'
vif         = [ 'mac=00:16:3E:14:D8:42,bridge=xenbr0,ip=10.0.0.101' ]

#
#  Behaviour
#
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


Attachment: smime.p7s
Description: Elektronicky podpis S/MIME

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

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