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-devel

RE: [Xen-devel] Patch fixing vlan handling when network-bridge scriptis

To: "Ian Jackson" <Ian.Jackson@xxxxxxxxxxxxx>, "Miroslav Rezanina" <mrezanin@xxxxxxxxxx>
Subject: RE: [Xen-devel] Patch fixing vlan handling when network-bridge scriptis used
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Thu, 19 Aug 2010 14:20:47 +1000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 18 Aug 2010 21:22:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <19564.1064.460057.337893@xxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <232221223.568081282131308987.JavaMail.root@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx><498751515.568541282131828529.JavaMail.root@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <19564.1064.460057.337893@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acs+8EbzBwW+Mtc6RPGczmiG0GqDlwAZSXyg
Thread-topic: [Xen-devel] Patch fixing vlan handling when network-bridge scriptis used
> 
> Miroslav Rezanina writes ("[Xen-devel] Patch fixing vlan handling when
> network-bridge script is used"):
> > We had problem using tagged vlans inside domU. Testing shows that
> > this is caused by changing network interfaces in network-bridge
> > script. Following patch should allow to use vlans in guest.
> 
> Thanks for reporting this.
> 
> This is just another way in which the network-bridge approach, of
> trying to transfer all the details from one interface to another,
> won't work well.
> 
> I think you would be much better served if you just used your
> operating system's features (/etc/network/interfaces on Debian) to set
> up the bridge and call it xenbr0, and disabled network-bridge
> entirely.
> 
> Rather than apply your patch, I would prefer to change network-bridge
> so that it explicitly fails when vlans are detected and tells you to
> do it the other way.
> 
> Anyone else have an opinion /
> 

I always set up networking in /etc/network/interfaces. I think that xend
doing it for you is nice but it breaks so easily that I wonder if it's
worth it at all. IMO, the default should be that xend doesn't touch the
bridge at all, but leave the option to do so in the config but commented
out.

Of course, you don't hear from the people that are all using it with no
problem at all...

James

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