WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] domU Static IP

To: "Timothy Ficarra" <t.ficarra@xxxxxxxxx>
Subject: Re: [Xen-users] domU Static IP
From: "Ian Tobin" <itobin@xxxxxxxxxxxxx>
Date: Tue, 22 Dec 2009 22:15:03 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 22 Dec 2009 14:16:08 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <708516.60260.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <708516.60260.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcqDVEU1q2A7pjLiQ66NEUiVdQz/Qg==
Thread-topic: [Xen-users] domU Static IP
As far as I'm aware you don't set the ip in the config file anymore, just in the domU.

If the ip is resetting on reboot I'm guessing you not editing the right network conf file




Sent from my iPod

On 22 Dec 2009, at 22:05, "Timothy Ficarra" <t.ficarra@xxxxxxxxx> wrote:

I am running dom0 in Centos 5. I am trying to configure a static IP address, but so far any modifications I make to the domU configuration file do not take effect. Any changes I make to the network settings within domU are reset upon reboot. Other changes I make within the domU are persistent.

Here is the configuration file I'm using for xm create

name = "Mint"
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 256
vif = [ 'mac=00:16:3E:0F:C9:CB, ip=129.63.205.178, type=ioemu, bridge=xenbr1' ]
acpi = 1
apic = 1
#disk = [ 'file:/srv/xen/Mint.img,hda,w', 'file:/srv/xen/ Mint-8.iso,hdc:cdrom,r'
]
disk = [ 'file:/srv/xen/Mint.img,hda,w']
boot="dc"
sdl=0
vnc=1
vncconsole=1
vncpasswd=''
serial='pty'
usbdevice='tablet'
device_model='/usr/lib64/xen/bin/qemu-dm'
on_reboot='restart'
on_crash='restart'
dhcp = "off"
ip = "129.63.205.178"
netmask = "255.255.255.0"
gateway = "129.63.205.254"


Regards,
T Ficarra


     New Email addresses available on Yahoo!
Get the Email name you&#39;ve always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>