<?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"
	>

<channel>
	<title>blog.scottlowe.org &#187; Networking</title>
	<atom:link href="http://blog.scottlowe.org/category/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.scottlowe.org</link>
	<description>The weblog of an IT pro specializing in virtualization, storage, and servers</description>
	<pubDate>Wed, 03 Dec 2008 19:43:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Viscosity, a Mac OpenVPN Client</title>
		<link>http://blog.scottlowe.org/2008/11/19/viscosity-a-mac-openvpn-client/</link>
		<comments>http://blog.scottlowe.org/2008/11/19/viscosity-a-mac-openvpn-client/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 23:51:48 +0000</pubDate>
		<dc:creator>slowe</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Macintosh]]></category>

		<category><![CDATA[Networking]]></category>

		<category><![CDATA[BSD]]></category>

		<category><![CDATA[IPSec]]></category>

		<category><![CDATA[OSS]]></category>

		<guid isPermaLink="false">http://blog.scottlowe.org/2008/11/19/viscosity-a-mac-openvpn-client/</guid>
		<description><![CDATA[If you use OpenVPN and need a good OpenVPN client for Mac&#160;OS&#160;X, look no further than <a href="http://www.viscosityvpn.com/index.html">Viscosity</a>.]]></description>
			<content:encoded><![CDATA[<p>So, I&#8217;ve been searching for a good way to establish connectivity to the lab at my office for a while. My first attempt was to work with one of our CCIEs at the office to establish an IPSec-based VPN against a Cisco router at the edge of the lab network, but despite our best efforts we couldn&#8217;t get the IPSec VPN client I was using, <a href="http://www.lobotomo.com/products/IPSecuritas/">IPSecuritas</a>, to connect and authenticate. No amount of fiddling would make it work.</p>
<p>We finally gave up on that and instead I went with an <a href="http://www.openbsd.org/">OpenBSD</a> box to which I could establish an SSH session and then tunnel traffic from there. That worked reasonably well, especially after I discovered the <a href="http://www.gnu.org/software/screen/">GNU Screen</a> utility. Talk about a handy little tool! Anyway, I continued using the SSH gateway for quite some time and I had resigned myself to living with the limitations.</p>
<p>Then a co-worker from the office casually mentions that he&#8217;s set up a Linux-based <a href="http://openvpn.net/">OpenVPN</a> server on another subnet in the lab (we have a range of different subnets for different engineers in the lab). He, too, is a Mac user, but still running Mac&#160;OS&#160;X 10.4 on an older 13&#8243; PowerBook G4 and using the <a href="http://code.google.com/p/tunnelblick/">Tunnelblick</a> OpenVPN client. I thought to myself, &#8220;Hey, this might actually work!&#8221;</p>
<p>Alas, some additional research indicated that Tunnelblick had some stability problems under Leopard, which I&#8217;m running on my MacBook Pro. Bummer! I continued to research the issue but didn&#8217;t bother trying to use the OpenVPN server until just a couple of weeks ago when I uncovered <a href="http://www.viscosityvpn.com/index.html">Viscosity</a>.</p>
<p>Viscosity is a shareware, Leopard-only OpenVPN client. It supports <a href="http://growl.info/">Growl</a> notifications (which I very much like) and operates as a simple menu icon that easily allows you to connect or disconnect individual connections. Owing partially to how OpenVPN works, Viscosity uses (and includes) a TUN/TAP driver for OS X and creates a new TUN/TAP interface for every connection. This makes routing much easier and much more logical, in my opinion.</p>
<p>I&#8217;m so pleased with OpenVPN thus far, in fact, that I&#8217;m going to be setting up my own OpenVPN server here at the house.</p>
<p>My experience thus far has been quite positive. If you are looking for a good OpenVPN client for your Mac, Viscosity would be an excellent choice. At only $9 for a license, it&#8217;s well worth it.</p>
Similar Posts:<ul><li><a href="http://blog.scottlowe.org/2006/09/28/growlcamino/" rel="bookmark" title="Thursday, September 28, 2006">GrowlCamino</a></li>

<li><a href="http://blog.scottlowe.org/2005/07/05/yamb-yet-another-mac-browser/" rel="bookmark" title="Tuesday, July 5, 2005">YAMB (Yet Another Mac Browser)</a></li>

<li><a href="http://blog.scottlowe.org/2007/01/25/mac-bookmark-managers/" rel="bookmark" title="Thursday, January 25, 2007">Mac Bookmark Managers</a></li>

<li><a href="http://blog.scottlowe.org/2005/06/20/preferred-mac-os-x-applications/" rel="bookmark" title="Monday, June 20, 2005">Preferred Mac OS X Applications</a></li>

<li><a href="http://blog.scottlowe.org/2005/08/04/very-handy-add-on/" rel="bookmark" title="Thursday, August 4, 2005">Very Handy Add-On</a></li>
</ul><!-- Similar Posts took 13.497 ms -->]]></content:encoded>
			<wfw:commentRss>http://blog.scottlowe.org/2008/11/19/viscosity-a-mac-openvpn-client/feed/</wfw:commentRss>
		</item>
		<item>
		<title>A Couple More Articles Published</title>
		<link>http://blog.scottlowe.org/2008/11/02/a-couple-more-articles-published-2/</link>
		<comments>http://blog.scottlowe.org/2008/11/02/a-couple-more-articles-published-2/#comments</comments>
		<pubDate>Sun, 02 Nov 2008 22:16:40 +0000</pubDate>
		<dc:creator>slowe</dc:creator>
		
		<category><![CDATA[Networking]]></category>

		<category><![CDATA[Storage]]></category>

		<category><![CDATA[Virtualization]]></category>

		<category><![CDATA[NetApp]]></category>

		<category><![CDATA[ONTAP]]></category>

		<category><![CDATA[VMware]]></category>

		<category><![CDATA[Writing]]></category>

		<guid isPermaLink="false">http://blog.scottlowe.org/2008/11/02/a-couple-more-articles-published-2/</guid>
		<description><![CDATA[A couple more articles&#8212;these ones on NetApp deduplication in VMware environments and on physical network designs&#8212;have been published by SearchVMware.com.]]></description>
			<content:encoded><![CDATA[<p>So a couple more articles I wrote have been published by SearchVMware.com:</p>
<p><strong><a href="http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1335560,00.html">Deduplication enhancements improve NetApp on VMware ESX</a></strong></p>
<blockquote><p> NetApp storage area network (SAN) deduplication is useful for reducing storage requirements and saving space out of the box. When combined with a VMware Infrastructure 3 (VI3) or a virtual desktop environment, however, a few simple configurations can offer additional space savings and minimize the overhead of running deduplication on a storage array.</p></blockquote>
<p><strong><a href="http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1334966,00.html">Physical network design options for VI3</a></strong></p>
<blockquote><p> VMware ESX offers outstanding support for a wide variety of networking configurations. Users have the option of using network interface card (NIC) teaming with or without physical switch support; numerous VLAN configurations, three of which are described in more detail in <a href="http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1283036,00.html">VST, EST and VGT tagging tips</a>; support for both active and standby NICs, including per-port group active/standby NICs; and jumbo frame support. With all these options, it can be daunting to find the right configuration for your environment. In this article, we take a closer look at some network design decisions and how they play into the physical side of the network.</p></blockquote>
<p>As usual, these articles have been added to my <a href="http://delicious.com/slowe/">Delicious.com bookmark list</a> and tagged with &#8220;Articles&#8221;; you can view my full list of articles <a href="http://delicious.com/slowe/Articles">here</a>. (Oh, I added a video I shot while at VMworld 2008 to that list as well, in case you were wondering why it&#8217;s there.)</p>
Similar Posts:<ul><li><a href="http://blog.scottlowe.org/2008/05/20/provisioning-luns-for-use-with-deduplication/" rel="bookmark" title="Tuesday, May 20, 2008">Provisioning LUNs for Use with Deduplication</a></li>

<li><a href="http://blog.scottlowe.org/2008/03/31/quick-guide-to-setting-up-netapp-deduplication/" rel="bookmark" title="Monday, March 31, 2008">Quick Guide to Setting up NetApp Deduplication</a></li>

<li><a href="http://blog.scottlowe.org/2008/04/24/using-netapp-deduplication-with-block-storage/" rel="bookmark" title="Thursday, April 24, 2008">Using NetApp Deduplication with Block Storage</a></li>

<li><a href="http://blog.scottlowe.org/2008/11/03/netapp-adds-deduplication-to-their-vtl/" rel="bookmark" title="Monday, November 3, 2008">NetApp Adds Deduplication to Their VTL</a></li>

<li><a href="http://blog.scottlowe.org/2008/12/02/storage-short-take-4/" rel="bookmark" title="Tuesday, December 2, 2008">Storage Short Take #4</a></li>
</ul><!-- Similar Posts took 13.419 ms -->]]></content:encoded>
			<wfw:commentRss>http://blog.scottlowe.org/2008/11/02/a-couple-more-articles-published-2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Adventures of OmniFocus Bonjour Sync</title>
		<link>http://blog.scottlowe.org/2008/11/02/the-adventures-of-omnifocus-bonjour-sync/</link>
		<comments>http://blog.scottlowe.org/2008/11/02/the-adventures-of-omnifocus-bonjour-sync/#comments</comments>
		<pubDate>Sun, 02 Nov 2008 21:51:00 +0000</pubDate>
		<dc:creator>slowe</dc:creator>
		
		<category><![CDATA[Macintosh]]></category>

		<category><![CDATA[Networking]]></category>

		<category><![CDATA[Apple]]></category>

		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://blog.scottlowe.org/2008/11/02/the-adventures-of-omnifocus-bonjour-sync/</guid>
		<description><![CDATA[So, version 1.1 of <a href="http://www.omnigroup.com/applications/omnifocus/iphone/">OmniFocus for iPhone</a> finally got approved and pushed out to the App Store servers. This version of the application adds Bonjour sync over a Wi-Fi network with the Mac version of OmniFocus. Getting that to work on my network, though, was a bit of an adventure.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve made no secret of the fact that I use and enjoy <a href="http://www.omnigroup.com/applications/omnifocus/">OmniFocus</a>, a GTD application from the fine folks at OmniGroup. (Just for the record, I also use and enjoy <a href="http://www.omnigroup.com/applications/omnigraffle/">OmniGraffle</a> and <a href="http://www.omnigroup.com/applications/omnioutliner/">OmniOutliner</a>. Doesn&#8217;t that qualify me for a free license to <a href="http://www.omnigroup.com/applications/omniplan/">OmniPlan</a>?) In fact, one of the driving factors for purchasing my iPhone&#8212;aside from the fact that it&#8217;s cool and I wanted one&#8212;was the fact that OmniGroup also had an <a href="http://www.omnigroup.com/applications/omnifocus/iphone/">iPhone version of OmniFocus</a>.</p>
<p>In addition, version 1.5 of OmniFocus for Mac (OF/Mac)&#8212;currently at RC2 status&#8212;will synchronize with OmniFocus for iPhone (OF/iPhone) via MobileMe, WebDAV, or Bonjour on local Wi-Fi. This weekend, version 1.1 of OF/iPhone finally got approved and pushed out to the App Store servers. The new version adds Bonjour sync over local Wi-Fi, meaning that it&#8217;s now possible to quickly and easily synchronize the OmniFocus database on my laptop with the OmniFocus database on my iPhone. Sweet! (Version 1.1 of OF/iPhone also improves performance and has a few other improvements as well.)</p>
<p>Unfortunately, in the late hours last night, I just couldn&#8217;t get things to work. No matter how hard I tried, OF/iPhone just wouldn&#8217;t synchronize with OF/Mac. It would see my laptop advertising via Bonjour, but wouldn&#8217;t synchronize. My first suspicion proved to be a good one: the IPFW firewall on my laptop. (I use a custom IPFW ruleset in addition to Little Snitch to control traffic moving into and out of my laptop.) I was able to confirm that the firewall was blocking the traffic with this command:</p>
<p><code>sudo ipfw show</code></p>
<p>Sure enough, I saw the default deny rule&#8217;s counters incrementing every time I tried to synchronize. With this command I quickly disabled the IPFW rules:</p>
<p><code>sudo ipfw flush</code></p>
<p>OK, that got me a bit farther, but OF/iPhone was still reporting an error. The error was different this time, though, so I was convinced that I had made some progress. Unsure of what could be wrong next, I tested a hunch and logged into the Squid proxy server that controls outbound HTTP/HTTPS traffic and checked the access logs. Bingo&#8212;OF/iPhone was hitting the proxy every time I tried to synchronize. But how to fix that? My network is configured such that the Cisco PIX firewall won&#8217;t allow any traffic out that doesn&#8217;t first go through the Squid proxy, so turning the proxy settings off on my iPhone would be a temporary fix at best. Nevertheless, to test my settings I disabled the proxy settings on the iPhone (under Settings &gt; Wi-Fi and scroll all the way to the bottom). That did it&#8212;OF/iPhone was now able to synchronize with my laptop. Rather quickly, too, might I add, which is a definite improvement over the WebDAV setup I&#8217;d been using previously.</p>
<p>But I was still left with two problems: a) the firewall on my laptop was disabled; and b) the proxy settings on my iPhone were disabled. So I set out to fix those two issues.</p>
<p>Fixing the firewall should be easy, right? Just find out what port OF/Mac listens on and create a firewall rule to allow the traffic. It would be easy, <em>except</em> for the fact that the port on which OF/Mac listens changes every time the application launches. OmniGroup, if you&#8217;re listening: change this to a static port, PLEASE! Or at least provide some sort of hidden preference that would allow geeks like me to make it use a static port. As it stands right now, I had to use a rule that opens up a broad range of ports. That really, <em>really</em> stinks. OK, firewall issue resolved.</p>
<p>The proxy issue proves to be more challenging. There&#8217;s no way to configure the proxy to ignore the traffic; that has to be done client side. Unless the full-blown version of Mac&#160;OS&#160;X, there&#8217;s no option in the iPhone to ignore certain network ranges or certain DNS domains. But&#8212;and here&#8217;s the kicker&#8212;the iPhone does support automatic proxy configuration via a PAC file. So I create a very simple PAC file like this:</p>
<p><code>function FindProxyForURL(url, host)<br />
{<br />
&#160;if (isInNet(host, &#8220;172.16.1.0&#8243;, &#8220;255.255.255.0&#8243;))<br />
&#160;&#160;{<br />
&#160;&#160;return &#8220;DIRECT&#8221;;<br />
&#160;&#160;}<br />
&#160;else<br />
&#160;&#160;{<br />
&#160;&#160;return &#8220;PROXY server.domain.com:3128&#8243;;<br />
&#160;&#160;}<br />
}</code></p>
<p>The first round of testing didn&#8217;t go so well; the Apache HTTPd configuration on my server didn&#8217;t allow files with a .PAC extension. Oops! After fixing that problem, testing from my laptop went very well. A few seconds later, I had my iPhone reconfigured with the PAC file. And it worked! I was able to successfully synchronize OF/iPhone with OF/Mac while still maintaing access to Internet-based resources. And since the PIX firewall won&#8217;t allow traffic direct from the iPhone to the Internet, I know that the proxy is still involved in those connections. Reviewing the Squid proxy&#8217;s access logs also confirmed that the iPhone was not hitting the proxy during synchronization attempts.</p>
<p>Problem all solved, right? Well&#8230;not exactly. I left the PAC configuration on my laptop until this morning, when I fired up <a href="http://www.adiumx.com/">Adium</a>. Bam! Adium throws an error message stating that it doesn&#8217;t support PAC files. I reconfigured my laptop back to my old configuration and testing the OF/iPhone-to-OF/Mac synchronization again, and it still worked. It appears that as long as the iPhone&#8217;s proxy configuration is correct, then the synchronization will work.</p>
<p>So, lessons learned:</p>
<ul>
<li>OF/Mac uses a dynamically assigned port on which it listens for synchronization requests. This means that users with an IPFW firewall configuration will have to open up a wide range of ports until OmniGroup gives us the option to statically assign a port. (Hint, hint&#8230;)</li>
<li>HTTP proxy settings on the iPhone will interfere with OF/iPhone synchronization, but that can be solved with a PAC file as described above.</li>
</ul>
<p>Other than this adventure, I am thus far quite pleased with the update to OF/iPhone. If you are unhappy with the earlier version&#8212;the most common complaint was speed, or lack thereof&#8212;you owe it to yourself to check out version 1.1. It&#8217;s much improved, in my opinion.</p>
Similar Posts:<ul><li><a href="http://blog.scottlowe.org/2008/09/29/omnifocus-for-iphone-first-impressions/" rel="bookmark" title="Monday, September 29, 2008">OmniFocus for iPhone First Impressions</a></li>

<li><a href="http://blog.scottlowe.org/2008/11/20/omnigraffle-and-omnifocus-updates/" rel="bookmark" title="Thursday, November 20, 2008">OmniGraffle and OmniFocus Updates</a></li>

<li><a href="http://blog.scottlowe.org/2005/11/28/ipfw-rules-for-bonjour/" rel="bookmark" title="Monday, November 28, 2005">ipfw Rules for Bonjour</a></li>

<li><a href="http://blog.scottlowe.org/2008/09/01/any-iphone-app-recommendations/" rel="bookmark" title="Monday, September 1, 2008">Any iPhone App Recommendations?</a></li>

<li><a href="http://blog.scottlowe.org/2007/06/08/how-do-non-geeks-fix-problems/" rel="bookmark" title="Friday, June 8, 2007">How Do Non-Geeks Fix Problems?</a></li>
</ul><!-- Similar Posts took 14.422 ms -->]]></content:encoded>
			<wfw:commentRss>http://blog.scottlowe.org/2008/11/02/the-adventures-of-omnifocus-bonjour-sync/feed/</wfw:commentRss>
		</item>
		<item>
		<title>More on VMware ESX NIC Utilization</title>
		<link>http://blog.scottlowe.org/2008/10/08/more-on-vmware-esx-nic-utilization/</link>
		<comments>http://blog.scottlowe.org/2008/10/08/more-on-vmware-esx-nic-utilization/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 20:03:36 +0000</pubDate>
		<dc:creator>slowe</dc:creator>
		
		<category><![CDATA[Networking]]></category>

		<category><![CDATA[Virtualization]]></category>

		<category><![CDATA[Cisco]]></category>

		<category><![CDATA[ESX]]></category>

		<category><![CDATA[IOS]]></category>

		<category><![CDATA[VLAN]]></category>

		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://blog.scottlowe.org/2008/10/08/more-on-vmware-esx-nic-utilization/</guid>
		<description><![CDATA[As a follow-up to <a href="http://blog.scottlowe.org/2008/07/16/understanding-nic-utilization-in-vmware-esx/">this discussion of NIC utilization</a>, here's another look at the behavior of various network configurations when applied to virtual machine networking traffic.]]></description>
			<content:encoded><![CDATA[<p>Earlier this year, I wrote an article about <a href="http://blog.scottlowe.org/2008/07/16/understanding-nic-utilization-in-vmware-esx/">NIC utilization in VMware ESX</a> in which I discussed some of the details around how VMware ESX uses NICs in various configurations. The testing that prompted that article was primarily centered around IP-based storage (software-based iSCSI and NFS), so naturally the discussion primarily centered around IP-based storage as well.</p>
<p>As a follow up to that article, I&#8217;ve been running some additional tests with a focus this time on the behavior of virtual machines (VMs) in configurations both with and without link aggregation. The results are very consistent with the findings from the previous set of tests, but with a few key items to keep in consideration when applied specifically to VMs.</p>
<h4>Without Link Aggregation</h4>
<p>As stated in the earlier article, using NIC teaming without link aggregation means the vSwitch is configured with one of these three load balancing settings:</p>
<ol>
<li>Route based on the originating virtual port ID</li>
<li>Route based on source MAC hash</li>
<li>Use explicit failover order</li>
</ol>
<p>The primary focus here is &#8220;Route based on the originating virtual port ID,&#8221; since that&#8217;s the default vSwitch setting and the recommended setting from VMware when not using link aggregation.</p>
<p>Just as all the VMware docs explain, the tests show that a VM will use only one uplink, regardless of how many different connections are involved, and it will stay on that uplink until the uplink fails, at which time the VM will be moved to a different uplink according to the NIC failover order configured for that port group or vSwitch.</p>
<p>There are, however, a few other things to consider:</p>
<ul>
<li>There is no guarantee that the VMs will be evenly distributed across the uplinks on a vSwitch or port group. Although I&#8217;ve seen references in the VMware documentation to indicate that VMs are balanced in some fashion (I could not find those references, however), real-world experience seems to indicate otherwise. In my tests, I had instances where four VMs were all &#8220;linked&#8221; (via their virtual port ID) to the same uplink.</li>
<li>It&#8217;s unclear at what point VMware ESX creates the link between the virtual port ID and the uplink. In my tests, I rebooted the guest OS and power cycled the VM only to have it come back on the same uplink again. Only a VMotion off the server and back again caused a VM to move to a new uplink. I&#8217;ve been trying to track down more information on the timing of the association between the virtual port ID and the uplink, but have thus far been unsuccessful.</li>
<li>There is no control over the placement of VMs onto uplinks without the use of multiple port groups. (Keep in mind that you can have multiple port groups corresponding to a single VLAN.)</li>
<li>Because multiple VMs could be assigned to the same uplink, and because users have no control over the placement of VMs onto uplinks, it&#8217;s quite possible for multiple VMs to be assigned to the same uplink, or for VMs to distributed unevenly across the uplinks. Organizations that will have multiple &#8220;network heavy hitters&#8221; on the same host and vSwitch may run into situations where those systems are all sharing the same network bandwidth.</li>
</ul>
<p>These considerations are not significant, but they are not insignificant, either. The workaround for the potential problems outlined above involves using multiple port groups with different NIC failover orders so as to have more fine-grained control over the placement of VMs on uplinks. In larger environments, however, this quickly becomes unwieldy. The final release of the Distributed vSwitch will help ease configuration management in this sort of situation, but that&#8217;s still out in the future yet.</p>
<h4>VM Networking with Link Aggregation</h4>
<p>Using NIC teaming with link aggregation means that the vSwitch is configured with &#8220;Route based on ip hash&#8221; and that the physical switch has been configured for EtherChannel or static 802.3ad/LACP.</p>
<p>&lt;aside&gt;By the way, static 802.3ad/LACP in the Cisco IOS world means the use of the &#8220;channel-group X mode on&#8221; command as opposed to &#8220;channel-group X mode active&#8221;; the first command uses static link aggregation whereas the second uses dynamic link aggregation. Static is supported; dynamic is not.&lt;/aside&gt;</p>
<p>In this environment, the tests showed exactly what we expected; traffic from VMs was distributed across the uplinks in a dynamic fashion based upon the source and destination IP addresses. While some of these things may be common sense, there are a few things to consider:</p>
<ul>
<li>Depending upon the number of uplinks, it&#8217;s certainly possible that some traffic streams may end up getting hashed onto the same uplink. One a traffic stream is placed onto an uplink, it won&#8217;t move off that uplink until the flow is complete.</li>
<li>The way in which outbound traffic from the VMs will be placed onto the uplinks won&#8217;t necessarily be the same as the way the physical switch places inbound traffic onto the uplinks. A good resource on how Cisco handles placing traffic onto members of an EtherChannel bundle is <a href="http://www.cisco.com/en/US/tech/tk389/tk213/technologies_tech_note09186a0080094714.shtml">this page</a>.</li>
<li>Multiple connections to or from a VM <em>might</em> utilize multiple uplinks but aren&#8217;t necessarily guaranteed to use multiple uplinks.</li>
</ul>
<p>Again, some of the points above are simple common sense, but they should be kept in mind nevertheless. If the workloads that are being hosted on VMware ESX are such that having more aggregate bandwidth would be beneficial, then using link aggregation is really the only way to do it. I suppose it would be possible to use NIC teaming inside the guest OS, assuming the VM was configured to use e1000 NICs, but I&#8217;ve never tested this configuration. (Anyone else tested it?)</p>
Similar Posts:<ul><li><a href="http://blog.scottlowe.org/2008/07/16/understanding-nic-utilization-in-vmware-esx/" rel="bookmark" title="Wednesday, July 16, 2008">Understanding NIC Utilization in VMware ESX</a></li>

<li><a href="http://blog.scottlowe.org/2008/09/05/vmware-esx-nic-teaming-and-vlan-trunking-with-hp-procurve/" rel="bookmark" title="Friday, September 5, 2008">VMware ESX, NIC Teaming, and VLAN Trunking with HP ProCurve</a></li>

<li><a href="http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/" rel="bookmark" title="Friday, September 5, 2008">Setting VMware ESX vSwitch Load Balancing Policy via CLI</a></li>

<li><a href="http://blog.scottlowe.org/2006/12/04/esx-server-nic-teaming-and-vlan-trunking/" rel="bookmark" title="Monday, December 4, 2006">ESX Server, NIC Teaming, and VLAN Trunking</a></li>

<li><a href="http://blog.scottlowe.org/2008/07/11/vmware-ha-configuration-notes/" rel="bookmark" title="Friday, July 11, 2008">VMware HA Configuration Notes</a></li>
</ul><!-- Similar Posts took 12.678 ms -->]]></content:encoded>
			<wfw:commentRss>http://blog.scottlowe.org/2008/10/08/more-on-vmware-esx-nic-utilization/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Now Cisco&#8217;s Participation in SVVP Becomes Clearer</title>
		<link>http://blog.scottlowe.org/2008/10/02/now-ciscos-participation-in-svvp-becomes-clearer/</link>
		<comments>http://blog.scottlowe.org/2008/10/02/now-ciscos-participation-in-svvp-becomes-clearer/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 13:35:14 +0000</pubDate>
		<dc:creator>slowe</dc:creator>
		
		<category><![CDATA[Microsoft]]></category>

		<category><![CDATA[Networking]]></category>

		<category><![CDATA[Virtualization]]></category>

		<category><![CDATA[Cisco]]></category>

		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.scottlowe.org/2008/10/02/now-ciscos-participation-in-svvp-becomes-clearer/</guid>
		<description><![CDATA[Back in August, Alessandro brought to our attention that Cisco was participating in SVVP. An article today from InfoWorld seems to provide the explanation as to why that took place.]]></description>
			<content:encoded><![CDATA[<p>Some while ago, it was noted that <a href="http://www.virtualization.info/2008/08/cisco-vmware-signs-microsoft.html">Cisco was signed up as a participant</a> in Microsoft&#8217;s Server Virtualization Validation Program (SVVP). Many wondered why&#8212;what did Cisco have up its sleeve?</p>
<p><a href="http://www.infoworld.com/article/08/10/02/Cisco_Microsoft_roll_out_server_networking_appliance_1.html">This article</a> today from InfoWorld seems to make the story much clearer:</p>
<blockquote><p>With the new product, called Windows Server on WAAS, branch offices can host services locally including Active Directory, Microsoft Print Services, Microsoft Domain Name System Server and Microsoft Dynamic Host Configuration Protocol Server. That can improve performance for branch workers and reduce costs related to wide area network connectivity and branch systems management. An IT administrator can remotely manage the Windows Server functions using Microsoft System Center.<br />
&#160;<br />
Cisco used embedded virtualization technology in its appliance to enable Windows Server 2008 to run on it.</p></blockquote>
<p>Now, the <em>real</em> question is this: what &#8220;embedded virtualization technology&#8221; did Cisco use?</p>
<p><b>UPDATE:</b> Based on the comments below, it looks like KVM is the technology Cisco chose to virtualize Windows Server on WAAS. Very interesting!</p>
Similar Posts:<ul><li><a href="http://blog.scottlowe.org/2006/04/18/microsoft-virtual-server-management-tool-being-readied/" rel="bookmark" title="Tuesday, April 18, 2006">Microsoft Virtual Server Management Tool Being Readied</a></li>

<li><a href="http://blog.scottlowe.org/2008/04/17/a-couple-more-articles-published/" rel="bookmark" title="Thursday, April 17, 2008">A Couple More Articles Published</a></li>

<li><a href="http://blog.scottlowe.org/2006/04/18/cisco-investing-in-file-virtualization/" rel="bookmark" title="Tuesday, April 18, 2006">Cisco Investing in File Virtualization</a></li>

<li><a href="http://blog.scottlowe.org/2008/06/10/vir353-planning-for-server-virtualization-with-windows-server-2008-hyper-v/" rel="bookmark" title="Tuesday, June 10, 2008">VIR353: Planning for Server Virtualization with Windows Server 2008 Hyper-V</a></li>

<li><a href="http://blog.scottlowe.org/2008/07/31/more-on-hyper-v-for-the-esx-engineer/" rel="bookmark" title="Thursday, July 31, 2008">More on Hyper-V for the ESX Engineer</a></li>
</ul><!-- Similar Posts took 13.120 ms -->]]></content:encoded>
			<wfw:commentRss>http://blog.scottlowe.org/2008/10/02/now-ciscos-participation-in-svvp-becomes-clearer/feed/</wfw:commentRss>
		</item>
		<item>
		<title>No Liveblog for TA2441</title>
		<link>http://blog.scottlowe.org/2008/09/18/no-liveblog-for-ta2441/</link>
		<comments>http://blog.scottlowe.org/2008/09/18/no-liveblog-for-ta2441/#comments</comments>
		<pubDate>Thu, 18 Sep 2008 18:06:20 +0000</pubDate>
		<dc:creator>slowe</dc:creator>
		
		<category><![CDATA[Networking]]></category>

		<category><![CDATA[Virtualization]]></category>

		<category><![CDATA[VMware]]></category>

		<category><![CDATA[VMworld2008]]></category>

		<guid isPermaLink="false">http://blog.scottlowe.org/2008/09/18/no-liveblog-for-ta2441/</guid>
		<description><![CDATA[I originally had TA2441, VI3 Networking Concepts and Best Practices, on my schedule, but upon a close review of the agenda it looks like this is all stuff I've seen before. In fact, it looks like stuff I've written about quite extensively, so I'm skipping out on this session. Sorry to disappoint anyone!]]></description>
			<content:encoded><![CDATA[<p>I originally had TA2441, VI3 Networking Concepts and Best Practices, on my schedule, but upon a close review of the agenda it looks like this is all stuff I&#8217;ve seen before. In fact, it looks like stuff I&#8217;ve written about quite extensively, so I&#8217;m skipping out on this session. Sorry to disappoint anyone!</p>
Similar Posts:<ul><li><a href="http://blog.scottlowe.org/2008/08/19/my-vmworld-2008-schedule/" rel="bookmark" title="Tuesday, August 19, 2008">My VMworld 2008 Schedule</a></li>

<li><a href="http://blog.scottlowe.org/2008/06/12/one-more-tech-ed-schedule-change/" rel="bookmark" title="Thursday, June 12, 2008">One More Tech-Ed Schedule Change</a></li>

<li><a href="http://blog.scottlowe.org/2007/08/27/my-vmworld-schedule/" rel="bookmark" title="Monday, August 27, 2007">My VMworld Schedule</a></li>

<li><a href="http://blog.scottlowe.org/2008/06/11/no-liveblogging-of-lunch-session/" rel="bookmark" title="Wednesday, June 11, 2008">No Liveblogging of Lunch Session</a></li>

<li><a href="http://blog.scottlowe.org/2008/06/12/small-tech-ed-schedule-change/" rel="bookmark" title="Thursday, June 12, 2008">Small Tech-Ed Schedule Change</a></li>
</ul><!-- Similar Posts took 12.827 ms -->]]></content:encoded>
			<wfw:commentRss>http://blog.scottlowe.org/2008/09/18/no-liveblog-for-ta2441/feed/</wfw:commentRss>
		</item>
		<item>
		<title>TA2644: Networking I/O Virtualization</title>
		<link>http://blog.scottlowe.org/2008/09/18/ta2644-networking-io-virtualization/</link>
		<comments>http://blog.scottlowe.org/2008/09/18/ta2644-networking-io-virtualization/#comments</comments>
		<pubDate>Thu, 18 Sep 2008 16:49:38 +0000</pubDate>
		<dc:creator>slowe</dc:creator>
		
		<category><![CDATA[Networking]]></category>

		<category><![CDATA[Virtualization]]></category>

		<category><![CDATA[VMware]]></category>

		<category><![CDATA[VMworld2008]]></category>

		<guid isPermaLink="false">http://blog.scottlowe.org/2008/09/18/ta2644-networking-io-virtualization/</guid>
		<description><![CDATA[TA2644 is a session titled Networking I/O Virtualization. This is technology and architecture discussion which provides a deep dive on the components involved in networking I/O virtualization and how it can be optimized by VMware's efforts.]]></description>
			<content:encoded><![CDATA[<p>This is the liveblog for TA2644, Networking I/O Virtualization, presented by Pankaj Thakkar, Howie Xu, and Sean Varley.</p>
<p>The session starts out with yet another overview of VDC-OS. This session will focus on technologies that fall into the vNetwork infrastructure vService. The agenda for the session includes networking I/O virtualization, virtualized I/O, and VMDirectPath.</p>
<p>Starting out, the presenter first defines what exactly networking I/O virtualization is. Networking I/O virtualization is providing muxing/demuxing packets among VMs and the physical network. VMs need to be decoupled from physical adapters, and the networking I/O virtualization must be fast and efficient.</p>
<p>Now that the audience has an idea of what networking I/O virtualization is, the presenter changes focus to talk about the architecture that provides I/O virtualization. First, there is a virtual device driver that can either model a real device (e1000, vlance) or that can model a virtualization-friendly device (vmxnet, a paravirtualized device). I&#8217;m glad to see the vendor refer to this as a paravirtualized device, since that&#8217;s really what it is.</p>
<p>Below the virtual device and virtual device driver, there is the virtual networking I/O stack. This is where features like software offloads, packet switching, NIC teaming, failover, load balancing, traffic shaping, etc., are found.</p>
<p>Finally, at the lowest layer, are the physical devices and their drivers.</p>
<p>The next discussion is tracing the life of a received packet through the virtualized I/O stack. After tracing the life of a packet, the presenter discusses some techniques to help reduce the overhead of network I/O. These techniques include zero copy TX, jumbo frames, TCP segmentation offload (large send offload and large received offload).</p>
<p>The problem with using jumbo frames, though, is that the entire network must be configured to support jumbo frames. Instead, the use of TSO (or LSO, as it is sometimes known) can help because it pushes the segmentation of data into standard size MTU segments down to the NIC hardware. This is fast, but even a software-only implementation of TSO can provide benefits.</p>
<p>(As a side note, it&#8217;s difficult to really understand the presenter; he has a very thick accent.)</p>
<p>On the receive side, the technology called NetQueue is intended to help improve performance and reduce overhead. When the NIC receives the packet, it classifies the packet into the appropriate per-VM queue and notifies the hypervisor. The presence of multiple queues allows this solution to scale with the number of cores present in the hardware. It also looks like NetQueue can be used in load balancing/traffic shaping, although I&#8217;m unclear exactly how as I didn&#8217;t understand what the presenter said.</p>
<p>Zero copy TX was discussed earlier (copy the packet from the VM directly to the NIC), but there was no discussion of zero copy RX. With NetQueue and VM MAC addresses being associated with the various queues, it&#8217;s also possible to do zero copy RX. The caveat: the guest can access the data before it is actually delivered to it.</p>
<p>The focus on the presentation now shifts to a discussion of VMDirectPath, or I/O passthrough. This technology initiative from VMware requires hardware I/O MMU to perform DMA address translation. In this scenario, the guest controls the physical hardware and the guest will have a driver for that specific piece of hardware. VMDirectPath also needs a way to provide a generic device reset; FLR (Function-Level Reset) is a PCI standard that provides this.</p>
<p>SR-IOV (Single Root I/O Virtualization) is a PCI standard that allows multiple VMs to share a single physical device. If I understand correctly, this means that VMDirectPath will allow multiple VMs to share a single physical device via SR-IOV. Part of SR-IOV is creating virtual functions (VF) that the guest sees and mapping those to physical functions (PF) that the physical hardware controls and sees.</p>
<p>Challenges with VMDirectPath include:</p>
<ul>
<li>Transparent VMotion: Because the guest controls the device, there&#8217;s no way to control device state, so VMotion won&#8217;t be possible. This is logical and fully expected, but certainly has an impact on the usefulness of this technology.</li>
<li>VM management: Users are now placed back into the issue of managing device drivers into VMs based on the hardware to which they are connected.</li>
<li>Isolation and security: A lot of the features provided by the hypervisor (VMsafe, MAC spoofing, promiscuous mode, VMware FT, etc.) are lost when using VMDirectPath.</li>
<li>No memory overcommitment: Physical devices will DMA into the guest memory, but this requires that memory overcommit is disabled so that this works.</li>
</ul>
<p>Although these limitations around VMDirectPath are significant, there still can be valid use cases. Consider appliance VMs or special purpose VMs, such as a VM to share local storage or a firewall VM, where technologies like VMotion or VMware FT aren&#8217;t necessary or aren&#8217;t desired.</p>
<p>Generation 2 of VMDirectPath will attempt to address the challenges described above. One way of accomplishing that is called &#8220;uniform passthrough,&#8221; in which there is a uniform hardware/software interface for the passthrough part. This allows a transparent switch between hardware and software from the hypervisor while the guest is not affected or even aware of the mode. This puts the control path under the control of the hypervisor, but bypasses the hypervisor for the data path.</p>
<p>This Gen2 implementation allows for migration because the mode is switched from direct to emulation transparently and without any special support within the guest OS.</p>
<p>Another way of implementing is described by Sean Varley of Intel. This method is called Network Plug-in Architecture. Most of the functionality in this solution is embedded inside the guest device driver, which typically would be VMware&#8217;s paravirtualized vmxnet driver. Sean underscores the need for SR-IOV support in order to really take advantage of VMDirectPath, because it doesn&#8217;t really scale otherwise.</p>
<p>This particular solution consists of a guest OS-specific shell and an IHV-specific hardware plug-in. The interface  of the guest OS-specific shell will be well-known and is the subject of a near-future joint disclosure between Intel and VMware. The plug-in will allow various other IHVs to write software that will allow their hardware to be used in this approach with VMDirectPath.</p>
<p>This plug-in also allows for emulated I/O, similar to what ESX offers today, in the event that SR-IOV support is not available or if the user does not want to use VMDirectPath. Upon initialization, the guest OS shell will load the appropriate plug-in and (where applicable) create a VF that maps onto a VMDirectPath-enabled physical NIC.</p>
<p>Migration in this scenario is enabled because the hypervisor remains in control of the state of the shell and the plug-in at all times. The hypervisor can reset the VF, migrate the VM, and then load a new plug-in on the destination via the initialization process described earlier.</p>
<p>The key advantages of this particular approach are IHV independence, driver containment, and hypervisor control. This enables IHV differentiation and removes the VM management headache described earlier (VMs won&#8217;t need hardware-specific drivers). Hypervisor control is maintained because the SR-IOV split model of VF/PF is maintained, and the hypervisor controls plug-in initialization and configuration.</p>
<p>The session ends with a sneak preview demonstration of a migration using the plug-in architecture and VMDirectPath, migrating a VM between an SR-IOV-enabled NIC and a non-enabled NIC on a separate host. The presenter showed how the vmxnet driver loaded the appropriate plug-in based on the underlying hardware.</p>
Similar Posts:<ul><li><a href="http://blog.scottlowe.org/2008/09/16/ta2668-vmware-esx-architectural-directions/" rel="bookmark" title="Tuesday, September 16, 2008">TA2668: VMware ESX Architectural Directions</a></li>

<li><a href="http://blog.scottlowe.org/2008/09/18/po1644-vmware-update-manager-performance-and-best-practices/" rel="bookmark" title="Thursday, September 18, 2008">PO1644: VMware Update Manager Performance and Best Practices</a></li>

<li><a href="http://blog.scottlowe.org/2008/06/12/vir358-hyper-v-architecture-scenarios-and-networking/" rel="bookmark" title="Thursday, June 12, 2008">VIR358: Hyper-V Architecture, Scenarios, and Networking</a></li>

<li><a href="http://blog.scottlowe.org/2006/03/14/problems-with-8021q/" rel="bookmark" title="Tuesday, March 14, 2006">Problems with 802.1Q</a></li>

<li><a href="http://blog.scottlowe.org/2007/09/13/vmworld-2007-ip-based-storage-sessions/" rel="bookmark" title="Thursday, September 13, 2007">VMworld 2007 IP-Based Storage Sessions</a></li>
</ul><!-- Similar Posts took 16.513 ms -->]]></content:encoded>
			<wfw:commentRss>http://blog.scottlowe.org/2008/09/18/ta2644-networking-io-virtualization/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Follow Up on the VDC-OS Announcement</title>
		<link>http://blog.scottlowe.org/2008/09/15/follow-up-on-the-vdc-os-announcement/</link>
		<comments>http://blog.scottlowe.org/2008/09/15/follow-up-on-the-vdc-os-announcement/#comments</comments>
		<pubDate>Mon, 15 Sep 2008 17:15:04 +0000</pubDate>
		<dc:creator>slowe</dc:creator>
		
		<category><![CDATA[Networking]]></category>

		<category><![CDATA[Storage]]></category>

		<category><![CDATA[Virtualization]]></category>

		<category><![CDATA[Cisco]]></category>

		<category><![CDATA[ESX]]></category>

		<category><![CDATA[ESXi]]></category>

		<category><![CDATA[VCB]]></category>

		<category><![CDATA[VMware]]></category>

		<category><![CDATA[VMworld2008]]></category>

		<guid isPermaLink="false">http://blog.scottlowe.org/2008/09/15/follow-up-on-the-vdc-os-announcement/</guid>
		<description><![CDATA[Now that I've hopefully clarified the quite cloudy (sorry, couldn't resist the pun) details about VDC-OS in <a href="http://blog.scottlowe.org/2008/09/15/vmwares-virtual-datacenter-os/">this earlier post</a>, I can follow the lead of a few other bloggers and discuss some specific features that will be present in VDC-OS.]]></description>
			<content:encoded><![CDATA[<p>Now that I&#8217;ve gotten through the <a href="http://blog.scottlowe.org/2008/09/15/vmwares-virtual-datacenter-os/">first part of discussing VMware&#8217;s VDC-OS announcement</a>&#8212;making sure that the message and vision is a bit clearer&#8212;I can focus on some of the specifics contained within the announcement. In other words, I can talk about new features. (That should <a href="http://www.yellow-bricks.com/2008/09/15/vmwares-first-announcements/">make Duncan happier</a>.)</p>
<ul>
<li>VMware Fault Tolerance (FT), formerly &#8220;Continuous Availability,&#8221; (demoed at VMworld 2007, described in <a href="http://blog.scottlowe.org/2007/09/13/vmworld-2007-day-3-keynote-liveblog/">my liveblog here</a>) provides real-time VM mirroring between two different hosts. If a host fails, the mirrored VM on the secondary host picks up automatically with no disruption to the users. Marathon Technologies is working on similar functionality for Citrix XenServer, and both companies are expected to deliver next year. If VMware wants a leg up on the competition, they need to deliver this first.</li>
<li>The Distributed vSwitch enables administrators to define network settings at the cluster level, instead of on a host-by-host basis. This is <strong>huge</strong> for larger shops. Define your port group once, and you&#8217;re done.</li>
<li>As has been <a href="http://rationalsecurity.typepad.com/blog/2008/09/vmworld-2008-introducing-ciscos-virtual-switch-for-vmware-esx.html">pointed out elsewhere</a>, Cisco is announcing the first third-party vSwitch for VMware ESX. Alessandro <a href="http://www.virtualization.info/2008/09/what-to-expect-at-vmworld-esx-40-beta.html">points out rumors</a> that it will run NX-OS and will be a distributed vSwitch. In any case, it will certainly bring hard-core Cisco shops closer to embracing VMware as it will give them end-to-end control over the networking environment, all the way down to the virtual port level within any given VMware ESX host.</li>
<li>vStorage Thin Provisioning will help on storage demands. I suspect this is just the use of thin provisioned VMDKs, but if anyone has any other information to share I&#8217;d love to hear it.</li>
<li>Similarly, vStorage Linked Clones just brings to VMware ESX a feature that VMware Workstation and VMware Lab Manager have had for a while.</li>
<li>VMware will finally enter the backup market with vCenter Data Recovery, which (to my understanding) will leverage VCB to provide a backup solution for the virtual infrastructure.</li>
</ul>
<p>That&#8217;s quite an impressive list of features slated to be included in VDC-OS. What I&#8217;m also interested in seeing, though, is how the underlying components of VDC-OS&#8212;VMware ESX and VirtualCenter/vCenter&#8212;are going to change. I&#8217;ve seen rumors of 64-bit VMkernel and Console OS, and Duncan himself points out linked vCenters (which is quite cool, might I add). I suppose that will be part of the &#8220;Tech Preview&#8221; sessions that are going on later this week.</p>
<p>OK, that&#8217;s it for now; need to run off for another session. Stay tuned here and on Twitter for more information!</p>
Similar Posts:<ul><li><a href="http://blog.scottlowe.org/2007/03/05/vmware-consolidated-backup/" rel="bookmark" title="Monday, March 5, 2007">VMware Consolidated Backup</a></li>

<li><a href="http://blog.scottlowe.org/2008/10/08/more-on-vmware-esx-nic-utilization/" rel="bookmark" title="Wednesday, October 8, 2008">More on VMware ESX NIC Utilization</a></li>

<li><a href="http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/" rel="bookmark" title="Friday, September 5, 2008">Setting VMware ESX vSwitch Load Balancing Policy via CLI</a></li>

<li><a href="http://blog.scottlowe.org/2008/01/20/recent-virtualization-links/" rel="bookmark" title="Sunday, January 20, 2008">Recent Virtualization Links</a></li>

<li><a href="http://blog.scottlowe.org/2008/08/28/virtualization-short-take-17/" rel="bookmark" title="Thursday, August 28, 2008">Virtualization Short Take #17</a></li>
</ul><!-- Similar Posts took 12.106 ms -->]]></content:encoded>
			<wfw:commentRss>http://blog.scottlowe.org/2008/09/15/follow-up-on-the-vdc-os-announcement/feed/</wfw:commentRss>
		</item>
		<item>
		<title>VMware ESX, NIC Teaming, and VLAN Trunking with HP ProCurve</title>
		<link>http://blog.scottlowe.org/2008/09/05/vmware-esx-nic-teaming-and-vlan-trunking-with-hp-procurve/</link>
		<comments>http://blog.scottlowe.org/2008/09/05/vmware-esx-nic-teaming-and-vlan-trunking-with-hp-procurve/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 15:22:17 +0000</pubDate>
		<dc:creator>slowe</dc:creator>
		
		<category><![CDATA[Networking]]></category>

		<category><![CDATA[Virtualization]]></category>

		<category><![CDATA[ESX]]></category>

		<category><![CDATA[Hardware]]></category>

		<category><![CDATA[HP]]></category>

		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://blog.scottlowe.org/2008/08/26/vmware-esx-nic-teaming-and-vlan-trunking-with-hp-procurve/</guid>
		<description><![CDATA[In an earlier article, I described how to use NIC teaming/link aggregation and VLAN trunking between VMware ESX and Cisco Catalyst switches. In this version, I'll describe the same configuration but for use with HP ProCurve switches.]]></description>
			<content:encoded><![CDATA[<p>In an earlier article about <a href="http://blog.scottlowe.org/2006/12/04/esx-server-nic-teaming-and-vlan-trunking/">VMware ESX, NIC teaming, and VLAN trunking</a>, I described what the configuration should look like if one were using these features with Cisco switch hardware. It&#8217;s been a quite popular post, one I will probably need to update soon.</p>
<p>In this article, I&#8217;d like to discuss how to do the same thing, but using HP ProCurve switch hardware. The article is broken into three sections: using VLANs, using link aggregation (NIC teaming), and using both together.</p>
<h2>Using VLAN Trunking</h2>
<p>To my Cisco-oriented mind, VLANs with ProCurve switches are handled quite differently. Port-based VLANs, in which individual ports are assigned to one or more VLANs, allow a switch port to participate in that VLAN as either an <em>untagged</em> fashion or in a <em>tagged</em> fashion.</p>
<p>The difference here is really simpler than it may seem: the untagged VLAN can be considered the &#8220;native VLAN&#8221; from the Cisco world, meaning that the VLAN tags are not added to packets traversing that port. Putting a port in a VLAN in untagged mode is essentially equivalent to making that port an access port in the Cisco IOS world. Only one VLAN can be marked as untagged, which makes sense if you think about it.</p>
<p>Any port groups that should receive traffic from the untagged VLAN need to have VLAN ID 0 (no VLAN ID, in other words) assigned.</p>
<p>A tagged VLAN, on the other hand, adds the 802.1q VLAN tags to traffic moving through the port, like a VLAN trunk. If a user wants to use VST (virtual switch tagging) to host multiple VLANs on a single VMware ESX host, then the ProCurve ports need to have those VLANs marked as tagged. This will ensure that the VLAN tags are added to the packets and that VMware ESX can direct the traffic to the correct port group based on those VLAN tags.</p>
<p>In summary:</p>
<ul>
<li>Assign VLAN ID 0 to all port groups that need to receive traffic from the untagged VLAN (remember that a port can only be marked as untagged for a single VLAN). This correlates to the discussion about <a href="http://blog.scottlowe.org/2007/11/13/esx-server-and-the-native-vlan/">VMware ESX and the native VLAN</a>, in which I reminded users that port groups intended to receive traffic for the native VLAN should not have a VLAN ID specified.</li>
<li>Be sure that ports are marked as tagged for all other VLANs that VMware ESX should see. This will enable the use of VST and multiple port groups, each configured with an appropriate VLAN ID. (By the way, if users are unclear on VST vs. EST vs. VGT, see <a href="http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1283036,00.html">this article</a>.)</li>
<li>VLANs that VMware ESX should not see at all should be marked as &#8220;No&#8221; in the VLAN configuration of the ProCurve switch for those ports.</li>
</ul>
<h2>Using Link Aggregation</h2>
<p>There&#8217;s not a whole lot to this part. In the ProCurve configuration, users will mark the ports that should participate in link aggregation as part of a trunk (say, Trk1) and then set the trunk type. Here&#8217;s the only real gotcha: the trunk must be configured as type &#8220;Trunk&#8221; and not type &#8220;LACP&#8221;.</p>
<p>In this context, LACP refers to dynamic LACP, which allows the switch and the server to dynamically negotiate the number of links in the bundle. VMware ESX doesn&#8217;t support dynamic LACP, only static LACP. To do static LACP, users will need to set the trunk type to Trunk.</p>
<p>Then, as has been discussed elsewhere in great depth, configure the VMware ESX vSwitch&#8217;s load balancing policy to &#8220;Route based on ip hash&#8221;. Once that&#8217;s done, everything should work as expected. This blog entry gives the <a href="http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/">CLI command to set the vSwitch load balancing policy</a>, which would be necessary if configuring vSwitch0. For all other vSwitches, the changes can be made via VirtualCenter.</p>
<p>That&#8217;s really all there is to making link aggregation work between an HP ProCurve switch and VMware ESX.</p>
<h2>Using VLANs and Link Aggregation Together</h2>
<p>This section exists only to point out that when a trunk is created, the VLAN configuration for the members of that trunk disappears, and the trunk must be configured directly for VLAN support. In fact, users will note that the member ports don&#8217;t even appear in the list of ports to be configured for VLANs; only the trunks themselves appear.</p>
<p>Key point to remember: apply your VLAN configurations <em>after</em> your trunking configuration, or else you&#8217;ll just have to do it all over again.</p>
<p>With this information, users should now be pretty well prepared to configure HP ProCurve switches in a VMware ESX environment. Feel free to post any questions, clarifications, or corrections in the comments below, and thanks for reading!</p>
Similar Posts:<ul><li><a href="http://blog.scottlowe.org/2007/11/13/esx-server-and-the-native-vlan/" rel="bookmark" title="Tuesday, November 13, 2007">ESX Server and the Native VLAN</a></li>

<li><a href="http://blog.scottlowe.org/2008/06/24/vlans-on-esx-with-nortel-switches/" rel="bookmark" title="Tuesday, June 24, 2008">VLANs on ESX with Nortel Switches</a></li>

<li><a href="http://blog.scottlowe.org/2006/04/17/vlans-and-port-groups/" rel="bookmark" title="Monday, April 17, 2006">VLANs and Port Groups</a></li>

<li><a href="http://blog.scottlowe.org/2008/03/07/configuration-for-protecting-vmotion/" rel="bookmark" title="Friday, March 7, 2008">Configuration for Protecting VMotion</a></li>

<li><a href="http://blog.scottlowe.org/2008/01/30/hp-virtualconnect-clarification/" rel="bookmark" title="Wednesday, January 30, 2008">HP VirtualConnect Clarification</a></li>
</ul><!-- Similar Posts took 14.210 ms -->]]></content:encoded>
			<wfw:commentRss>http://blog.scottlowe.org/2008/09/05/vmware-esx-nic-teaming-and-vlan-trunking-with-hp-procurve/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Setting VMware ESX vSwitch Load Balancing Policy via CLI</title>
		<link>http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/</link>
		<comments>http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 15:14:49 +0000</pubDate>
		<dc:creator>slowe</dc:creator>
		
		<category><![CDATA[Networking]]></category>

		<category><![CDATA[Virtualization]]></category>

		<category><![CDATA[ESX]]></category>

		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/</guid>
		<description><![CDATA[The topic of how to configure the load balancing policy for a vSwitch from the command line interface (CLI) seems to come up rather often, so here's the command to do that in VMware ESX 3.5 U2.]]></description>
			<content:encoded><![CDATA[<p>I see this question popping up a lot, so I thought I&#8217;d just throw up this quick blog entry with the command that&#8217;s necessary to set the load balancing policy for a VMware ESX vSwitch.</p>
<p>In VMware ESX 3.5 U2 (which users should be using if at all possible, now that <a href="http://blog.scottlowe.org/2008/09/03/vmware-esx-35-u2-validated-via-svvp/">it&#8217;s validated by Microsoft</a>), the command to do this is vmware-vim-cmd:</p>
<p><code>vmware-vim-cmd /hostsvc/net/vswitch_setpolicy<br />
&#8211;nicteaming-policy=loadbalance_ip vSwitch1</code></p>
<p>This command sets the vSwitch to use &#8220;Route based on ip hash&#8221;. To set the vSwitch back to &#8220;Route based on the originating virtual port ID&#8221;, use this command:</p>
<p><code>vmware-vim-cmd /hostsvc/net/vswitch_setpolicy<br />
&#8211;nicteaming-policy=loadbalance_srcid vSwitch1</code></p>
<p>Obviously, users will need to replace vSwitch1 with the appropriate vSwitch that needs to be configured. Note that this command is a bit different than in earlier versions, which used vimsh.</p>
<p>I hope this is useful!</p>
Similar Posts:<ul><li><a href="http://blog.scottlowe.org/2008/10/08/more-on-vmware-esx-nic-utilization/" rel="bookmark" title="Wednesday, October 8, 2008">More on VMware ESX NIC Utilization</a></li>

<li><a href="http://blog.scottlowe.org/2008/09/05/vmware-esx-nic-teaming-and-vlan-trunking-with-hp-procurve/" rel="bookmark" title="Friday, September 5, 2008">VMware ESX, NIC Teaming, and VLAN Trunking with HP ProCurve</a></li>

<li><a href="http://blog.scottlowe.org/2008/07/16/understanding-nic-utilization-in-vmware-esx/" rel="bookmark" title="Wednesday, July 16, 2008">Understanding NIC Utilization in VMware ESX</a></li>

<li><a href="http://blog.scottlowe.org/2006/12/04/esx-server-nic-teaming-and-vlan-trunking/" rel="bookmark" title="Monday, December 4, 2006">ESX Server, NIC Teaming, and VLAN Trunking</a></li>

<li><a href="http://blog.scottlowe.org/2008/03/11/identifying-esx-server-nics-in-blades/" rel="bookmark" title="Tuesday, March 11, 2008">Identifying ESX Server NICs in Blades</a></li>
</ul><!-- Similar Posts took 9.637 ms -->]]></content:encoded>
			<wfw:commentRss>http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
