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

Re: [Xen-users] xen4.0 debian vlan config



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


 


Rackspace

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