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/
Home Products Support Community News


Re: [Xen-users] FC5 as domU- failed to bring multiple interfaces

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] FC5 as domU- failed to bring multiple interfaces
From: Bojana Petrovic <bojanap@xxxxxxxxx>
Date: Thu, 17 Dec 2009 22:01:17 +0100
Delivery-date: Thu, 17 Dec 2009 13:02:14 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=rbfRitxhhD4sEzvirUBbykbC4e+TBh/Orv5tgQXW6Xg=; b=ZkljXI75BsjucjWcBxM6a00HRmb1qTPNvr7v1DdehHxicuycQ5mRnMzBMhBEyHOlMG K8PjdZ4Lsij3KS6mvcfuWJ44Z3BcSdIqabwv6ObRWaNVuEX1NytrO3VI3JQ3OQCXkyFp vaX8/kEyPjA98CklRC3Sk6/ZkE2OpVHrzsgAU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=QOcdQ4z8HjTy5Eke/kxanyKB6pupnzzXiE10eAN2vdVx+R1as3rKI3q5629KTJlb/j bDUrO8RRfTR9yiIlqm803/LsFatGNvrNMIvxzc91ui+Fjyl+r+r8RTd99NQaO5xu5xjd CHyzrx/pfwoz89auqzVuwY9C6fEL8UGiBXKW8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7207d96f0912162054p3eec1a91kea6643a899c0591d@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: <bd0aeb0a0912161413u6e5c26fei45890ebcacbe4f97@xxxxxxxxxxxxxx> <7207d96f0912162054p3eec1a91kea6643a899c0591d@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Fajar and everybody,

This is output of brctl show  on dom0:

bridge name     bridge id                          STP enabled     interfaces
virbr0               8000.aa00271ff6ba          yes                   tap0
xenbr0             8000.feffffffffff                     no                     peth0
xenbrBC          8000.0687ee475769       no                      tap1
xenbrBD          8000.000000000000       no
xenbrCD          8000.000000000000       no

On domU, I run following commands:

[root@localhost ~]# ip link show
1: lo: <LOOPBACK,UP,10000> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:16:36:12:49:53 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 00:16:3e:50:82:56 brd ff:ff:ff:ff:ff:ff
I saw on my Fedora 8 VM that all interfaces has this parametar pfifo_fast, and not noop like here in the case of eth1.
I do not know how to change it.

[root@localhost ~]# xm network list masterf5
bash: xm: command not found
[root@localhost ~]# xm
bash: xm: command not found
[root@localhost ~]# xm --help
bash: xm: command not found

I didn't installed xen on domU, so I suppose this is the reason for last output.

I'm running 2.6.18-164.el5xen kernel on dom0 and on for domU I use MPLS enabled  kernel-2.6.20-1.2320fc5.mpls.1.956.i686.rpm.

Thank you very much,

On Thu, Dec 17, 2009 at 5:54 AM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
On Thu, Dec 17, 2009 at 5:13 AM, Bojana Petrovic <bojanap@xxxxxxxxx> wrote:
> disk = [ "file:/var/lib/xen/images/masterf5.img,hda,w", ",hdc:cdrom,r" ]
> vif = [ "mac=00:16:36:12:49:53,bridge=virbr0,script=vif-bridge",
> "mac=00:16:3e:50:82:56, bridge=xenbrBC"]
> Fedora 5 virtual machine didn't recognize another interface.

it should work. Try something like
vif = [ "mac=00:16:36:12:49:53,bridge=virbr0,script=vif-bridge",
 "mac=00:16:3e:50:82:56, bridge=xenbrBC,script=vif-bridge"]

just in case the default script is wrong. Also, what is the output of
- "brctl show" on dom0, when domU is started
- "xm network-list domU_name", when domU is started
- "ip link show" on domU

Also, which kernel did you use for domU?


Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>