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

[Xen-users] static IP config


  • To: "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
  • From: Simon Jones <Simon@xxxxxxx>
  • Date: Tue, 14 May 2013 12:30:05 +0000
  • Accept-language: en-GB, en-US
  • Delivery-date: Tue, 14 May 2013 12:31:08 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>
  • Thread-index: Ac5Qnks5u626KWnBT7KL0r55cKdZJA==
  • Thread-topic: static IP config

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

 


Rackspace

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