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

Re: [Xen-users] Getting the bridged network running on Debian Squeeze with Xen 4.0.1



 hi all,

i had several problems getting that to work, my solutions look like:

aptitude install bridge-utils, net-tools, uuid, uuid-dev, tcpd

/etc/network/interfaces
***
auto lo
iface lo inet loopback

auto br0
iface br0 inet static
        address         x.x.x.x
        netmask         255.255.255.0
        network         x.x.x.x
        broadcast       x.x.x.x
        gateway         x.x.x.x
        bridge_ports    eth0
        bridge_stp      on
        bridge_maxwait  0
***

/etc/xen/*.cfg
***
vif             = [ 'bridge=br0,mac=00:16:3e:xx:xx:xx' ] (vif mac setup
works only with the beginning of 00:16:3e)
***


/etc/xen/xend-config.sxp
***
# -*- sh -*-
#(logfile /var/log/xen/xend.log)
#(loglevel DEBUG)
#(xsm_module_name dummy)
#(xen-api-server ((unix)))
#(xend-http-server no)
#(xend-unix-server no)
#(xend-tcp-xmlrpc-server no)
#(xend-unix-xmlrpc-server yes)
(xend-relocation-server yes)
#(xend-relocation-ssl-server no)
#(xend-udev-event-server no)
#(xend-unix-path /var/lib/xend/xend-socket)
#(xend-tcp-xmlrpc-server-address 'localhost')
#(xend-tcp-xmlrpc-server-port 8006)
#(xend-tcp-xmlrpc-server-ssl-key-file  xmlrpc.key)
#(xend-tcp-xmlrpc-server-ssl-cert-file xmlrpc.crt)
#(xend-port 8000)
(xend-relocation-port 8002)
#(xend-relocation-ssl-port 8003)
# xend-relocation-ssl-server is set.
#(xend-relocation-server-ssl-key-file   xmlrpc.key)
#(xend-relocation-server-ssl-cert-file  xmlrpc.crt)
#(xend-relocation-ssl no)
#(xend-address '')
#(xend-address localhost)
(xend-relocation-address '')
(xend-relocation-hosts-allow '')
#(xend-relocation-hosts-allow '^localhost$ ^localhost\\.localdomain$')
#(console-limit 1024)
(network-script 'network-bridge antispoof=yes')
(vif-script vif-bridge)
#(vif-script vif-route)
#(vif-script vif-nat)
(dom0-min-mem 256)
(enable-dom0-ballooning yes)
(total_available_memory 0)
(dom0-cpus 0)
#(enable-dump no)
#(external-migration-tool '')
(vnc-listen '0.0.0.0')
(vncpasswd '')
#(vnc-tls 1)
#(vnc-x509-cert-dir vnc)
#(vnc-x509-verify 1)
(keymap 'de-ch')
#(resource-label-change-script '')
#(qemu-dm-logrotate-count 10)
#(xend-domains-path /var/lib/xend/domains)
#(device-create-timeout 100)
#(pscsi-device-mask ('*'))
***


enjoy, walter

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxx] On Behalf Of Simon Hobson
Sent: Mittwoch, 29. Februar 2012 14:51
To: xen-users@xxxxxxxxxxxxx
Subject: Re: [Xen-users] Getting the bridged network running on Debian
Squeeze with Xen 4.0.1

Taschik, Daniel wrote:

>I commented (network-script 'network-bridge bridge=eth0') and m y 
>interfaces now look like the following:
>
>auto eth0
>iface eth0 inet static
...
>I also changed my guest vif config to:
>
>vif         = [ 'bridge=xenbr0,mac=39:fa:a9:88:a1:5c' ]
>
>When I create the guest I still get the following error:

xenbr0 is not the same as eth0, it's trying to create a virtual interface
attached to a non-existant bridge.

--
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author
Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking
fillers. Some available as e-books.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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