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 network doesn't get IP

To: Jayesh Salvi <jayeshsalvi@xxxxxxxxx>
Subject: Re: [Xen-users] domU network doesn't get IP
From: Anand <xen.mails@xxxxxxxxx>
Date: Tue, 3 Jan 2006 00:16:48 +0530
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 02 Jan 2006 18:51:51 +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=dYD7fMJFiYD2jZn5kf7BEhth+zOfnB4IRutd++IzC30WZdToQmRjvaqbseX4JRpA5+lPhoasz369auX/HV7vuBUYpJWO2kzUPzorLtmWJBtk3qYgXwmm7Ft1Qmu4tGNuFUajKA1Hl/KbSXpz8xTsVSs0c2oOdwl9AScY3VIKu6s=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <871640aa0601021035m684cff0bk54e82f084eccc2e4@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: <871640aa0601020941h6861b505vb83c5c7ec1f73d59@xxxxxxxxxxxxxx> <acb757c00601020950x46f28b05ta280911964a2f62@xxxxxxxxxxxxxx> <871640aa0601021035m684cff0bk54e82f084eccc2e4@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Make sure your firewall is disabled. Disable selinux.

Manual configuration of eth0 can be done as follows:

ifconfig eth0 192.168.1.1 netmask 255.255.255.0

ifconfig eth0 up

Now try to ping the interface.

Which version of xen are you using ?

On 1/3/06, Jayesh Salvi < jayeshsalvi@xxxxxxxxx> wrote:
> Try to manually configure the eth0 inside domU and see if it helps.
Sorry, I don't know exactly how to do it. Could you elaborate on how to manually configure eth0?

Thanks for pointing out the custom mac address question.

Can anyone tell me about these error messages from xend-hotplug.log

xenstore-read: couldn't read path backend/vbd/5/777/physical
-device
xenstore-read: couldn't read path backend/vif/5/0/ip
xenstore-read: couldn't read path backend/vif/5/0/bridge
xenstore-read: couldn't read path backend/vbd/5/777/physical-device
[After I shutdown the domain I further get]
xenstore-read: couldn't read path backend/vif/5/0/ip
xenstore-read: couldn't read path backend/vif/5/0/bridge
interface vif5.0 does not exist!

I think "couldn't read path backend/vif/5/0/ip "  should really have to do with this IP problem. But I don't understand which path is this? Is it  a path somewhere on root file system?

On 1/3/06, Anand < xen.mails@xxxxxxxxx> wrote:
>I have started domU successfully. I am using the default xend-config.sxp, it uses >(network-script network-bridge). But my domU doesn't get any IP information, and it's >disconnected from dom0 and rest of the world.

Try to manually configure the eth0 inside domU and see if it helps.

>(Also I don't understand where the domU gets its MAC address 00:16:3E:56:79:71? Could >anyone explain that as well?)

You can setup a custom mac address by using the option vif = ['mac=FF:FE:00:18:98:FB, bridge=xenbr0'] inside the domU config file. Substitute the mac address after the mac= for the desired mac address.

--

regards,

Anand



--
Jayesh




--

regards,

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