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] help with bridging

To: Tino <tino@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] help with bridging
From: Mark Pryor <tlviewer@xxxxxxxxx>
Date: Fri, 12 Nov 2010 08:51:18 -0800 (PST)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 12 Nov 2010 08:54:27 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1289580678; bh=yQfEKnG64A7EuSDsBzuYvUk+Oi4F4f7JBBozRjjtnms=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=4xUrnU5VGlj0BAn4w5gXqLTm4+E0KWyHMdSBeMiNu/lU9ukeaC9c6Dhjt40X7c7r+vpdAGkop9qzziXhdvrh5Oe4N0Rp/negXnWZREhMk0wWyhkToDQpHqY769Nx40moQYgyMPCg8pYWP+dtzAP4A/8VYCOWN00XVqTb6XBQMqE=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Codc3xaQhqTowQfYa7yMqCcuiBXRv6Hf87Ktz+PyEF8chUsews2fgf574hULmtAzatq7gFST0dN05Q9PuorROI87Gk3nOhC3olJtxRNFsd9OxJ1RMvcKvh/Fah6cwlR3k6RWv5IE32bP7gPuIpH7kBhsil7Jmb8syiPchngxmqk=;
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
That vif config can work if there is a another network script like 
network-route in /etc/xen/xend-config.sxp

try
grep '^(' /etc/xen/xend-config.sxp

and see if there is a custom network script or network-nat is uncommented.
If there is a network-foo uncommented, then copy it from /etc/xen/scripts so we 
can see it.

I guess that you have some custom setup which mixes bridge and route/nat.

-- 
Mark
--- On Fri, 11/12/10, Tino <tino@xxxxxxxxxxxxxxxx> wrote:

From: Tino <tino@xxxxxxxxxxxxxxxx>
Subject: [Xen-users] help with bridging
To: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Friday, November 12, 2010, 5:21 AM

Hello,

There is a xen setup in which "brctl show" gives the following output.

bridge name     bridge id               STP enabled     interfaces
eth1            8000.003048c9d4df       no               peth1

                                                        vif1.0
                                                        vif2.0
                                                        vif3.0

 No other bridge is present 
there.                                                      

That means the bridge is eth1, but network configuration for one of the vms  
looks like the following in the configuration file


Networking
#
vif         = [
        'ip=192.168.1.158,mac=00:16:3E:19:26:71,bridge=xenbr1'

]

But there is no network interface like xenbr1 when you type ifconfig .
This setup is working fine. I am not sure how this works. I am new to xen, so 
if anybody help me to understand this setup.






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