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] xen4.0 debian vlan config

To: Peter Braun <xenware@xxxxxxxxx>
Subject: Re: [Xen-users] xen4.0 debian vlan config
From: Christoph Kaminski <mangel@xxxxxx>
Date: Mon, 24 May 2010 10:58:44 +0200
Cc: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 24 May 2010 02:00:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTikicW4Y-xqyAnCQqBWigbw2tpzmKhwLZ3emKsSm@xxxxxxxxxxxxxx>
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: <AANLkTinulabARGsVh-9-XVzYNxA3d_jzRdCgfyK2KiGW@xxxxxxxxxxxxxx> <4BF9BEF7.1060501@xxxxxx> <AANLkTikicW4Y-xqyAnCQqBWigbw2tpzmKhwLZ3emKsSm@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4
In xend-config.sxp you need to turn off (comment out) the network-script and vif-script line.

if one vlan should be used in dom0 only you can use something like that:

auto eth0.2
iface eth0.2 inet manual
        mtu 1500
        vlan_raw_device eth0
        address 192.168.50.50
        netmask 255.255.255.0

without the bridge part.

If you want to use the bridges in a domU, you need this in domU cfg file (example):

vif = [ 'bridge=xenbr5, mac=00:16:3e:05:31:50', 'bridge=xenbr15, mac=00:16:3e:02:31:50' ]

With this setting you have 2 Interfaces in the domU. First tagged for vlan5 and second for vlan15.

Am 24.05.2010 01:56, schrieb Peter Braun:
Thank you.

And what about xend-config.sxp keep the "network-script network-bridge" ?

Howo to dedicate one vlan to dom0 form that eth0.2 eth0.5 eth0.15?

Peter




Greetz

PS: sorry for my english

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

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