[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] xen and vlans


  • To: xen users mailing list <xen-users@xxxxxxxxxxxxxxxxxxx>
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.