<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>/proc/sys/net/blog &#187; virtualization</title>
	<atom:link href="http://momotonic.com/category/virtualization/feed/" rel="self" type="application/rss+xml" />
	<link>http://momotonic.com</link>
	<description>rants, tutorials and documents about everything server related</description>
	<lastBuildDate>Tue, 14 Jul 2009 15:55:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Citrix XenServer + VLAN Trunking setup (Cisco switch)</title>
		<link>http://momotonic.com/2009/06/23/citrix-xenserver-vlan-trunking-setup-cisco-switch/</link>
		<comments>http://momotonic.com/2009/06/23/citrix-xenserver-vlan-trunking-setup-cisco-switch/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 18:41:55 +0000</pubDate>
		<dc:creator>Mo</dc:creator>
				<category><![CDATA[citrix]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[vlan]]></category>
		<category><![CDATA[xen]]></category>
		<category><![CDATA[xenserver]]></category>
		<category><![CDATA[trunking]]></category>

		<guid isPermaLink="false">http://momotonic.com/?p=35</guid>
		<description><![CDATA[I have been involved with recent Citrix virtualization setups with our company and I have not see any clear tutorials on how to work with VLAN trunking and Citrix XenServer.  The advantage of using this is being able to use VLANs to separate your network but at the same time being able to do [...]]]></description>
			<content:encoded><![CDATA[<p>I have been involved with recent Citrix virtualization setups with our company and I have not see any clear tutorials on how to work with VLAN trunking and Citrix XenServer.  The advantage of using this is being able to use VLANs to separate your network but at the same time being able to do live migrations without losing connectivity.  These articles will be separated in a couple of parts, this part is mainly focused on setting up the trunking on the switch itself.  The trunking allows the XenServer to have, <em>technically</em>, presence on every VLAN, therefore when migrating servers, the internet connection does not stop working because the VLAN on the target server is different.  Hope it&#8217;s clear.</p>
<p>First of all, telnet to your switch, these instructions are for Cisco switches, that&#8217;s all I ever worked with anyways, heh.  All those instructions use IOS.</p>
<p>First of all you need to pick the port that you&#8217;ll be working on, make sure you have physical access to the server you&#8217;re going to be working with, I&#8217;m not responsible for some settings going poof and you having to drive down to your data center to fix the issue. <img src='http://momotonic.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>So, the interface that I will be working with is <code>FastEthernet1/8</code> &#8212; Enter configuration mode and go to the port</p>
<p><code>conf t<br />
int FastEthernet1/8</code></p>
<p>Enable trunking and 801q capsulation</p>
<p><code>switchport mode trunk<br />
switchport trunk encapsulation dot1Q<br />
switchport trunk native vlan 1000</code></p>
<p>Make sure the native VLAN is the same VLAN that the network was running on previously, read more information why here:</p>
<blockquote><p>To establish 802.1q trunking both sides must be in the same native VLAN this is because the encapsulation is not setup yet and the 2 switches must talk over an un-encapsulated link (native VLAN) to setup the encapsulation in the first place. Why this works is because neither side is encapsulating packets with its VLAN tag since they are both talking over their native VLAN, basicly neither side knows that the other side is in a different VLAN to begin with and they are just sending unencapsulated packets back and forth. So if you set a port on the core switch as native vlan 5 for example and connected a dumb switch to it vlan 5 traffic would go un encapsulated to the dumb switch and it can understand it but it will put it in its VLAN 1 ports there is no actual trunking going on. No 802.1q or ISL!<br />
<a href="http://forums.devshed.com/showpost.php?p=1613306&#038;postcount=2">juniperr @ DevShed</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://momotonic.com/2009/06/23/citrix-xenserver-vlan-trunking-setup-cisco-switch/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
