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] Missing eth0 in Domu

To: "'Daniel Kao'" <dkao@xxxxxxxxxxxx>
Subject: RE: [Xen-users] Missing eth0 in Domu
From: "Venefax" <venefax@xxxxxxxxx>
Date: Wed, 10 Dec 2008 20:09:29 -0500
Cc: 'Xen List' <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 10 Dec 2008 17:11:36 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:references :in-reply-to:subject:date:message-id:mime-version:content-type :x-mailer:thread-index:content-language; bh=eg7UH6bXLdZK74y37KqvlRyyfyyC9IECgv0Mdq6b6Ls=; b=h9Pymlg2RH3MqxFznukDkX4zAWrbHC39mo/RAxAFGXWeItVPUsedqcTJaMHpxBLjBn PYZnglqQrWma0wiPu5WQ8x23A8NiEFgcksb1oBOcevVHRWiXXDSibqbavpKXFwFnmD2S XQVC72VpTve4/IvTGuTyMdg9g1Mn9228HZlX0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-type:x-mailer:thread-index:content-language; b=I9TeaM82wdNQd77I8bG4aMkkjyMfCftNeJQ1yl9h19s+3B2d42Us2Fjwe6oU3tLP2p BrFLqct0FauJF2rnkdpilDKN45fcuelE3lAINvAwiWTFdWZ83jLbR0eqLwy8VjbnKRP5 9m6+lKj1SqB5is4+AWindV/aN/iy+1YKw+fD8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <494064C7.40201@xxxxxxxxxxxx>
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: <1228764820.14491.59.camel@xxxxxxxxxxxxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D0154FEF9@trantor> <1228854235.14491.80.camel@xxxxxxxxxxxxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D0154FF4C@trantor> <1228955048.19206.7.camel@xxxxxxxxxxxxxxxxxxxxxxxx> <02ea01c95b29$d4a268d0$7de73a70$@com> <494064C7.40201@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclbKwkHMxiFJo4JQ76kusUCZOSDsgAAf5QQ

linux-tlxs:~ # brctl show

bridge name     bridge id               STP enabled     interfaces

eth0            8000.001ec9e9e883       no              peth0

                                                        vif56.0

                                                        vif73.0

                                                        vif50.0

                                                        vif74.0

                                                        vif53.0

                                                        vif70.0

                                                        vif18.0

                                                        vif22.0

                                                        vif23.0

                                                        vif24.0

                                                        vif25.0

                                                        vif26.0

linux-tlxs:~ #

 

From: Daniel Kao [mailto:dkao@xxxxxxxxxxxx]
Sent: Wednesday, December 10, 2008 7:55 PM
To: Venefax
Cc: 'Xen List'
Subject: Re: [Xen-users] Missing eth0 in Domu

 

Hi Venefax,

First, as root in a shell on your dom0, run a "brctl show" and paste the contents to the list.

Second,

    (device
        (vif
            (mac 00:16:3e:2c:88:81)
            (uuid 837dcbd1-61ab-fc78-a0f1-f8679e4688d9)
        )
    )

Should look more like this:

    (device
        (vif
            (bridge eth0)
            (mac 00:16:3e:2c:88:81)
            (script vif-bridge)
            (uuid 837dcbd1-61ab-fc78-a0f1-f8679e4688d9)
            (backend 0)
        )
    )

... This is under the assumption you are bridging eth0 from dom0 to your domU's.

Cheers,
Daniel

-- 
Daniel Kao
Übermind, Inc.
Seattle, WA, U.S.A.
 



Venefax wrote:

I have SUSE SP2 with Xen 3.2, but all my DomU's are Centos 64 5.2. One of my
Domu's cannot find the eth0, and prints this error:
ifconfig eth0
   eth0: error fetching interface information: Device not found
yet the machine configuration file is identical to other VM's that do work.
Is there a part of the VM that I need to change to make it "find" the device
eth0?
 
 
(domain
    (on_crash destroy)
    (uuid 1ccb0f31-8e77-64d5-3248-22c1078d0ddc)
    (bootloader_args
 
'--entry=xvda1:/vmlinuz-2.6.18-92.1.18.el5xen,/initrd-2.6.18-92.1.18.el5xen.
img'
    )
    (vcpus 2)
    (cpus 1-15)
    (name asterisk-3)
    (on_poweroff destroy)
    (on_reboot restart)
    (bootloader /usr/lib/xen/boot/domUloader.py)
    (maxmem 1024)
    (memory 1024)
    (shadow_memory 0)
    (features )
    (on_xend_start ignore)
    (on_xend_stop ignore)
    (image
        (linux (kernel ) (args ' ') (device_model
/usr/lib64/xen/bin/qemu-dm))
    )
    (status 0)
    (device
        (vif
            (mac 00:16:3e:2c:88:81)
            (uuid 837dcbd1-61ab-fc78-a0f1-f8679e4688d9)
        )
    )
    (device
        (vbd
            (uuid 41dcfe9a-2d95-dd16-69ff-35ae9be8d401)
            (bootable 1)
            (driver paravirtualised)
            (dev xvda)
            (uname file:/xen/images/switch-3)
            (mode w)
        )
    )
    (device
        (vbd
            (uuid 88172eab-b08b-895e-7ee1-0fb00cf95715)
            (bootable 0)
            (driver paravirtualised)
            (dev xvdb:cdrom)
            (uname file:/suse/CentOS-5.2-x86_64-bin-DVD.iso)
            (mode r)
        )
    )
    (device (vkbd (uuid 64b95846-8966-b6ce-1aaf-f67b71f03ea5)))
    (device
        (vfb
            (vncunused 1)
            (type vnc)
            (xauthority /root/.Xauthority)
            (uuid 7769691f-9200-e1fb-c944-7095ff2696ce)
        )
    )
)
 
 
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
 
  
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users