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] Bridges

To: "xen-users@xxxxxxxxxxxxxxxxxxx" <Xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Bridges
From: Joshua Kinard <joshua.kinard@xxxxxxxxxxxxx>
Date: Wed, 12 Aug 2009 09:22:14 -0400
Accept-language: en-US
Acceptlanguage: en-US
Cc:
Delivery-date: Wed, 12 Aug 2009 06:26:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <9e97b1230908120236hf53d20fkcbbd16f3f4f2c0b@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: <9e97b1230908120236hf53d20fkcbbd16f3f4f2c0b@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcobMJOf4WmIi+0zRRyXepEyWKsLcAAH1R6j
Thread-topic: [Xen-users] Bridges
I'm guessing that you are running Debian?  I discovered the fun way that they name their bridge device as "eth0", and rename the real, physical eth0 to "peth0".  So in your Xen config, you want something like:
 
vif = [ 'type=ioemu, bridge=eth0' ]
 
Instead of the more common xenbr0 that a lot of documents on the net show.
 
 
--J
 

From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Andrey Varsavsky [alex.faq8@xxxxxxxxx]
Sent: Wednesday, August 12, 2009 5:36 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Bridges

I really need help, if any have worked configes, can u send it please.

Hi guys, I cant configure bridges in xen 2 long time.
I want:
==================
I want all my domU machines avaible from Internet

domU(real_ip)---\------------------------------==========
                          dom0(real ip )------------ ||  INTERNET ||
domU(real_ip)---/------------------------------==========



===================
xm create asrv1000.cfg
Error: Device 0 (vif) could not be connected. Hotplug scripts not working.

# cat xend-config.sxp | egrep -v '^#|^$'
(network-script network-bridge)
(vif-script vif-bridge)
(dom0-min-mem 196)
(dom0-cpus 0)
=================================================
# brctl show
bridge name     bridge id               STP enabled     interfaces
eth0            8000.003048d8d43e       no              peth0
=================================================
# cat 1000.cfg
kernel = '/usr/lib/xen-3.2-1/boot/hvmloader'
device_model = '/usr/lib/xen-3.2-1/bin/qemu-dm'
builder = 'hvm'
name = '1000'
vcpus = '2'
memory = '1024'
disk = [
        'phy:/dev/xen00/1000,sda1,w',
        'phy:/dev/xen00/1000-swap,sda2,w',
        ]
vif=['']
vnc = '1'



=================================================


--
Best Regards,
alex.faq8@xxxxxxxxx


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>