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

[Xen-users] 2 NICS: Bridges

To: "xen-users" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] 2 NICS: Bridges
From: "Ferreira, N.L." <N.L.Ferreira@xxxxx>
Date: Sat, 4 Apr 2009 23:34:26 +0200
Delivery-date: Sat, 04 Apr 2009 14:35:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acm1bSEl7/7tzvc3Q6ibGpv2k/ICWg==
Thread-topic: 2 NICS: Bridges

Hey *,

After a long week struggling with a server with 2 NICS and bridges, I think I was able to put them working.

[root@xxxx pristine]# brctl show
bridge name     bridge id               STP enabled     interfaces
virbr0          8000.000000000000       yes
xenbr0          8000.feffffffffff       yes             peth0
                                                        vif0.0
xenbr1          8000.feffffffffff       yes             vif24.1
                                                        vif24.0
                                                        peth1
                                                        vif0.1

Thus, it seems that xen domain 24 has 2 virtual network interfaces listening on bridge xenbr1.
This way, physical NIC 1 is going to be used by dom0, and the 2nd NIC, is going to be used by the domU. This is my interpretation of the "brctl" command. Is that right?

Of course, I can also hide the xenbr1 from dom0, ensuring that dom0 does not use it. This probably will be the next step.

BTW, I read that whenever more than one bridge is present, STP should be enabled. Any comments on that?

Thanks so much for all your help and tips during this week.

Cheers,
N.

P.S. centOS 5.3 (just updated) running xen 3.1.2 from official repos. I was never able to put bridging working correctly using the xen 3.3.1 gitco version, despite several tips from you guys. Naming conventions are different, and I still do not fill very comfortable mixing xen and bridges.  

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] 2 NICS: Bridges, Ferreira, N.L. <=