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/
Home Products Support Community News


Re: [Xen-users] Re: problems with xen installation

To: Fernando Maior <fernando.souto.maior@xxxxxxxxx>
Subject: Re: [Xen-users] Re: problems with xen installation
From: Anand <xen.mails@xxxxxxxxx>
Date: Thu, 29 Dec 2005 22:38:48 +0530
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 29 Dec 2005 17:13:10 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=FHzZUwKLE0K54oO18D7hZ+AQHsXjbGj0aoyvVvQOjIj/Vtgh0cQLPXTYTTD9o657ZrJ+GxyRVzFab796z7fY6TmPiFxmam1pAlmGw2XZdl3pYleC3gvMaP6rcaVYmU6wqX040tOWO/MKD4lACyxzl6sP6lhsquSAIgL4Vf0da9E=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <6a7b2d540512290856m7f0a774h8e132104050891ef@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <acb757c00512290607u7e6f5174r58faf1179ae390b4@xxxxxxxxxxxxxx> <acb757c00512290643r23725fb2n16d78a9fec022619@xxxxxxxxxxxxxx> <acb757c00512290818k3cb2c5eei81b9919c0b0e2d7@xxxxxxxxxxxxxx> <6a7b2d540512290856m7f0a774h8e132104050891ef@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Dear Fernando,

Thanks for the reply.

The reason why i am interested in those directives because we want to deploy several domains in an automated fashion. Everytime doing network config inside each domain will be time consuming hence i thought these directives could be used to do the configuration part.

Any other ideas on how this can be automated ?

On 12/29/05, Fernando Maior <fernando.souto.maior@xxxxxxxxx > wrote:
On 12/29/05, Anand <xen.mails@xxxxxxxxx > wrote:
> Ok i finally got domain1 working with the centos image. It was a stupid
> typo.
> Now i modified the cfg file so i can supply the ip, netmask, gateway and
> hostname to the image. Here is the modified cfg file:
> kernel = "/boot/vmlinuz- 2.6-xen"
> memory = 128
> name = "centos.4-2"
> nics = 1
> ip=""
> netmask=""
> gateway=""
> hostname="xentest1"
> extra="selinux=0"
> #dhcp = "dhcp"
> disk = ['file:/root/xen/centos.4-2.img,sda1,w',
> 'file:/root/xen/centos.swap,sda2,w']
> root = "/dev/sda1 ro"

Hi Anand,

Just do not use the directives "ip", "netmask", "gateway" and "hostname"
at all. Try configuring network inside your domain. It runs. It is logically
correct. It is easy. Remember, the domain do not know how to configure
every network interface, if you do not tell him.

I have not proof on that, but I believe those directives are for the network
interface OUT of the domain, not IN the domain. So, the domain remains
without any configuration for an interface.

Last but not least, try understand Xen as a real network with real hosts,
configure your host as they were real ones.

Fernando Maior

Xen-users mailing list