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] xen4.0 debian vlan config

To: Peter Braun <xenware@xxxxxxxxx>
Subject: Re: [Xen-users] xen4.0 debian vlan config
From: Christoph Kaminski <mangel@xxxxxx>
Date: Mon, 24 May 2010 01:49:11 +0200
Cc: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 23 May 2010 16:50:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTinulabARGsVh-9-XVzYNxA3d_jzRdCgfyK2KiGW@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTinulabARGsVh-9-XVzYNxA3d_jzRdCgfyK2KiGW@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4
you can do something like that in the /etc/network/interfaces:

auto eth0.2
auto eth0.5
auto eth0.15

iface eth0.2 inet manual
        mtu 1500
        vlan_raw_device eth0

iface eth0.5 inet manual
        mtu 1500
        vlan_raw_device eth0

iface eth0.15 inet manual
        mtu 1500
        vlan_raw_device eth0

auto xenbr2
auto xenbr5
auto xenbr15

iface xenbr2 inet static
        bridge_ports eth0.2
        bridge_maxwait 0
        bridge_stp off
        address 192.168.20.40
        netmask 255.255.255.0
        network 192.168.20.0
        broadcast 192.168.20.255

iface xenbr5 inet static
        bridge_ports eth0.5
        bridge_maxwait 0
        bridge_stp off
        address 192.168.50.40
        netmask 255.255.255.0
        network 192.168.50.0
        gateway 192.168.50.10
        broadcast 192.168.50.255

iface xenbr15 inet manual
        bridge_ports eth0.15
        bridge_maxwait 0
        bridge_stp off


Am 24.05.2010 01:34, schrieb Peter Braun:
Hello,

can anybody help me how to configure vlans?

There are vlans:

vlan2
vlan3
vlan30

Server has one nic - eth0.

vlan2 should be dom0 eth0(peth0) for management

Each vlan3 and vlan30 should be has its own bridge.

How to make it?



--

Greetz

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

<Prev in Thread] Current Thread [Next in Thread>