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] Configuring xen bridges and networking issues

To: Walter Robert Ditzler <ditwal001@xxxxxxxxx>
Subject: RE: [Xen-users] Configuring xen bridges and networking issues
From: Larry Ing <larry@xxxxxxxx>
Date: Sun, 31 Jul 2011 19:32:31 -0700
Cc: 'xenList' <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 31 Jul 2011 19:33:50 -0700
Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lwi3.net; s=default; h=Content-Transfer-Encoding:Mime-Version:Message-ID:Date:Content-Type:References:In-Reply-To:Cc:To:From:Subject; bh=fWu4MmSoXVp85oknD0TbK8XCH/9hs9aWYn8hMx1zOC0=; b=vwOFrZY7W9n1UFYqcgeTYB0PlOq5SjGvNUZ/4IDv7DGjG+YbOSc0tN/jnwov8nXE5dUY4itq07PP1zF6LuknPvpLV1tGUElTvkfYbU0g8Uv2Ogkcq1tYY1ZRVcLWUb8j;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <!&!AAAAAAAAAAAYAAAAAAAAAOJK0u4CH31Kl5v1RPAzyrZCgQAAEAAAACPtHb1r49NAjS8AwUbSa6QBAAAAAA==@xxxxxxxxx>
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: <1312048370.3281.4.camel@Astonmartin-U> <CALKraOanWBpbFTrxq7nmB77x-jS7omst1-B=+fxAqeP6R8BCog@xxxxxxxxxxxxxx> <!&!AAAAAAAAAAAYAAAAAAAAAOJK0u4CH31Kl5v1RPAzyrZCgQAAEAAAACVJHMDZOyNDjbjPz08hXj0BAAAAAA==@xxxxxxxxx> <1312163651.8251.5.camel@Astonmartin-U> <!&!AAAAAAAAAAAYAAAAAAAAAOJK0u4CH31Kl5v1RPAzyrZCgQAAEAAAACPtHb1r49NAjS8AwUbSa6QBAAAAAA==@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxx] 
> 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@xxxxxxxxxxxxxxxxxxx
> > [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] 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@xxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
> > 
> > 
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
> 
> 
> 



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users