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] e100 + Xen + VLAN -> VLANs don't work?

To: Tomasz Chmielewski <mangoo@xxxxxxxx>
Subject: Re: [Xen-users] e100 + Xen + VLAN -> VLANs don't work?
From: Timo Benk <timo.benk@xxxxxx>
Date: Fri, 02 Feb 2007 16:12:26 +0100
Cc: Daniele Palumbo <daniele@xxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 02 Feb 2007 07:13:07 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45C352FB.8030106@xxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Openpgp: id=67E2E5E9; url=http://m28s01.vlinux.de/timo_benk_gpg_key.asc
References: <45C32545.6060109@xxxxxxxx> <200702021302.27441.daniele@xxxxxxxxxxxx> <45C32B72.90408@xxxxxxxx> <200702021402.15168.daniele@xxxxxxxxxxxx> <45C33905.1040805@xxxxxxxx> <45C34463.50309@xxxxxx> <45C346C1.8000806@xxxxxx> <45C34C3C.6020108@xxxxxxxx> <45C34EC2.8000106@xxxxxx> <45C352FB.8030106@xxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.9 (X11/20061206)
Tomasz Chmielewski wrote:
> Timo Benk wrote:
> 
> (...)
> 
>> Script:
>>
>> #/bin/bash
>>
>> brctl delif xenbr0 peth0
>> brctl delif xenbr0 vif0.0
>>
>> ip l s xenbr0 down
>> brctl delbr xenbr0
>>
>> brctl addbr vlan10
>> brctl addbr vlan20
>> brctl addbr vlan30
>> ip l s vlan10 up
>> ip l s vlan20 up
>> ip l s vlan30 up
>>
>> modprobe 8021q
>> vconfig add peth0 10
>> vconfig add peth0 20
>> vconfig add peth0 30
>> ip l s peth0.10 up
>> ip l s peth0.20 up
>> ip l s peth0.30 up
>>
>> brctl addif vlan10 peth0.10
>> brctl addif vlan10 vif0.0
>>
>> ip l s eth0 mtu 1496
> 
> Hmm, you sure you didn't change anything / pasted the whole script?
> 
> # /etc/init.d/xend start   # (empty network-script)
> # bash -x script.vlans
> + brctl delif xenbr0 peth0
> interface peth0 does not exist!
> + brctl delif xenbr0 vif0.0
> interface vif0.0 does not exist!
> + ip l s xenbr0 down
> SIOCGIFFLAGS: No such device

Of course this script assumes that there is already a bridge set up
inside Domain-0, Default bridge xenbr0 with two interfaces vif0.0 and
peth0. That explains the errors.

> Question: do you set up VLANs in domU as well? I hope not, this is a
> wrong approach to VLANs.
No vlan setup inside the domSs. Just the MTU was changed in the
Domains.

Greetings,
-timo
-- 
Timo Benk - Jabber ID: fry@xxxxxxxxxxxx - ICQ ID: #414944731
PGP Public Key: http://m28s01.vlinux.de/timo_benk_gpg_key.asc


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

<Prev in Thread] Current Thread [Next in Thread>