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

RE: [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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.