Rudi Ahlers
2011-Sep-08 11:54 UTC
[Xen-users] correct steps to add XEN bridge to Debian squeeze?
Hi all, Does anyone know what the correct steps are to add a XEN bridge, let''s say xenbr0 to Debian Squeeze? I have added the following to /etc/network/interfaces # XEN Bridge auto xenbr0 iface xenbr0 inet manual bridge ports eth0 bridge_stp off bridge_fd 0 And then rebooted the server but brctl show still shows eth0 as bridge: newusaxen:~# brctl show bridge name bridge id STP enabled interfaces eth0 8000.003048c461be no peth0 vif2.0 newusaxen:~# ifup xenbr0 ifup: interface xenbr0 already configured newusaxen:~# ifconfig |grep xenbr0 newusaxen:~# What else should I be doing to get it up and running? -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Christian Motschke
2011-Sep-08 12:06 UTC
Re: [Xen-users] correct steps to add XEN bridge to Debian squeeze?
Do you have libvirt-bin installed? Is there the xenbr0 configured (maybe in /etc/libvirt/qemu/networks/default.xml)? If yes, the bridge will be created on system startup from libvirt??? Regards. Christian Am 08.09.2011 um 13:54 schrieb Rudi Ahlers:> Hi all, > > Does anyone know what the correct steps are to add a XEN bridge, let''s > say xenbr0 to Debian Squeeze? > > > > I have added the following to /etc/network/interfaces > > > # XEN Bridge > auto xenbr0 > iface xenbr0 inet manual > bridge ports eth0 > bridge_stp off > bridge_fd 0 > > And then rebooted the server but brctl show still shows eth0 as bridge: > > > newusaxen:~# brctl show > bridge name bridge id STP enabled interfaces > eth0 8000.003048c461be no peth0 > vif2.0 > > > > newusaxen:~# ifup xenbr0 > ifup: interface xenbr0 already configured > > > > newusaxen:~# ifconfig |grep xenbr0 > newusaxen:~# > > > > > > What else should I be doing to get it up and running? > -- > Kind Regards > Rudi Ahlers > SoftDux > > Website: http://www.SoftDux.com > Technical Blog: http://Blog.SoftDux.com > Office: 087 805 9573 > Cell: 082 554 7532 > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dominic Mason
2011-Sep-08 12:09 UTC
Re: [Xen-users] correct steps to add XEN bridge to Debian squeeze?
We decided not to use xen for bridging, but put all out bridges in /etc/network/interfaces Something like this # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet dhcp # network bonding auto bond0 iface bond0 inet manual slaves eth1 eth2 eth3 bond_mode 802.3ad bond_miimon 100 bond_downdelay 200 bond_updelay 200 # vlans auto vlan201 iface vlan201 inet manual vlan-raw-device bond0 auto vlan202 iface vlan202 inet manual vlan-raw-device bond0 # bridges sit on the vlans auto br201 iface br201 inet static bridge_ports vlan201 bridge_fd 2 address 10.10.254.1 netmask 255.255.255.0 auto br202 iface br202 inet manual bridge_ports vlan202 bridge_fd 2 This is on a machine with four physical interfaces, three of which are bonded together, and you can add bridges and vlans on the fly as and when required. And in /etc/xen/xend-config.sxp leave all the entries like # (network script network-bridge) commented out. On Thu, 2011-09-08 at 13:54 +0200, Rudi Ahlers wrote:> Hi all, > > Does anyone know what the correct steps are to add a XEN bridge, let''s > say xenbr0 to Debian Squeeze? > > > > I have added the following to /etc/network/interfaces > > > # XEN Bridge > auto xenbr0 > iface xenbr0 inet manual > bridge ports eth0 > bridge_stp off > bridge_fd 0 > > And then rebooted the server but brctl show still shows eth0 as bridge: > > > newusaxen:~# brctl show > bridge name bridge id STP enabled interfaces > eth0 8000.003048c461be no peth0 > vif2.0 > > > > newusaxen:~# ifup xenbr0 > ifup: interface xenbr0 already configured > > > > newusaxen:~# ifconfig |grep xenbr0 > newusaxen:~# > > > > > > What else should I be doing to get it up and running?-- Dominic Mason <dominic@opusvl.com> OpusVL _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rudi Ahlers
2011-Sep-08 13:15 UTC
Re: [Xen-users] correct steps to add XEN bridge to Debian squeeze?
On Thu, Sep 8, 2011 at 2:06 PM, Christian Motschke <christian@motschke.de> wrote:> Do you have libvirt-bin installed? > Is there the xenbr0 configured (maybe in /etc/libvirt/qemu/networks/default.xml)? > If yes, the bridge will be created on system startup from libvirt??? > > Regards. > Christian >Hi Christian, libvirt-bin wasn''t installed, and I didn''t know I should have installed it. so I just installed it but how do I get xenbr0 up? Running /etc/init.d/xend restart or "/etc/xen/scripts/network-bridge start" didn''t help at all. -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Christian Motschke
2011-Sep-08 13:37 UTC
Re: [Xen-users] correct steps to add XEN bridge to Debian squeeze?
Am 08.09.2011 um 15:15 schrieb Rudi Ahlers:> On Thu, Sep 8, 2011 at 2:06 PM, Christian Motschke > <christian@motschke.de> wrote: >> Do you have libvirt-bin installed? >> Is there the xenbr0 configured (maybe in /etc/libvirt/qemu/networks/default.xml)? >> If yes, the bridge will be created on system startup from libvirt??? >> >> Regards. >> Christian >> > > Hi Christian, > > libvirt-bin wasn''t installed, and I didn''t know I should have installed it. > > so I just installed it but how do I get xenbr0 up?If you have defined bridges in /etc/libvirt/qemu and a link from /etc/libvirt/qemu/autostart to the definition exists, than the bridges will be set up with /etc/init.d/libvirt-bin. But I would not suggest to create your bridges with libvirt. You do not need to install libvirt at all. XEN runs fine without it. Only if you would like to manage your VMs with virt-manager, than you need to install it. If libvirt-bin was not installed, than I don''t know, what has configured the xenbr0 bridge. Can you grep recursively through /etc to find the definition of xenbr0? The problem is, that your system seems to define xenbr0 with peth0 as network device. peth0 is the renamed eth0 that you also try to use in the bridge definition in /etc/network/interfaces. That''s why after a restart of the networking your server looses the connection.> > > Running /etc/init.d/xend restart or "/etc/xen/scripts/network-bridge > start" didn''t help at all. > > -- > Kind Regards > Rudi Ahlers > SoftDux > > Website: http://www.SoftDux.com > Technical Blog: http://Blog.SoftDux.com > Office: 087 805 9573 > Cell: 082 554 7532 > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rudi Ahlers
2011-Sep-08 13:45 UTC
Re: [Xen-users] correct steps to add XEN bridge to Debian squeeze?
On Thu, Sep 8, 2011 at 3:37 PM, Christian Motschke <christian@motschke.de> wrote:> > Am 08.09.2011 um 15:15 schrieb Rudi Ahlers: > >> On Thu, Sep 8, 2011 at 2:06 PM, Christian Motschke >> <christian@motschke.de> wrote: >>> Do you have libvirt-bin installed? >>> Is there the xenbr0 configured (maybe in /etc/libvirt/qemu/networks/default.xml)? >>> If yes, the bridge will be created on system startup from libvirt??? >>> >>> Regards. >>> Christian >>> >> >> Hi Christian, >> >> libvirt-bin wasn''t installed, and I didn''t know I should have installed it. >> >> so I just installed it but how do I get xenbr0 up? > If you have defined bridges in /etc/libvirt/qemu and a link from /etc/libvirt/qemu/autostart to the definition exists, than the bridges will be set up with /etc/init.d/libvirt-bin. > But I would not suggest to create your bridges with libvirt. > > You do not need to install libvirt at all. XEN runs fine without it. Only if you would like to manage your VMs with virt-manager, than you need to install it. > If libvirt-bin was not installed, than I don''t know, what has configured the xenbr0 bridge. > Can you grep recursively through /etc to find the definition of xenbr0? > The problem is, that your system seems to define xenbr0 with peth0 as network device. peth0 is the renamed eth0 that you also try to use in the bridge definition in /etc/network/interfaces. That''s why after a restart of the networking your server looses the connection. >Christian I appreciate your attempt to help me, but your making me run in circles and confusing me a LOT. So if anyone else can please point me in the right direction to get a "xenbr0" bridge setup in Debian Squeeze I would appreciate it. Surely I can''t be the only one using this combination? -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Simon Hobson
2011-Sep-08 13:58 UTC
Re: [Xen-users] correct steps to add XEN bridge to Debian squeeze?
Rudi Ahlers wrote:>Christian I appreciate your attempt to help me, but your making me run >in circles and confusing me a LOT. > > >So if anyone else can please point me in the right direction to get a >"xenbr0" bridge setup in Debian Squeeze I would appreciate it. > >Surely I can''t be the only one using this combination?You''re not the only one using this setup, and it''s not hard - but with all respect, you seem to be making life hard for yourself. I didn''t read any of the previous emails as telling you to install lib-virt, which you don''t need. You were asked *if* you had it installed since this is a tool that may be doing things. I suppose I can see how that could be interpreted as a suggestion to install it. The ''best'' way to do it in Debian is via the /etc/network/interfaces file as you''ve already done. However, it looks like you ALSO have a DIFFERENT tool doing something. My first guess would be that in /etc/xen/xend-config.sxp you haven''t commented out every instance of "(network-script <something>)" - if you have left one of these active then Xend will mess with your network as it starts. So check /etc/xen/xend-config.sxp for any instances of "network-script" and make sure they are all commented out. Also, remove libvirt unless you are doing something that needs it. -- 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@lists.xensource.com http://lists.xensource.com/xen-users
Christian Motschke
2011-Sep-08 14:01 UTC
Re: [Xen-users] correct steps to add XEN bridge to Debian squeeze?
Am 08.09.2011 um 15:45 schrieb Rudi Ahlers:> On Thu, Sep 8, 2011 at 3:37 PM, Christian Motschke > <christian@motschke.de> wrote: >> >> Am 08.09.2011 um 15:15 schrieb Rudi Ahlers: >> >>> On Thu, Sep 8, 2011 at 2:06 PM, Christian Motschke >>> <christian@motschke.de> wrote: >>>> Do you have libvirt-bin installed? >>>> Is there the xenbr0 configured (maybe in /etc/libvirt/qemu/networks/default.xml)? >>>> If yes, the bridge will be created on system startup from libvirt??? >>>> >>>> Regards. >>>> Christian >>>> >>> >>> Hi Christian, >>> >>> libvirt-bin wasn''t installed, and I didn''t know I should have installed it. >>> >>> so I just installed it but how do I get xenbr0 up? >> If you have defined bridges in /etc/libvirt/qemu and a link from /etc/libvirt/qemu/autostart to the definition exists, than the bridges will be set up with /etc/init.d/libvirt-bin. >> But I would not suggest to create your bridges with libvirt. >> >> You do not need to install libvirt at all. XEN runs fine without it. Only if you would like to manage your VMs with virt-manager, than you need to install it. >> If libvirt-bin was not installed, than I don''t know, what has configured the xenbr0 bridge. >> Can you grep recursively through /etc to find the definition of xenbr0? >> The problem is, that your system seems to define xenbr0 with peth0 as network device. peth0 is the renamed eth0 that you also try to use in the bridge definition in /etc/network/interfaces. That''s why after a restart of the networking your server looses the connection. >> > > > > > > Christian I appreciate your attempt to help me, but your making me run > in circles and confusing me a LOT. >My first answer was correct and Dominic Mason suggested exactly the same. Your problem is, that somewhere else in your system xenbr0 will be created. As long as you don''t know where, you will not get it up and running. And now I shut up ;-).> > So if anyone else can please point me in the right direction to get a > "xenbr0" bridge setup in Debian Squeeze I would appreciate it. > > Surely I can''t be the only one using this combination? > > > -- > Kind Regards > Rudi Ahlers > SoftDux > > Website: http://www.SoftDux.com > Technical Blog: http://Blog.SoftDux.com > Office: 087 805 9573 > Cell: 082 554 7532 > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Diego Dave
2011-Sep-08 14:04 UTC
Re: [Xen-users] correct steps to add XEN bridge to Debian squeeze?
Hi Rudi, I think the easiest way to set up a bridge configuration on only one interface (eth0), is enabling the "(network-script network-bridge)" in "xend-config.sxp"... this makes a bridge on eth0 directly... After that, in your cfg file you should add a vif line like this: "vif = [ ''bridge=eth0, type=ioemu, mac=00:16:3e:00:00:77'' ]". Regards, Diego 2011/9/8 Rudi Ahlers <Rudi@softdux.com>:> On Thu, Sep 8, 2011 at 3:37 PM, Christian Motschke > <christian@motschke.de> wrote: >> >> Am 08.09.2011 um 15:15 schrieb Rudi Ahlers: >> >>> On Thu, Sep 8, 2011 at 2:06 PM, Christian Motschke >>> <christian@motschke.de> wrote: >>>> Do you have libvirt-bin installed? >>>> Is there the xenbr0 configured (maybe in /etc/libvirt/qemu/networks/default.xml)? >>>> If yes, the bridge will be created on system startup from libvirt??? >>>> >>>> Regards. >>>> Christian >>>> >>> >>> Hi Christian, >>> >>> libvirt-bin wasn''t installed, and I didn''t know I should have installed it. >>> >>> so I just installed it but how do I get xenbr0 up? >> If you have defined bridges in /etc/libvirt/qemu and a link from /etc/libvirt/qemu/autostart to the definition exists, than the bridges will be set up with /etc/init.d/libvirt-bin. >> But I would not suggest to create your bridges with libvirt. >> >> You do not need to install libvirt at all. XEN runs fine without it. Only if you would like to manage your VMs with virt-manager, than you need to install it. >> If libvirt-bin was not installed, than I don''t know, what has configured the xenbr0 bridge. >> Can you grep recursively through /etc to find the definition of xenbr0? >> The problem is, that your system seems to define xenbr0 with peth0 as network device. peth0 is the renamed eth0 that you also try to use in the bridge definition in /etc/network/interfaces. That''s why after a restart of the networking your server looses the connection. >> > > > > > > Christian I appreciate your attempt to help me, but your making me run > in circles and confusing me a LOT. > > > So if anyone else can please point me in the right direction to get a > "xenbr0" bridge setup in Debian Squeeze I would appreciate it. > > Surely I can''t be the only one using this combination? > > > -- > Kind Regards > Rudi Ahlers > SoftDux > > Website: http://www.SoftDux.com > Technical Blog: http://Blog.SoftDux.com > Office: 087 805 9573 > Cell: 082 554 7532 > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rudi Ahlers
2011-Sep-08 14:39 UTC
Re: [Xen-users] correct steps to add XEN bridge to Debian squeeze?
On Thu, Sep 8, 2011 at 4:04 PM, Diego Dave <diego.dave.s@gmail.com> wrote:> Hi Rudi, > > I think the easiest way to set up a bridge configuration on only one > interface (eth0), is enabling the "(network-script network-bridge)" in > "xend-config.sxp"... this makes a bridge on eth0 directly... > > After that, in your cfg file you should add a vif line like this: "vif > = [ ''bridge=eth0, type=ioemu, mac=00:16:3e:00:00:77'' ]". > > Regards, > > Diego >Hi Diego, I already have (had?) it like that but the HVM guests doesn''t seem to have any network communications by using eth0 as a bridge -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Todd Deshane
2011-Sep-08 14:43 UTC
Re: [Xen-users] correct steps to add XEN bridge to Debian squeeze?
On Thu, Sep 8, 2011 at 7:54 AM, Rudi Ahlers <Rudi@softdux.com> wrote:> Hi all, > > Does anyone know what the correct steps are to add a XEN bridge, let''s > say xenbr0 to Debian Squeeze? > > > > I have added the following to /etc/network/interfaces > > > # XEN Bridge > auto xenbr0 > iface xenbr0 inet manual > bridge ports eth0 > bridge_stp off > bridge_fd 0 > > And then rebooted the server but brctl show still shows eth0 as bridge: > > > newusaxen:~# brctl show > bridge name bridge id STP enabled interfaces > eth0 8000.003048c461be no peth0 > vif2.0 > > > > newusaxen:~# ifup xenbr0 > ifup: interface xenbr0 already configured > > > > newusaxen:~# ifconfig |grep xenbr0 > newusaxen:~# > > > > > > What else should I be doing to get it up and running?take a look here: http://wiki.xensource.com/xenwiki/HostConfiguration/Networking You need to make sure networking in xend is disabled. Hope that helps. Thanks, Todd -- Todd Deshane http://www.linkedin.com/in/deshantm http://www.xen.org/products/cloudxen.html http://runningxen.com/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Simon Hobson
2011-Sep-08 14:56 UTC
Re: [Xen-users] correct steps to add XEN bridge to Debian squeeze?
Diego Dave wrote:>I think the easiest way to set up a bridge configuration on only one >interface (eth0), is enabling the "(network-script network-bridge)" in >"xend-config.sxp"... this makes a bridge on eth0 directly...Many, myself included, disagree - at least once you get past the most simple single interface setup. The functioning of the Xen scripts is obscure, and very difficult to customise. Certainly in Debian, it''s easier to do all the network config with the host OS and leave Xen out of it. As already shown, even fairly complex setups (bonded NICs, multiple VLANs, multiple bridges) can be done easily with the host OS script. These are impossible with the Xen scripts without doing all the work yourself. -- 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@lists.xensource.com http://lists.xensource.com/xen-users
Diego Dave
2011-Sep-08 15:10 UTC
Re: [Xen-users] correct steps to add XEN bridge to Debian squeeze?
I agree, but Rudi need only one bridge with a simple configuration, I give he the "easiest way" not the "best way"!!! 2011/9/8 Simon Hobson <linux@thehobsons.co.uk>:> Diego Dave wrote: > >> I think the easiest way to set up a bridge configuration on only one >> interface (eth0), is enabling the "(network-script network-bridge)" in >> "xend-config.sxp"... this makes a bridge on eth0 directly... > > Many, myself included, disagree - at least once you get past the most simple > single interface setup. The functioning of the Xen scripts is obscure, and > very difficult to customise. Certainly in Debian, it''s easier to do all the > network config with the host OS and leave Xen out of it. > > As already shown, even fairly complex setups (bonded NICs, multiple VLANs, > multiple bridges) can be done easily with the host OS script. These are > impossible with the Xen scripts without doing all the work yourself. > > -- > 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@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Todd Deshane
2011-Sep-08 15:11 UTC
Re: [Xen-users] correct steps to add XEN bridge to Debian squeeze?
On Thu, Sep 8, 2011 at 10:56 AM, Simon Hobson <linux@thehobsons.co.uk> wrote:> Diego Dave wrote: > >> I think the easiest way to set up a bridge configuration on only one >> interface (eth0), is enabling the "(network-script network-bridge)" in >> "xend-config.sxp"... this makes a bridge on eth0 directly... > > Many, myself included, disagree - at least once you get past the most simple > single interface setup. The functioning of the Xen scripts is obscure, and > very difficult to customise. Certainly in Debian, it''s easier to do all the > network config with the host OS and leave Xen out of it. >Xen.org agrees. That is why we''ve deprecated xend and made it explicit that networking should be configured with the distribution (as you say): http://wiki.xensource.com/xenwiki/HostConfiguration/Networking -- Todd Deshane http://www.linkedin.com/in/deshantm http://www.xen.org/products/cloudxen.html http://runningxen.com/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Oper.ML
2011-Sep-08 18:30 UTC
Re: [Xen-users] correct steps to add XEN bridge to Debian squeeze?
Hi Rudi, i usually do this in my /etc/network/interfaces: auto eth0 iface eth0 inet manual pre-up ifconfig eth0 up post-down ifconfig eth0 down auto br0 iface br0 inet static address 192.168.x.x netmask 255.x.x.0 bridge_ports eth0 bridge_maxwait 0 Hope that i could help. Regards, Tony M. On 09/08/2011 08:54 AM, Rudi Ahlers wrote:> Hi all, > > Does anyone know what the correct steps are to add a XEN bridge, let''s > say xenbr0 to Debian Squeeze? > > > > I have added the following to /etc/network/interfaces > > > # XEN Bridge > auto xenbr0 > iface xenbr0 inet manual > bridge ports eth0 > bridge_stp off > bridge_fd 0 > > And then rebooted the server but brctl show still shows eth0 as bridge: > > > newusaxen:~# brctl show > bridge name bridge id STP enabled interfaces > eth0 8000.003048c461be no peth0 > vif2.0 > > > > newusaxen:~# ifup xenbr0 > ifup: interface xenbr0 already configured > > > > newusaxen:~# ifconfig |grep xenbr0 > newusaxen:~# > > > > > > What else should I be doing to get it up and running?_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rudi Ahlers
2011-Sep-08 18:43 UTC
Re: [Xen-users] correct steps to add XEN bridge to Debian squeeze?
Thanx for all the help guys, but I think this Debian installation is corrupt and I need to go back to CentOS + XEN 3 instead. After a few reboots, trying to get the bridge working, I can''t even see the VM''s running. xm list simply "hangs" And I can''t unindstall libvirt-bin (which I probably installed by mistake) since apt-get and aptitude both gives me sementation faults: newusaxen:/var/cache/apt# apt-get remove libvirt-bin Segmentation faultsts... 0% newusaxen:/var/cache/apt# aptitude remove libvirt-bin [ 0%] Reading package listsSegmentation fault newusaxen:/var/cache/apt# On Thu, Sep 8, 2011 at 8:30 PM, Oper.ML <oper.ml@gmail.com> wrote:> Hi Rudi, > > i usually do this in my /etc/network/interfaces: > > auto eth0 > iface eth0 inet manual > pre-up ifconfig eth0 up > post-down ifconfig eth0 down > > auto br0 > iface br0 inet static > address 192.168.x.x > netmask 255.x.x.0 > bridge_ports eth0 > bridge_maxwait 0 > > Hope that i could help. > > Regards, > Tony M. > > > > > > On 09/08/2011 08:54 AM, Rudi Ahlers wrote: > > Hi all, > > Does anyone know what the correct steps are to add a XEN bridge, let''s > say xenbr0 to Debian Squeeze? > > > > I have added the following to /etc/network/interfaces > > > # XEN Bridge > auto xenbr0 > iface xenbr0 inet manual > bridge ports eth0 > bridge_stp off > bridge_fd 0 > > And then rebooted the server but brctl show still shows eth0 as bridge: > > > newusaxen:~# brctl show > bridge name bridge id STP enabled interfaces > eth0 8000.003048c461be no peth0 > vif2.0 > > > > newusaxen:~# ifup xenbr0 > ifup: interface xenbr0 already configured > > > > newusaxen:~# ifconfig |grep xenbr0 > newusaxen:~# > > > > > > What else should I be doing to get it up and running? >-- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Apparently Analagous Threads
- CentOS 6 domU on Debian 6 dom0 not working
- Re: unable to access Linux HVM via xm console - Couldnot read tty from store: No such file or directory
- preferred XEN dom0 OS
- unable to access Linux HVM via xm console - Could not read tty from store: No such file or directory
- Xen3.2 documentation?