<?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>Aaron&#039;s Worthless Words &#187; bonding</title>
	<atom:link href="http://aconaway.com/tag/bonding/feed/" rel="self" type="application/rss+xml" />
	<link>http://aconaway.com</link>
	<description>It&#039;s possible that someone somewhere needs to see this.</description>
	<lastBuildDate>Fri, 10 Feb 2012 02:36:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Server NIC Aggregation to a Cisco Switch</title>
		<link>http://aconaway.com/2009/04/14/server-nic-aggregation-to-a-cisco-switch/</link>
		<comments>http://aconaway.com/2009/04/14/server-nic-aggregation-to-a-cisco-switch/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 13:44:55 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bonding]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[etherchannel]]></category>
		<category><![CDATA[ethernet]]></category>
		<category><![CDATA[switch]]></category>
		<category><![CDATA[teaming]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=305</guid>
		<description><![CDATA[Have you even noticed that your new servers all have 2 NICs on the board?  At least all of them that I&#8217;ve seen in the last 3 years have.  A lot of server admin actually use them in a NIC teaming scenario where both NICs are used as one logical device &#8212; much the same as Etherchannel on a switch.  This provides some fault tolerance and availability in case of failure, which is good idea in most cases. There are a few different ways to configure teaming on the box (usually called bonding in Linux), and each has its own advantages and disadvantages.  The network dude(tte) may have to do some things on the switch side for some of them to work, though.  If you&#8217;re want to run in link aggregation mode (mode 4), for example, the switch ports need to be in the same channel group to work appropriately. Let&#8217;s look at mode 4 a little closer to see what we need to do.  The scenario is that you have eth0 plugged into F0/15 of a 2950 and eth1 is in F0/16.  You&#8217;ve seen the configuration for channelling between switches before, so you know the basics.  Put the ports [...]]]></description>
			<content:encoded><![CDATA[<p>Have you even noticed that your new servers all have 2 NICs on the board?  At least all of them that I&#8217;ve seen in the last 3 years have.  A lot of server admin actually use them in a NIC teaming scenario where both NICs are used as one logical device &#8212; much the same as Etherchannel on a switch.  This provides some fault tolerance and availability in case of failure, which is good idea in most cases.</p>
<p>There are a few different ways to configure teaming on the box (usually called <a title="Linux-ip.net -- Link Aggregation and High Availability with Bonding" href="http://linux-ip.net/html/ether-bonding.html">bonding</a> in Linux), and each has its own advantages and disadvantages.  The network dude(tte) may have to do some things on the switch side for some of them to work, though.  If you&#8217;re want to run in <a title="LinuxHorizon.ro -- Bonding (Port Trunking)" href="http://www.linuxhorizon.ro/bonding.html">link aggregation mode (mode 4)</a>, for example, the switch ports need to be in the same channel group to work appropriately.</p>
<p>Let&#8217;s look at mode 4 a little closer to see what we need to do.  The scenario is that you have <em>eth0</em> plugged into F0/15 of a 2950 and <em>eth1</em> is in F0/16.  You&#8217;ve seen the <a title="AConaway.com -- Getting Started with EtherChannel" href="http://aconaway.com/2008/04/18/getting-started-with-etherchannel/">configuration for channelling between switches</a> before, so you know the basics.  Put the ports in the same <em>channel-group</em> and configure the proper <em>Port-channel</em> interface to do the work.  In this case, we&#8217;re just configuring the ports to house a host instead of being trunks.</p>
<blockquote>
<pre>int F0/15
 channel-group 1

int F0/16
 channel-group 1

int Port-channel 1
 speed 100
 duplex full
 switchport
 switchport mode access</pre>
</blockquote>
<p>I detect at least one problem with our setup, though.  Both NICs are plugged into the same switch; what happens when the switch goes down?  The server goes away.  Logic should tell you, then, to put the NICs in different switches to fix that, but you can&#8217;t do Ethernchannel on two different switches.   The ports have to be in the same device for the aggregation to work.  What&#8217;s the fix?</p>
<p>You can look at getting a nice chassis switch and putting each NIC in different modules.  Modern IOS versions allow etherchanneling across modules, so, if one module fails, you still have that other.  That would do it, but I&#8217;m sure you don&#8217;t have the money for a 4500 in the budget, right?</p>
<p>Another solution is to use a couple <a title="Cisco.com -- Cisco Catalyst 3750 Series Switches - Products &amp; Services - Cisco Systems" href="http://www.cisco.com/en/US/products/hw/switches/ps5023/">3760s</a> which, when connected using the <a title="Wikipedia.com -- Cisco StackWise" href="http://en.wikipedia.org/wiki/Cisco_StackWise">StackWise</a> cable, are one logical device.  That gives you two separate switches that you can configure with the same channel group.  An upgrade to this solution is to use a pair of <a title="Cisco.com -- Cisco Catalyst 6500 Virtual Switching System 1440 - Products &amp; Services - Cisco Systems" href="http://www.cisco.com/en/US/products/ps9336/">6500s with VSS 1440 modules</a> in them so that you have a stack of 6500s!  I&#8217;m sure that&#8217;s not expensive at all, though.</p>
<p>Send any <span style="text-decoration: line-through;">white shoes</span> questions my way.</p>
<div class="wp-about-author-containter-around" style="background-color:#ffffff;"><div class="wp-about-author-pic"><img alt='' src='http://1.gravatar.com/avatar/14352aa939196349e4b9f2a272ca5112?s=100&amp;d=&amp;r=G' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="wp-about-author-text"><h3><a href='http://aconaway.com/author/jac/' title='Aaron Conaway'>Aaron Conaway</a></h3><p>I like to lean my head to the left, hit it with the palm of my right hand, and document what knowledge falls out.</p><p><a href='http://aconaway.com' title='Aaron Conaway'>Website</a> - <a href='http://aconaway.com/author/jac/' title='More posts by Aaron Conaway'>More Posts</a> </p></div></div>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2009/04/14/server-nic-aggregation-to-a-cisco-switch/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

