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] help with xen instalolation on debion ecth

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] help with xen instalolation on debion ecth
From: Iñaki Baz Castillo <ibc@xxxxxxxxxxxx>
Date: Tue, 8 May 2007 12:52:53 +0200
Delivery-date: Tue, 08 May 2007 03:51:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4640516B.4080809@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>
Organization: Ilimit
References: <4640516B.4080809@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6
El Tuesday 08 May 2007 12:31:07 Michele Menciassi escribió:
> # ifconfig
> i've that output
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>
> i've no interface up... it's right?

Do the following:

~# cat /proc/net/dev
and see there which eth devices exist.

It's really possible that the number is eth3 o eth14 and there is a reason for 
that: udev and no-mac associated to domU internal eth.

I explain it:

With udev and udev rules when a new dev (new MAC) is detected the system uses 
a NEW ethX because there is an association MAC-ethX in:
  /etc/udev/rules.d  (see "25-iftab.rules" o "z25-net.rules"):

-----------
# This file causes network devices to be assigned consistent names.
# See udev(8) for syntax.

SUBSYSTEM=="net", ACTION=="add", DRIVER=="?*", \
                                PROGRAM="iftab_helper %k", NAME="$result"
------------

So it's possible that you have in that file more that one MAC detected so more 
than one eth created.


In Debian Etch, when upgrading "udev" is installed so udev rules start 
working.


To solve it the best option is to assign a MAC to your domU interface. So edit 
your /etc/xen/vm.cfg file:

   vif  = [ 'ip=192.168.1.241, mac=00:16:3e:60:73:3d' ]

Note that there is a range of MAC that you can use for Xen virtual machines (I 
don't knoiw it exactly).



Regards.

-- 
*Iñaki Baz Castillo*
ibc@xxxxxxxxxxxx

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

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