I am trying to use bridged networking with my Xen VMs, but I am unable to connect them to the network. I am running a Debian dom0 with Xen 4.0.1. I am not seeing a xenbr0 interface in the output of "ifconfig", but I do see peth0 and eth0. Running the command "brctl show" tells me that eth0 is the bridge device. In my xend-config.sxp I did not name it eth0, but instead said the following "(network-script ''network-bridge antispoof=yes bridge=xenbr0'')." How do I create the xenbr0 interface and have my VMs successfully connect to this bridge? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Simon Hobson
2011-Jul-30 18:08 UTC
Re: [Xen-users] Configuring xen bridges and networking issues
Larry Ing wrote:>I am trying to use bridged networking with my Xen VMs, but I am unable >to connect them to the network. I am running a Debian dom0 with Xen >4.0.1. I am not seeing a xenbr0 interface in the output of "ifconfig", >but I do see peth0 and eth0. Running the command "brctl show" tells me >that eth0 is the bridge device. In my xend-config.sxp I did not name it >eth0, but instead said the following "(network-script ''network-bridge >antispoof=yes bridge=xenbr0'')." How do I create the xenbr0 interface >and have my VMs successfully connect to this bridge?Basically, forget the Xen bridge setup and let Debian do it. I think the Xen scripts are now acknowledged as possibly not the best in the world. Having looked at them, they seem terribly complicated for what little actually needs to be done. In /etc/network/interfaces put this stanza : iface eth0 inet static bridge_ports peth0 address 192.168.x.y netmask 255.255.255.0 gateway 192.168.x.z This will automatically create a bridge called eth0 and make peth0 an interface bound to it. In /etc/udev/rules.d/70-persistent-net.rules configure your interface to be named peth0 : SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="xx:xx:xx:77:bc:9d", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="peth0" In /etc/xen/xend-config.sxp, just make sure none of the network-script options are uncommented. It should now "just work" - configure your guests to have a IVF on the bridge and that''s it. If you have more than one interface, just rinse and repeat the above for each one. You do not have to use eth0, eth1, etc - I usually use something along the lines of ethext, ethbak, ethint, and so on so the names are easier to associate with networks (my hosts at work are connected to a minimum of 3 networks). -- 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
Tapas Mishra
2011-Aug-01 01:15 UTC
Re: [Xen-users] Configuring xen bridges and networking issues
On Sat, Jul 30, 2011 at 11:22 PM, Larry Ing <larry@lwi3.net> wrote:> I am trying to use bridged networking with my Xen VMs, but I am unable > to connect them to the network. I am running a Debian dom0 with Xen > 4.0.1. I am not seeing a xenbr0 interface in the output of "ifconfig", > but I do see peth0 and eth0. Running the command "brctl show" tells me > that eth0 is the bridge device. In my xend-config.sxp I did not name it > eth0, but instead said the following "(network-script ''network-bridge > antispoof=yes bridge=xenbr0'')." How do I create the xenbr0 interface > and have my VMs successfully connect to this bridge? > >Though I did use Debian also in past but it simply has made things more difficult to do. There is some thing known as virt-viewer install it on your Debian and create all your VMs and their settings etc from there.My sincere suggestion to you will be to go with CentOS or some thing RHEL kind of thing if you are newbie. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Walter Robert Ditzler
2011-Aug-01 01:35 UTC
RE: [Xen-users] Configuring xen bridges and networking issues
why changing distribution, debian does it very well. for performance reason I just defined a bridged interface: auto br0 iface br0 inet static address 10.41.10.41 netmask 255.255.255.0 network 10.41.10.0 broadcast 10.41.10.255 gateway 10.41.10.1 bridge_ports eth0 bridge_stp on bridge_maxwait 0 vif = [ ''bridge=br0,mac=xx:xx:xx:xx:xx:xx'' ] (network-script ''network-bridge antispoof=yes'') (vif-script vif-bridge) thanks walter -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Tapas Mishra Sent: Montag, 1. August 2011 03:16 To: Larry Ing Cc: xenList Subject: Re: [Xen-users] Configuring xen bridges and networking issues On Sat, Jul 30, 2011 at 11:22 PM, Larry Ing <larry@lwi3.net> wrote:> I am trying to use bridged networking with my Xen VMs, but I am unable > to connect them to the network. I am running a Debian dom0 with Xen > 4.0.1. I am not seeing a xenbr0 interface in the output of > "ifconfig", but I do see peth0 and eth0. Running the command "brctl > show" tells me that eth0 is the bridge device. In my xend-config.sxp > I did not name it eth0, but instead said the following > "(network-script ''network-bridge antispoof=yes bridge=xenbr0'')." How > do I create the xenbr0 interface and have my VMs successfully connect tothis bridge?> >Though I did use Debian also in past but it simply has made things more difficult to do. There is some thing known as virt-viewer install it on your Debian and create all your VMs and their settings etc from there.My sincere suggestion to you will be to go with CentOS or some thing RHEL kind of thing if you are newbie. _______________________________________________ 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
Larry Ing
2011-Aug-01 01:54 UTC
RE: [Xen-users] Configuring xen bridges and networking issues
Hmm... I assume you still have eth0 defined as something like this auto eth0 iface eth0 inet static address 192.168.1.100 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 If that is the case, I can''t make my host talk to the network. this is my configuration: auto eth0 iface eth0 inet static address 192.168.1.100 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 auto br0 iface br0 inet static address 10.10.10.100 netmask 255.255.255.0 network 10.10.10.0 broadcast 10.10.10.255 gateway 10.10.10.1 bridge_ports eth0 bridge_stp on bridge_maxwait 0 As far as switching distros... I would rather not considering I know debian better than any other distro. On Mon, 2011-08-01 at 03:35 +0200, Walter Robert Ditzler wrote:> why changing distribution, debian does it very well. for performance reason > I just defined a bridged interface: > > auto br0 > iface br0 inet static > address 10.41.10.41 > netmask 255.255.255.0 > network 10.41.10.0 > broadcast 10.41.10.255 > gateway 10.41.10.1 > bridge_ports eth0 > bridge_stp on > bridge_maxwait 0 > > > vif = [ ''bridge=br0,mac=xx:xx:xx:xx:xx:xx'' ] > > (network-script ''network-bridge antispoof=yes'') > (vif-script vif-bridge) > > thanks walter > > > > > -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Tapas Mishra > Sent: Montag, 1. August 2011 03:16 > To: Larry Ing > Cc: xenList > Subject: Re: [Xen-users] Configuring xen bridges and networking issues > > On Sat, Jul 30, 2011 at 11:22 PM, Larry Ing <larry@lwi3.net> wrote: > > I am trying to use bridged networking with my Xen VMs, but I am unable > > to connect them to the network. I am running a Debian dom0 with Xen > > 4.0.1. I am not seeing a xenbr0 interface in the output of > > "ifconfig", but I do see peth0 and eth0. Running the command "brctl > > show" tells me that eth0 is the bridge device. In my xend-config.sxp > > I did not name it eth0, but instead said the following > > "(network-script ''network-bridge antispoof=yes bridge=xenbr0'')." How > > do I create the xenbr0 interface and have my VMs successfully connect to > this bridge? > > > > > > Though I did use Debian also in past but it simply has made things more > difficult to do. > There is some thing known as virt-viewer install it on your Debian and > create all your VMs and their settings etc from there.My sincere suggestion > to you will be to go with CentOS or some thing RHEL kind of thing if you are > newbie. > > _______________________________________________ > 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_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Walter Robert Ditzler
2011-Aug-01 02:12 UTC
RE: [Xen-users] Configuring xen bridges and networking issues
no, eth0 is not directly defined, only enheritanced by br0. bellow my entire interface confih. I have 2 nic''s in my hp dl 320g6 server: *** auto lo iface lo inet loopback auto br0 iface br0 inet static address 10.41.10.41 netmask 255.255.255.0 network 10.41.10.0 broadcast 10.41.10.255 gateway 10.41.10.1 bridge_ports eth0 bridge_stp on bridge_maxwait 0 auto eth1 iface eth1 inet static address 10.255.255.1 netmask 255.255.255.252 network 10.255.255.0 broadcast 10.255.255.3 *** eth1 I only use for drbd sync and remus. thanks walter -----Original Message----- From: Larry Ing [mailto:larry@lwi3.net] Sent: Montag, 1. August 2011 03:54 To: Walter Robert Ditzler Cc: ''xenList'' Subject: RE: [Xen-users] Configuring xen bridges and networking issues Hmm... I assume you still have eth0 defined as something like this auto eth0 iface eth0 inet static address 192.168.1.100 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 If that is the case, I can''t make my host talk to the network. this is my configuration: auto eth0 iface eth0 inet static address 192.168.1.100 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 auto br0 iface br0 inet static address 10.10.10.100 netmask 255.255.255.0 network 10.10.10.0 broadcast 10.10.10.255 gateway 10.10.10.1 bridge_ports eth0 bridge_stp on bridge_maxwait 0 As far as switching distros... I would rather not considering I know debian better than any other distro. On Mon, 2011-08-01 at 03:35 +0200, Walter Robert Ditzler wrote:> why changing distribution, debian does it very well. for performance > reason I just defined a bridged interface: > > auto br0 > iface br0 inet static > address 10.41.10.41 > netmask 255.255.255.0 > network 10.41.10.0 > broadcast 10.41.10.255 > gateway 10.41.10.1 > bridge_ports eth0 > bridge_stp on > bridge_maxwait 0 > > > vif = [ ''bridge=br0,mac=xx:xx:xx:xx:xx:xx'' ] > > (network-script ''network-bridge antispoof=yes'') (vif-script > vif-bridge) > > thanks walter > > > > > -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Tapas > Mishra > Sent: Montag, 1. August 2011 03:16 > To: Larry Ing > Cc: xenList > Subject: Re: [Xen-users] Configuring xen bridges and networking issues > > On Sat, Jul 30, 2011 at 11:22 PM, Larry Ing <larry@lwi3.net> wrote: > > I am trying to use bridged networking with my Xen VMs, but I am > > unable to connect them to the network. I am running a Debian dom0 > > with Xen 4.0.1. I am not seeing a xenbr0 interface in the output of > > "ifconfig", but I do see peth0 and eth0. Running the command "brctl > > show" tells me that eth0 is the bridge device. In my > > xend-config.sxp I did not name it eth0, but instead said the > > following "(network-script ''network-bridge antispoof=yes > > bridge=xenbr0'')." How do I create the xenbr0 interface and have my > > VMs successfully connect to > this bridge? > > > > > > Though I did use Debian also in past but it simply has made things > more difficult to do. > There is some thing known as virt-viewer install it on your Debian and > create all your VMs and their settings etc from there.My sincere > suggestion to you will be to go with CentOS or some thing RHEL kind of > thing if you are newbie. > > _______________________________________________ > 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_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Larry Ing
2011-Aug-01 02:32 UTC
RE: [Xen-users] Configuring xen bridges and networking issues
Okay, I commented out my eth0 configuration and yet Debian(dom0) is unable to talk to the network. Is there something I am missing? I do have a similar bridge configuration. On Mon, 2011-08-01 at 04:12 +0200, Walter Robert Ditzler wrote:> no, eth0 is not directly defined, only enheritanced by br0. bellow my entire interface confih. I have 2 nic''s in my hp dl 320g6 server: > > *** > auto lo > iface lo inet loopback > > auto br0 > iface br0 inet static > address 10.41.10.41 > netmask 255.255.255.0 > network 10.41.10.0 > broadcast 10.41.10.255 > gateway 10.41.10.1 > bridge_ports eth0 > bridge_stp on > bridge_maxwait 0 > > auto eth1 > iface eth1 inet static > address 10.255.255.1 > netmask 255.255.255.252 > network 10.255.255.0 > broadcast 10.255.255.3 > *** > > eth1 I only use for drbd sync and remus. > > thanks walter > > > > -----Original Message----- > From: Larry Ing [mailto:larry@lwi3.net] > Sent: Montag, 1. August 2011 03:54 > To: Walter Robert Ditzler > Cc: ''xenList'' > Subject: RE: [Xen-users] Configuring xen bridges and networking issues > > Hmm... I assume you still have eth0 defined as something like this > > auto eth0 > iface eth0 inet static > address 192.168.1.100 > netmask 255.255.255.0 > network 192.168.1.0 > broadcast 192.168.1.255 > gateway 192.168.1.1 > > If that is the case, I can''t make my host talk to the network. > > this is my configuration: > > auto eth0 > iface eth0 inet static > address 192.168.1.100 > netmask 255.255.255.0 > network 192.168.1.0 > broadcast 192.168.1.255 > gateway 192.168.1.1 > auto br0 > iface br0 inet static > address 10.10.10.100 > netmask 255.255.255.0 > network 10.10.10.0 > broadcast 10.10.10.255 > gateway 10.10.10.1 > bridge_ports eth0 > bridge_stp on > bridge_maxwait 0 > > As far as switching distros... I would rather not considering I know debian better than any other distro. > > On Mon, 2011-08-01 at 03:35 +0200, Walter Robert Ditzler wrote: > > why changing distribution, debian does it very well. for performance > > reason I just defined a bridged interface: > > > > auto br0 > > iface br0 inet static > > address 10.41.10.41 > > netmask 255.255.255.0 > > network 10.41.10.0 > > broadcast 10.41.10.255 > > gateway 10.41.10.1 > > bridge_ports eth0 > > bridge_stp on > > bridge_maxwait 0 > > > > > > vif = [ ''bridge=br0,mac=xx:xx:xx:xx:xx:xx'' ] > > > > (network-script ''network-bridge antispoof=yes'') (vif-script > > vif-bridge) > > > > thanks walter > > > > > > > > > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Tapas > > Mishra > > Sent: Montag, 1. August 2011 03:16 > > To: Larry Ing > > Cc: xenList > > Subject: Re: [Xen-users] Configuring xen bridges and networking issues > > > > On Sat, Jul 30, 2011 at 11:22 PM, Larry Ing <larry@lwi3.net> wrote: > > > I am trying to use bridged networking with my Xen VMs, but I am > > > unable to connect them to the network. I am running a Debian dom0 > > > with Xen 4.0.1. I am not seeing a xenbr0 interface in the output of > > > "ifconfig", but I do see peth0 and eth0. Running the command "brctl > > > show" tells me that eth0 is the bridge device. In my > > > xend-config.sxp I did not name it eth0, but instead said the > > > following "(network-script ''network-bridge antispoof=yes > > > bridge=xenbr0'')." How do I create the xenbr0 interface and have my > > > VMs successfully connect to > > this bridge? > > > > > > > > > > Though I did use Debian also in past but it simply has made things > > more difficult to do. > > There is some thing known as virt-viewer install it on your Debian and > > create all your VMs and their settings etc from there.My sincere > > suggestion to you will be to go with CentOS or some thing RHEL kind of > > thing if you are newbie. > > > > _______________________________________________ > > 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 > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Larry Ing
2011-Aug-01 02:58 UTC
RE: [Xen-users] Configuring xen bridges and networking issues
Hmm... It seems to be magically working now... go figure. On Sun, 2011-07-31 at 19:32 -0700, Larry Ing wrote:> Okay, I commented out my eth0 configuration and yet Debian(dom0) is > unable to talk to the network. Is there something I am missing? I do > have a similar bridge configuration. > > On Mon, 2011-08-01 at 04:12 +0200, Walter Robert Ditzler wrote: > > no, eth0 is not directly defined, only enheritanced by br0. bellow my entire interface confih. I have 2 nic''s in my hp dl 320g6 server: > > > > *** > > auto lo > > iface lo inet loopback > > > > auto br0 > > iface br0 inet static > > address 10.41.10.41 > > netmask 255.255.255.0 > > network 10.41.10.0 > > broadcast 10.41.10.255 > > gateway 10.41.10.1 > > bridge_ports eth0 > > bridge_stp on > > bridge_maxwait 0 > > > > auto eth1 > > iface eth1 inet static > > address 10.255.255.1 > > netmask 255.255.255.252 > > network 10.255.255.0 > > broadcast 10.255.255.3 > > *** > > > > eth1 I only use for drbd sync and remus. > > > > thanks walter > > > > > > > > -----Original Message----- > > From: Larry Ing [mailto:larry@lwi3.net] > > Sent: Montag, 1. August 2011 03:54 > > To: Walter Robert Ditzler > > Cc: ''xenList'' > > Subject: RE: [Xen-users] Configuring xen bridges and networking issues > > > > Hmm... I assume you still have eth0 defined as something like this > > > > auto eth0 > > iface eth0 inet static > > address 192.168.1.100 > > netmask 255.255.255.0 > > network 192.168.1.0 > > broadcast 192.168.1.255 > > gateway 192.168.1.1 > > > > If that is the case, I can''t make my host talk to the network. > > > > this is my configuration: > > > > auto eth0 > > iface eth0 inet static > > address 192.168.1.100 > > netmask 255.255.255.0 > > network 192.168.1.0 > > broadcast 192.168.1.255 > > gateway 192.168.1.1 > > auto br0 > > iface br0 inet static > > address 10.10.10.100 > > netmask 255.255.255.0 > > network 10.10.10.0 > > broadcast 10.10.10.255 > > gateway 10.10.10.1 > > bridge_ports eth0 > > bridge_stp on > > bridge_maxwait 0 > > > > As far as switching distros... I would rather not considering I know debian better than any other distro. > > > > On Mon, 2011-08-01 at 03:35 +0200, Walter Robert Ditzler wrote: > > > why changing distribution, debian does it very well. for performance > > > reason I just defined a bridged interface: > > > > > > auto br0 > > > iface br0 inet static > > > address 10.41.10.41 > > > netmask 255.255.255.0 > > > network 10.41.10.0 > > > broadcast 10.41.10.255 > > > gateway 10.41.10.1 > > > bridge_ports eth0 > > > bridge_stp on > > > bridge_maxwait 0 > > > > > > > > > vif = [ ''bridge=br0,mac=xx:xx:xx:xx:xx:xx'' ] > > > > > > (network-script ''network-bridge antispoof=yes'') (vif-script > > > vif-bridge) > > > > > > thanks walter > > > > > > > > > > > > > > > -----Original Message----- > > > From: xen-users-bounces@lists.xensource.com > > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Tapas > > > Mishra > > > Sent: Montag, 1. August 2011 03:16 > > > To: Larry Ing > > > Cc: xenList > > > Subject: Re: [Xen-users] Configuring xen bridges and networking issues > > > > > > On Sat, Jul 30, 2011 at 11:22 PM, Larry Ing <larry@lwi3.net> wrote: > > > > I am trying to use bridged networking with my Xen VMs, but I am > > > > unable to connect them to the network. I am running a Debian dom0 > > > > with Xen 4.0.1. I am not seeing a xenbr0 interface in the output of > > > > "ifconfig", but I do see peth0 and eth0. Running the command "brctl > > > > show" tells me that eth0 is the bridge device. In my > > > > xend-config.sxp I did not name it eth0, but instead said the > > > > following "(network-script ''network-bridge antispoof=yes > > > > bridge=xenbr0'')." How do I create the xenbr0 interface and have my > > > > VMs successfully connect to > > > this bridge? > > > > > > > > > > > > > > Though I did use Debian also in past but it simply has made things > > > more difficult to do. > > > There is some thing known as virt-viewer install it on your Debian and > > > create all your VMs and their settings etc from there.My sincere > > > suggestion to you will be to go with CentOS or some thing RHEL kind of > > > thing if you are newbie. > > > > > > _______________________________________________ > > > 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 > > > > > > > > > > _______________________________________________ > 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
Matt Richardson
2011-Aug-01 16:02 UTC
Re: [Xen-users] Configuring xen bridges and networking issues
On Sun, Jul 31, 2011 at 7:58 PM, Larry Ing <larry@lwi3.net> wrote:> Hmm... It seems to be magically working now... go figure.I use the same set up as Walter. The configuration is complicated enough that making a change in the interfaces file requires a restart, restarting networking isn''t enough. Could be that I just don''t know the magic to make it happen without a restart. Anyway, I have a couple of servers with multiple interfaces, with each interface having its own bridge entry which works very well. -- Matt _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Walter
2011-Aug-01 16:59 UTC
Re: [Xen-users] Configuring xen bridges and networking issues
matt, normally ifdown -a and ifup -a should do the job, at least it does with me. dont foret to bring up the bridge after, ifup br0 thanks walter On 01.08.2011, at 18:02, Matt Richardson <shortpath@gmail.com> wrote:> On Sun, Jul 31, 2011 at 7:58 PM, Larry Ing <larry@lwi3.net> wrote: >> Hmm... It seems to be magically working now... go figure. > > > > I use the same set up as Walter. The configuration is complicated > enough that making a change in the interfaces file requires a restart, > restarting networking isn''t enough. Could be that I just don''t know > the magic to make it happen without a restart. Anyway, I have a > couple of servers with multiple interfaces, with each interface having > its own bridge entry which works very well. > > > -- > Matt_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Simon Hobson
2011-Aug-01 17:35 UTC
Re: [Xen-users] Configuring xen bridges and networking issues
Matt Richardson wrote:>I use the same set up as Walter. The configuration is complicated >enough that making a change in the interfaces file requires a restart, >restarting networking isn''t enough. Could be that I just don''t know >the magic to make it happen without a restart. Anyway, I have a >couple of servers with multiple interfaces, with each interface having >its own bridge entry which works very well.I find it''s more reliable if you remember to bring an interface down before altering it, and then bring it back up. Obviously you have a problem if there are guests attached to a bridge when you try to remove it - could that be your problem ? -- 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
Walter
2011-Aug-01 17:56 UTC
Re: [Xen-users] Configuring xen bridges and networking issues
you might see if a process is attached with lsof | grep IPv4 and kill it, /etc/init.d/xend restart thanks walter On 01.08.2011, at 19:35, Simon Hobson <linux@thehobsons.co.uk> wrote:> Matt Richardson wrote: > >> I use the same set up as Walter. The configuration is complicated >> enough that making a change in the interfaces file requires a restart, >> restarting networking isn''t enough. Could be that I just don''t know >> the magic to make it happen without a restart. Anyway, I have a >> couple of servers with multiple interfaces, with each interface having >> its own bridge entry which works very well. > > I find it''s more reliable if you remember to bring an interface down before altering it, and then bring it back up. Obviously you have a problem if there are guests attached to a bridge when you try to remove it - could that be your problem ? > > -- > 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
Matt Richardson
2011-Aug-02 22:57 UTC
Re: [Xen-users] Configuring xen bridges and networking issues
On Mon, Aug 1, 2011 at 10:56 AM, Walter <ditwal001@gmail.com> wrote:> you might see if a process is attached with lsof | grep IPv4 and kill it, /etc/init.d/xend restart > > > thanks walter > > > > On 01.08.2011, at 19:35, Simon Hobson <linux@thehobsons.co.uk> wrote: > >> Matt Richardson wrote: >> >>> I use the same set up as Walter. The configuration is complicated >>> enough that making a change in the interfaces file requires a restart, >>> restarting networking isn''t enough. Could be that I just don''t know >>> the magic to make it happen without a restart. Anyway, I have a >>> couple of servers with multiple interfaces, with each interface having >>> its own bridge entry which works very well. >> >> I find it''s more reliable if you remember to bring an interface down before altering it, and then bring it back up. Obviously you have a problem if there are guests attached to a bridge when you try to remove it - could that be your problem ? >> >> -- >> Simon Hobson >>Thanks for the tips, I''ll try it on the next system I bring up. It''s usually only an issue when I install from scratch, so I haven''t spent much time working it out. I get the bridge attached to eth0 before installing any VMs and once it''s set I don''t usually have to touch it, but Simon raises a good point that I''ll keep in mind next time I do have to mess with it. -- Matt _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users