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

AW: [Xen-users] xen and vlans


  • To: <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Lockenvitz, Jan \(EXT\)" <Jan.Lockenvitz.extern@xxxxxxxxxxxxxx>
  • Date: Thu, 15 Dec 2005 09:14:38 +0100
  • Delivery-date: Thu, 15 Dec 2005 08:17:15 +0000
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcYA9j/3WMhm8c5MTr6M7RLIFUF2JAAUuTSg
  • Thread-topic: [Xen-users] xen and vlans

I think it should be sufficient to do as following:
 
- create and test the vlans as normal (i think you already did this)
- try to create the bridge as follows (for the first try without starting xend):
 

# network-bridge start netdev=vlan100 bridge=xenbr0

at least this was working on my debian testing installation but i have a problem now with incorrect tcp checksums in dom0 or domU.
See my post: http://lists.xensource.com/archives/html/xen-users/2005-12/msg00412.html

Please have a look whether you have the same problem.

Thanx,
Jan



Von: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] Im Auftrag von Manuel da Costa
Gesendet: Mittwoch, 14. Dezember 2005 22:34
An: xen users mailing list
Betreff: [Xen-users] xen and vlans

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®.