<?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>Brightbox Blog &#187; networking</title>
	<atom:link href="http://blog.brightbox.co.uk/tag/networking/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.brightbox.co.uk</link>
	<description></description>
	<lastBuildDate>Fri, 02 Dec 2011 12:56:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>RailsConf Europe 2008 Round-up</title>
		<link>http://blog.brightbox.co.uk/posts/railsconf-europe-2008-round-up</link>
		<comments>http://blog.brightbox.co.uk/posts/railsconf-europe-2008-round-up#comments</comments>
		<pubDate>Tue, 09 Sep 2008 12:53:22 +0000</pubDate>
		<dc:creator>Rahoul Baruah</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[railsconf]]></category>
		<category><![CDATA[railsconf europe]]></category>
		<category><![CDATA[railsconfeurope08]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=102</guid>
		<description><![CDATA[The time: Tuesday the 2nd September 2008, 9am CET. The place: The Maritim proArte Hotel, Friedrichstrasse, Berlin. The plan: Brightbox set up their booth and then have a leisurely stroll around Berlin, taking in the sights, sounds and Bratwurst, before a good night&#8217;s kip and a fantastic exhibition at RailsConf Europe. That was the plan. [...]]]></description>
			<content:encoded><![CDATA[<p><img class="content_image" src="http://farm4.static.flickr.com/3077/2827096711_d16d4d71b9_d.jpg" alt="" width="500" height="375" /></p>
<p>The time: Tuesday the 2nd September 2008, 9am CET.<br />
The place: The Maritim proArte Hotel, Friedrichstrasse, Berlin.<br />
The plan: Brightbox set up their booth and then have a leisurely stroll around Berlin, taking in the sights, sounds and Bratwurst, before a good night&#8217;s kip and a fantastic exhibition at RailsConf Europe.</p>
<p>That was the plan.  Unfortunately KLM conspired against us.  A two and a half hour journey rapidly expanded into a twenty three hour marathon, involving unidentifiable hotel food, a detour via Paris, lost luggage, hysterical, smelly geeks, truffle cake and &#8220;luxury&#8221; mojitos. We were also without Neil, who bravely volunteered to stay in England installing a load of new hardware in our new racks.</p>
<p><a href="http://en.oreilly.com/railseurope2008/public/content/home">RailsConf Europe</a> is pretty much the biggest Ruby on Rails event on our continent.  We were told there were about 800 attendees here (although RailsConf US in Portland, earlier in the year, had twice as many).  With that in mind Brightbox stepped up to become gold sponsors of the event, providing us with a booth between <a href="http://www.elctech.com/">ELC Technologies</a>, a global agile development shop, and <a href="http://www.fiveruns.com/">Five Runs</a>, the Rails profiling tool, who we <a href="http://www.brightbox.co.uk/about/partners#fiveruns">know quite well</a>.</p>
<p>We didn&#8217;t get the chance to see many sessions, but there was a pre-conference Q&amp;A session on Tuesday evening with David Heinemeier Hansson (DHH), Jeremy Kemper and Michael Koziarski. It was interesting to hear DHH praising 37signals&#8217; Xen virtualisation setup (this being the platform we also currently use), later on I chatted with him and explained how we&#8217;re working hard to get a production-ready Rails stack included with Ubuntu; which will help when setting up your servers, even if you don&#8217;t choose Brightbox.</p>
<p>DHH also opened the conference proper on Wednesday morning with his Keynote on dealing with legacy code.  This was interesting to me as, like most developers, I am often overwhelmed by the urge to rewrite code that I wrote a few months ago.  This was followed, later in the day, by Jeremy Kemper talking about performance improvements &#8211; in particular the new features in Rails that make use of the facilities that HTTP provides.</p>
<p>Overall, however, the consensus seemed to be that the talks were solid but uninspiring (apart from our very own <a href="http://www.monkeyhelper.com/">Rob Lee</a> with a talk on semantic markup, dressed in a Brightbox t-shirt).</p>
<p>At the booth things were mental &#8211; especially in the first break. All the free Brightbox t-shirts vanished in less than ten minutes, as did the &#8220;I love Ruby&#8221; stickers.  However, our giveaway was nowhere near as good as ELCs &#8211; they had free beer!</p>
<p>We did meet some of our existing customers (a few for the first time in real life) and a lot of prospects.  Interestingly, at least from our point of view, we saw a lot of interest in our Managed Cluster services (where we build and maintain a high availability cluster of boxes for you).</p>
<p>An evening out with a load of our friends from Yorkshire (the aforementioned <a href="http://www.monkeyhelper.com">Rob</a> and <a href="http://www.urbanwide.com">Deb</a>, <a href="http://fametastic.co.uk/">Louisa</a>, <a href="http://deaddeadgood.com">Paul</a> and Charmagne) ended my involvement with RailsConf (I had to fly back early because my babby was starting school) but John and Jeremy stayed on till the very end.</p>
<p>Overall, the travel was horrible, the food was great (I had the best burger I&#8217;ve ever eaten at a hotel just off Friedrichstrasse) and the conference was good.  Berlin is a magnificent city and we had a fantastic time with some old friends and made some new great new ones.  So that&#8217;s our story &#8211; how was it for you?</p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/railsconf-europe-2008-round-up/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>HowTo do Ethernet Bonding on Ubuntu &#8211; Properly</title>
		<link>http://blog.brightbox.co.uk/posts/howto-do-ethernet-bonding-on-ubuntu-properly</link>
		<comments>http://blog.brightbox.co.uk/posts/howto-do-ethernet-bonding-on-ubuntu-properly#comments</comments>
		<pubDate>Mon, 08 Sep 2008 18:30:50 +0000</pubDate>
		<dc:creator>Neil Wilson</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[howtos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=117</guid>
		<description><![CDATA[It&#8217;s amazing how quickly guides on the Internet go out of date. I suppose this one will be no exception. However as I&#8217;ve been looking around there doesn&#8217;t appear to be a good guide as to how to get bonded ethernet to work in Ubuntu using the network helper scripts. So I thought I&#8217;d scribble [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s amazing how quickly guides on the Internet go out of date. I suppose this one will be no exception. However as I&#8217;ve been looking around there doesn&#8217;t appear to be a good guide as to how to get bonded ethernet to work in Ubuntu using the network helper scripts. So I thought I&#8217;d scribble down what I know.</p>
<p>This guide is designed for the Intrepid Ibex version of Ubuntu (8.10) with a small addendum covering Hardy Heron (8.04.1).</p>
<p>The Debian/Ubuntu networking system is a bit opaque. It works via a default script in <code>/etc/network/interfaces</code> and is described in interfaces(5). (run <code>man interfaces</code> to read it).</p>
<p>This gives you all the standard entries, but it also points out that other packages can install scripts that extend the options the interfaces file understands. And that is how you configure Ethernet bonding.</p>
<h3>Configure your switch</h3>
<p>Almost certainly you will have to activate LACP on the relevant ports on your switch to get automatic bonding to work. How you do this depends on your switch. (On my test HP 1800-8G switch I just use the web interface and check a couple of boxes).</p>
<h3>For Intrepid and Hardy</h3>
<ol>
<li>Install the bonding enslave programs and network scripts:
<pre><code>apt-get install ifenslave</code></pre>
</li>
<li>Shutdown any active network interfaces you intend to use with bonding
<pre><code>sudo -s
ifdown eth0
ifdown eth1
etc, etc...</code></pre>
</li>
<li>Comment out the ethernet configurations from <code>/etc/network/interfaces</code>
<pre><code>#auto eth0
#iface eth0 inet dhcp</code></pre>
</li>
<li>Add in the bonding configuration into <code>/etc/network/interfaces</code>
<pre><code>auto bond0
iface bond0 inet dhcp
  slaves all
  bond-mode 4
  bond-miimon 100</code></pre>
</li>
<li>Bring up the interface with:
<pre><code>sudo ifup bond0</code></pre>
</li>
</ol>
<p>This brings up a bonded interface using the 802.3ad Link Aggregation Control Protocol (LACP) which is by far the easiest way of configuring a resilient trunk if your switch supports it (and even quite small switches do these days).</p>
<p>There are other modes and options available in the bonding driver all of which can now be specified in the <code>interfaces</code> file. Full gory details in the <code>bonding.txt.gz</code> file in the current <code>linux-doc</code> package.</p>
<p>Similarly you can specify which network interfaces you want to use as the slaves to the bonding driver e.g. <code>slaves eth0 eth1</code>. Look at the documentation in <code>/usr/share/doc/ifenslave-2.6/README.Debian</code> for more details.</p>
<h3>Extra Work for Hardy</h3>
<p>Hardy&#8217;s <code>ifenslave</code> scripts are a little more primitive than Intrepid. It doesn&#8217;t auto-load the bonding module the first time you try to use it and it doesn&#8217;t set the options automatically. You have to do that the old fashioned way.</p>
<ol>
<li>Create a  file called <code>bonding</code> in <code>/etc/modprobe.d</code> with the following config in it.
<pre><code>alias bond0 bonding
options bond0 mode=4 miimon=100</code></pre>
</li>
<li>Load the module into the kernel
<pre><code>sudo modprobe bond0</code></pre>
</li>
<li>Clear out any failed bond interface by running ifdown
<pre><code>sudo ifdown bond0</code></pre>
</li>
<li>Bring the bond interface up.
<pre><code>sudo ifup bond0</code></pre>
</li>
<li>Once you done this once, the system will ensure that the module is loaded automatically on subsequent reboots and the network brought up.</li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/howto-do-ethernet-bonding-on-ubuntu-properly/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

