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

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


  • To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Bojana Petrovic <bojanap@xxxxxxxxx>
  • Date: Thu, 17 Dec 2009 22:01:17 +0100
  • Cc:
  • Delivery-date: Thu, 17 Dec 2009 13:02:14 -0800
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi Fajar and everybody,

This is output of brctl show  on dom0:

bridge name     bridge id                          STP enabled     interfaces
virbr0               8000.aa00271ff6ba          yes                   tap0
                                                                                        vif1.0
xenbr0             8000.feffffffffff                     no                     peth0
                                                                                        vif0.0
xenbrBC          8000.0687ee475769       no                      tap1
                                                                                        vif1.1
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,
Bojana

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?

--
Fajar

_______________________________________________
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®.