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

[Xen-users] xen and vlans

To: xen users mailing list <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] xen and vlans
From: Manuel da Costa <datashark@xxxxxxxxx>
Date: Wed, 14 Dec 2005 21:34:21 +0000
Delivery-date: Wed, 14 Dec 2005 21:36:13 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=htit5PRM1Hi+LB8JbMByeK6IkhTHzuC2eahK1A/f7hyy/hzI/NRACVFUyLVOmGhu2csEhjRL2zjpoAp/yzTg37C3Dt0+tZMfMoly89KywYo1W8GqNbOK14/SxsUoH73iKopEPAYZ9JvAoqMKHdV9KlPnLLHtOkUGSudhLvWXixE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi all.


What is the canonical way of getting xen to fully work with 802.1q (vlans) ? After (re)searching i found many ways but so far none is working.

platform is gentoo (x86/32) and netwerk card a tg3. xen is v3.

my config is as follows ...

eth0 is  simply up (with no ip) and i created several eth0.x interfaces corresponding to several vlans.
eth0.10 is de 'default' vlan (i.e. default gw).

what i want is a way of each DomU connect to the world thru it's vlan bridge.

for instance ... for a domU i defined   bridge=xenbr0.10. and in /etc/xen/xend-config.sxp i defined

(network-script my-network-scripts)


contents of /etc/xen/scripts/my-network-scripts bellow

#!/bin/sh
set -x
dir=$(dirname "$0")
"$dir/network-bridge" vifnum=0.25 start
brctl addif xenbr0.25 eth0.25
"$dir/network-bridge" vifnum=0.10 start
brctl addif xenbr0.10 eth0.10
--x--

but i allways get an error saying that i need to increase the number loopbacks because i have reached the limit. Fact is that the limit is way higher 'cause i increased it (sucessfully) to... 100.

What am i doing wrong ?


Many Thanxs in advance

Best Regards

M.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>