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] 802.1Q VLAN vs xenbr0

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] 802.1Q VLAN vs xenbr0
From: Dariusz Malec <dariusz.malec@xxxxxxxxx>
Date: Wed, 05 Mar 2008 19:51:23 +0100
Delivery-date: Wed, 05 Mar 2008 10:53:20 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:openpgp:content-type:content-transfer-encoding; bh=RmmZUZWvAQce17cWKx2I4vxR56bWbpvf/esZ+65KWWU=; b=GieqHWR6KhXqE02z3mue3604p2wnjGjcMdXBb4NTwCiwzdASawm567nTQRKng3h6nwULHd4IRT0R1xeJ/WIvQiTJmoQZXa8zYiNF2fUENIxelYtqH3NsVYed7jgg/0EZ1V/tCqlDhG9a9Gp/ZM4FB8MIoF7mU08lHalvDDYGWaI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=K120+0RRVhSCShZ+COBlOlzC/pP8jV7YBA3GOGwERTjsofMWwuzJUViFHuqwrAZIWokkjA0o881SqgvsySocS/puuYYu9q3zb2RKZex26UJjkg8Swtz8K/EbqtAC4L3PQq2WtwEKwYQUTofu1Uq23nt7Ti4dT1rSwpePysZQUEs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1204741650.20400.26.camel@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>
Openpgp: id=27A3383F; url=http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x27A3383F
References: <1204741650.20400.26.camel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.9 (X11/20071207)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You can manualy create the bridge you need

brctl addbr xenbr0
btctl addif xenbr0 eth0.260

Probably you'll need to add some iptables rules to make the bridge
forward packages:

iptables -A FORWARD -m physdev --physdev-in tap+ -j ACCEPT
iptables -m physdev --physdev-out tap+ -j ACCEPT
iptables -m physdev --physdev-in eth0.260 -j ACCEPT
iptables -m physdev --physdev-out eth0.260 -j ACCEPT

I assume that you're using bridged network and you want to access
virtual machine from your vlan's

Tiago Cruz pisze:
> Hello,
> 
> I'm using 802.1Q VLAN [1] default on my Xen Server (RHEL5.1) but I can't
> see the interface xenbr0.
> 
> # cat /proc/net/vlan/config 
> VLAN Dev name  | VLAN ID
> Name-Type: VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD
> eth0.260       | 260  | eth0
> eth0.261       | 261  | eth0
> 
> Someone have some tip?
> 
> Thanks
> 
> [1] http://www.candelatech.com/~greear/vlan.html
> 

- --
Pozdrawiam Dariusz Malec
http://www.kos.wsiz.rzeszow.pl
http://www.kos.wsiz.rzeszow.pl/~dmalec
GG:1720216
JID:dmalec@xxxxxxxxxxxxxxxxxxxxxxxxxx

"Podwładny powinien przed obliczem przełożonego mieć wygląd lichy i
durnowaty, tak by swoim pojmowaniem istoty sprawy, nie peszyć przełożonego."
Ukaz Cara Rosji Piotra I z 9 grudnia 1708 roku

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHzuuqjT0NFyejOD8RAjhtAJ9oQXFC5pms3NBRMhIqSItvv1TPlACfYXgE
f6SgEm6sg3L7yoEpJ/p+NOc=
=jyL/
-----END PGP SIGNATURE-----

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