• Aucun résultat trouvé

XenServer VLAN Networking Document ID:

N/A
N/A
Protected

Academic year: 2022

Partager "XenServer VLAN Networking Document ID:"

Copied!
1
0
0

Texte intégral

(1)

XenServer VLAN Networking

Document ID: CTX123489 / Created On: 28 déc. 2009 / Updated On: 5 août 2013

This article provides a better understanding of the network functions for VLANs on the XenServer platform.

Background

Citrix XenServer connects to a switch trunk port when you want to use VLANs. VLANs allow a network administrator to segregate traffic for bandwidth or security purposes.

The following are a few good to know topics, but not mandatory:

Network Fundamentals

Citrix XenServer Administration Knowledge

Cisco IOS Switch Familiarity

Windows Server 2003 Networking Skills Components and Definitions

The following components and acronyms are used throughout this article:

XenServer - The host machine running XenServer software.

Virtual Machine (VM) - Software implementation of a computer.

Network Interface Card (NIC) - Physical network interface card attached to the host.

Switch - Device used to join multiple computers together.

Trunk Port - Port designated to handle many VLANs.

Virtual LAN - Group of hosts with a common broadcast domain.

About XenServer Networking

Refer to the XenServer Administrators Guide Version for creating VLANs networks through XenCenter.

XenServer allows a single physical network to support multiple logical VLAN networks used as broadcast domains.

Creating a VLAN in XenServer is done through the process of creating additional virtual interfaces that

correspond to a specific VLAN tag. This is done through the XenCenter Host Network tab by adding an External network name and assigning an NIC with a VLAN number.

Assign the XenServer Virtual Machines to a specific VLAN by adding the VLAN network created for the host.

Configuring the XenServer management interface on a VLAN network is not supported. Set the VLAN on the switch as shown in the following screen shot.

(2)

Procedure

To configure the switch on a VLAN network, you must configure it as follows:

Port connected to XenServer on the switch must be configured as trunk port.

Port on the switch must be configured for 802.1q encapsulation.

Port security cannot be set on the trunk port.

Port designated as trunk should be assigned a native VLAN; use 1 as default.

Note: If a Native VLAN is used on the switch trunk port, then you cannot assign that VLAN number to a Virtual Machine on the XenServer. Refer to the following example for a working tested model.

Example Cisco Configuration

The following is a lab setup for a XenServer to support VLANs with a Cisco 2950 Catalyst switch:

Server running XenServer

XenServer has two physical NICs (Network Interface Cards) installed on the XenServer (eth0 and eth1)

Cisco Catalyst 2950 configuration displayed

One port (Port 4) on switch is used for management and second (Port 9) is being used as trunk port

(3)

Using XenServer, we isolated the WinSrv2003 Virtual Machine to VLAN 181 with the following example.

In XenServer (Fig. 1), we have two physical network interfaces labeled eth0 and eth1. The NICs are used for two different functions; management communication and VLAN 181 traffic. We have built a Windows 2003 Virtual Machine with a VLAN network created on the host labeled New Network that is assigned VLAN 181. Upon creation of the network and a dedicated NIC the XenServer application automatically configures the appropriate bridge (Fig. 2) by adding the interface eth1.181 that is designated for VLAN 181.

Using bridges, XenServer can communicate with VLANs in a production environment by creating bridges to correspond to each physical interface and mapping it to the appropriate VLAN.

It is possible to capture the VLAN tags that are transmitted across the switch to the XenServer with the use of packet sniffing software with NICs that allow VLAN tags to be displayed.

More Information

For additional background or reference information, refer to your manufacturer switch manuals on how they relate to VLANs and 802.1q support.

This document applies to:

XenServer 5.5

XenServer 5.6

XenServer 6.0

XenServer 6.1.0

XenServer 6.2.0

Références

Documents relatifs

Plusieurs VLAN peuvent coexister simultanément sur un même commutateur réseau (sur les commutateur CISCO un VLAN par défaut est toujours présent, le VLAN 1).. Elle permet aux

Au niveau commutation de circuits, Open vSwitch 15 joue le rôle important, tandis qu'au niveau commutation de paquets, la table de routage du sous- système réseau

L'usage des réseaux locaux virtuels (VLANs) et du routage entre ces même réseaux locaux est devenu systématique dans les infrastructures d'interconnexion contemporaines?. Ce

However, Citrix can only support the operating systems listed in the XenServer 6.2.0 VM User's Guide and customers may be asked to switch to a supported OS before issues can

Q Can I install Licenses for other Citrix products on a Citrix License Server virtual appliance, or on the Citrix License Server software installed on Windows.. A: The Citrix

(oui, il prévient que c’est une commande obsolète mais pour l’instant elle est courante, et facile à utiliser) Ceci a pour effet de créer deux interfaces réseaux eth0.100 et

12.2(8)T This command was integrated into Cisco IOS Release 12.2(8)T on the Cisco 2600 series, Cisco 3600 series, and Cisco 3700 series routers.... vlan (VLAN

Use the spanning-tree portfast interface configuration command to enable the Port Fast feature on a port in all its associated VLANs. When the Port Fast feature is enabled, the