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/
Home Products Support Community News


RE: [Xen-users] VLan help! :D?

To: "Nicolas" <ngliksberg@xxxxxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] VLan help! :D?
From: "Kevin van Kuik" <kkuik@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 27 Mar 2007 12:21:21 +0200
Delivery-date: Tue, 27 Mar 2007 03:20:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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
Thread-index: Acdv24YkxIsIAaCmTAShx1KRTAOS7QAfOnoL
Thread-topic: [Xen-users] VLan help! :D?
Go to /etc/xen/scripts make a file vlan-network-bridge en put this in it:
vconfig set_name_type DEV_PLUS_VID_NO_PAD
vconfig add eth0 1
vconfig add eth0 3
vconfig add eth0 4
vconfig add eth0 5
dir=$(dirname "$0")
"$dir/network-bridge" "$@" netdev=eth0 vifnum=0 bridge=xenbr0V1
"$dir/network-bridge" "$@" netdev=eth0.2 vifnum=1 bridge=xenbr0V2
"$dir/network-bridge" "$@" netdev=eth0.3 vifnum=2 bridge=xenbr0V3
"$dir/network-bridge" "$@" netdev=eth0.4 vifnum=3 bridge=xenbr0V4
"$dir/network-bridge" "$@" netdev=eth0.5 vifnum=4 bridge=xenbr0V5

Go to /etc/xen/xend-config.sxp en change (network-script network-bridge) in (network-script vlan-network-bridge)
Restart the server and now you have vlan 1 to 5.
Regards Kevin
-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx on behalf of Nicolas
Sent: Mon 3/26/2007 21:18 PM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] VLan help! :D?

Hi all, i need config xen with this
___________                                                  __________
|VM1         |----------------bridge1-------------------|               |
|__________ |                                               
|               |
|               |-----BALBLA
|VM2         |                                                 |VM4       |
|__________ |-----------------bridge2------------------ |Firewall|
____________                                                 |        
|VM3         |                                                 
|              |
|__________ |-----------------bridge3------------------  |________|

is one-bridge-per-VLAN
Thanks my so is debian sarge and use Xen 3.0.3  thanks thanks thanks

Xen-users mailing list

Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>