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

Re: [Xen-users] assign ip address to a domU


  • To: Luca <lucarx76@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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