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] assign ip address to a domU

To: Luca <lucarx76@xxxxxxxxx>
Subject: Re: [Xen-users] assign ip address to a domU
From: "Todd Deshane" <deshantm@xxxxxxxxx>
Date: Thu, 2 Oct 2008 20:21:57 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 02 Oct 2008 17:22:35 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=WOJUYTPzUeeGhFZsoi1NkOZHhhdwW6oDleLtH3HcI18=; b=ozt5zeHxkc779WntpcgpSGy3aP66jh5NXBuCdBkuLNvjgndLq15+89gAsBtz5VZS77 GYyGJgqDMWeykkDC1eqewvBbDdQalaRfBCImgOaJw2brbH3E2BC6QvibiG1RslOvnn1x q6yQEykRFrNHiUwAEBpHuHRwsx7u9VQpsfzak=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references; b=J+if9lizTR1ybaB+IPTMWYjHZqJfpe7O+cRk/esl4ZWoFMVV5mPE/KA5c8io/rC/JK mzXifx9tUTtY6WkVz7bjxAgKWfn7JIUSgCHFFVRDdwU2O4Q8BZ3Tht4QsogzJnzc1AIZ /KrR1QRp0Crb60H5RMbYc3kW/ewowjE3HpfvU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <3d87aabd0810021232o65a31122vc72546a018b562c4@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/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: <3d87aabd0810021232o65a31122vc72546a018b562c4@xxxxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, Oct 2, 2008 at 3:32 PM, Luca <lucarx76@xxxxxxxxx> wrote:
> Hi all,
>  I would like to assign an IP address (with netmask and default
> gateway) to a domU using its configuration file.
> When the domU starts, it does not have any IP address (I'm able to set
> only the mac address through the configuration file)
>
> Here is my configuration file
> ...
> vif=[ 'mac=xx.xx.xx.xx.xx.xx, ip=y.y.y.y' ]
> ip="y.y.y.y"
> netmask="255.255.255.0"
> gateway="z.z.z.z"
> ....
>
>
> Does anyone know what I'm doing wrong?
>

Make sure:
CONFIG_IP_PNP

is set in your kernel config.

See 
http://xen.markmail.org/search/?q=IP%20PNP#query:IP%20PNP+page:1+mid:h456qfn7xq4xefhc+state:results

Cheers,
Todd

-- 
Todd Deshane
http://todddeshane.net
check out our book: http://runningxen.com

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

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