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] xen networking Fedora 8

To: Bojana Petrovic <bojanap@xxxxxxxxx>
Subject: Re: [Xen-users] xen networking Fedora 8
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Mon, 19 Oct 2009 15:35:12 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 19 Oct 2009 01:36:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <bd0aeb0a0910190123t3d41d02bq7783fc5838310e96@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: <bd0aeb0a0910190123t3d41d02bq7783fc5838310e96@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, Oct 19, 2009 at 3:23 PM, Bojana Petrovic <bojanap@xxxxxxxxx> wrote:
> I'm running Xen on Fedora 8 and I'm trying to make virtual machines
> communicate between each others. On CentOS I was able to make
> network-bridge-custom file and to point out on him from xend-config.sxp
> file. That file looked like something like this:
>
> #!/bin/sh
> #/etc/xen/scripts/network-
> bridge $1 netdev=eth0 bridge=xenbr0 vifnum=0
> /etc/xen/scripts/network-bridge-noifup $1 netdev=eth1 bridge=xenbrBC
> vifnum=1
> /etc/xen/scripts/network-bridge-noifup $1 netdev=eth2 bridge=xenbrBD
> vifnum=2


If it's getting too complicated to handle, just use OS's networking
script to create bridge and simply comment-out network-script entry on
xend-config.sxp.

>
> After that in ifconfig I was able to see new bridge interfaces xenbrBC and
> xenbrBD. In virtual machines config files I assigned MAC addresses to those
> bridges, and communication betweem virtual domains worked perfect!
> How to make something like this in Fedora?

Sorry, I've never used F8.
What does "brctl show" shows using the default setup? I'm guessing it
has something to do with the fact that default bridge name changed
from xenbr0 to eth0. Again, I'd recommend creating bridges using OS's
networking script (/etc/sycsonfig/network-scripts/ifcfg-*)

> I can see, that when I start virtual machine I have more two new interfaces
> tap0 and vif11.0! They are assigned to virbr0 :
>
> brctl show
> bridge name     bridge id               STP enabled     interfaces
> br0             8000.000000000000       no
> virbr0          8000.c2a429e6b58f       no              tap0
>
>      vif11.0
> I'm not sure what exactly to do with these two interfaces? I'm trying to use
> network-bridge-custom here on Fedora 8 but it seems that it doesn't work.
> Does anybody know how to make full connection between virtual machines?

virbr0 is created by libvirt. tap0 and vif11.0 is HVM domU's
interfaces. Don't know about br0.

-- 
Fajar

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

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