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

Re: [Xen-users] Re: XCP networking

On Tuesday 22 February 2011 06:21:36 rvegas wrote:
> Thank you for your response. My server only has 2 nics. So i need to add
> more interfaces to this server, in order to setup vlans?

There's no native support handling the XenServer management interface on a 
VLAN network inside XenServer/XCP. But OpenVSwitch is able to handle that.

The management interface xenbrFOO is from openvswitchs point of view a simple 
switchport FOO, member of the vswitch/bridge FOO. We run our own vswitch 

What you have to do is tagging the xenbrFOO with the appropriate vlan tag.
We do that by calling configure_ovs() which is sourced from file 
/etc/init.d/ovscfg inside /etc/init.d/management-interface.


# ovs additional configuration 

MANAGEMENT_VLAN=<your management vlan id>

configure_ovs() {
    # place all the additional vswitch configuration stuff here

    ${OVS_CMD} --timeout=20 -- \
    set port xenbrFOO tag=${MANAGEMENT_VLAN}


# Bring up XenServer management interface
# chkconfig: 2345 13 76
# description: Bring up XenServer management interface

. /etc/init.d/functions
. /etc/init.d/ovscfg
start() {

But I think it's not a management vlan question if vlan 14 isn't forwarded, 
but vlan 12 is.

Hope that helps.

Xen-users mailing list



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