<?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>Professional Geekism &#187; Networking</title>
	<atom:link href="http://www.ninjabadger.net/category/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ninjabadger.net</link>
	<description>Ninjas. Badgers. Linux. Me.</description>
	<lastBuildDate>Wed, 17 Feb 2010 23:06:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>IPv6 on m0n0wall</title>
		<link>http://www.ninjabadger.net/2010/02/17/ipv6-on-m0n0wall/</link>
		<comments>http://www.ninjabadger.net/2010/02/17/ipv6-on-m0n0wall/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 23:05:18 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[m0n0wall]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.ninjabadger.net/?p=124</guid>
		<description><![CDATA[I finally got around to sending my first ping6 echos! Who knew I&#8217;d get replies on my first go?! My ADSL provider Andrews &#038; Arnold have provided me with a /48 IPv6 subnet, which seems somewhat wasteful at 2^80 addresses (throw that in your calculator) but certainly useful for testing nevertheless. Whilst slowly getting my [...]]]></description>
			<content:encoded><![CDATA[<p>I finally got around to sending my first ping6 echos! Who knew I&#8217;d get replies on my first go?!</p>
<p>My ADSL provider <a href="http://aaisp.net">Andrews &#038; Arnold</a> have provided me with a /48 IPv6 subnet, which seems somewhat wasteful at 2^80 addresses (throw that in your calculator) but certainly useful for testing nevertheless. Whilst slowly getting my head around the task that is variable-length subnetting of IPv6 ranges &#8211; painful at best &#8211; I decided to just throw in a /64 subnet and set a static gateway address on <a href="http://m0n0.ch/wall">m0n0wall</a>&#8216;s LAN interface to see if it would &#8216;just work&#8217;.</p>
<p>The result, is a working IPv6 LAN by simply enabling autoconfig from the m0n0wall box and telling Ubuntu&#8217;s Network Manager to use it. Et voila:</p>
<p><code>teh@desktop:~$ ifconfig eth0<br />
eth0      Link encap:Ethernet  HWaddr 00:01:29:fc:37:1d<br />
          inet addr:81.187.xxx.xxx  Bcast:81.187.xxx.xxx  Mask:255.255.255.240<br />
          inet6 addr: 2001:8b0:ff87:1:201:29ff:fefc:371d/64 Scope:Global<br />
          inet6 addr: fe80::201:29ff:fefc:371d/64 Scope:Link<br />
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br />
          RX packets:1616524 errors:0 dropped:0 overruns:0 frame:0<br />
          TX packets:2224946 errors:0 dropped:0 overruns:0 carrier:0<br />
          collisions:0 txqueuelen:1000<br />
          RX bytes:277202062 (277.2 MB)  TX bytes:519498762 (519.4 MB)<br />
          Interrupt:18</code></p>
<p>You&#8217;ll notice that the last 80 bits of my IPv6 address on this host were assigned via autoconfig, using part of my MAC address (the part that doesn&#8217;t correspond to a certain manufacturer, IIRC) as well as some randomly-generated bits, too.</p>
<p>And to make my night, ping6 worked straight away, too:</p>
<p><code>teh@desktop:~$ ping6 2001:08B0:FF88:0001::1<br />
PING 2001:08B0:FF88:0001::1(2001:8b0:ff88:1::1) 56 data bytes<br />
64 bytes from 2001:8b0:ff88:1::1: icmp_seq=1 ttl=64 time=3.81 ms<br />
64 bytes from 2001:8b0:ff88:1::1: icmp_seq=2 ttl=64 time=0.130 ms<br />
64 bytes from 2001:8b0:ff88:1::1: icmp_seq=3 ttl=64 time=0.132 ms</code></p>
<p><code>--- 2001:08B0:FF88:0001::1 ping statistics ---<br />
3 packets transmitted, 3 received, 0% packet loss, time 2000ms<br />
rtt min/avg/max/mdev = 0.130/1.358/3.813/1.735 ms</code></p>
<p>Now to plan how I&#8217;m going to roll this out at work&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ninjabadger.net/2010/02/17/ipv6-on-m0n0wall/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>m0n0wall and 3G USB modems</title>
		<link>http://www.ninjabadger.net/2009/01/12/m0n0wall-and-3g-usb-modems/</link>
		<comments>http://www.ninjabadger.net/2009/01/12/m0n0wall-and-3g-usb-modems/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 20:21:26 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[m0n0wall]]></category>
		<category><![CDATA[hsdpa]]></category>
		<category><![CDATA[k800i]]></category>
		<category><![CDATA[k850i]]></category>
		<category><![CDATA[sony ericsson]]></category>
		<category><![CDATA[t-mobile]]></category>

		<guid isPermaLink="false">http://www.ninjabadger.net/?p=61</guid>
		<description><![CDATA[I&#8217;ve been running a m0n0wall router for some time now. The build and design of the machine was meant to be documented on the &#8216;RoutITX&#8217; page of this blog, but I&#8217;d never gotten around to finishing it off. I may do this now that I have more time, but I&#8217;m not promising anything&#8230; Even so, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been running a m0n0wall router for some time now. The build and design of the machine was meant to be documented on the &#8216;RoutITX&#8217; page of this blog, but I&#8217;d never gotten around to finishing it off. I may do this now that I have more time, but I&#8217;m not promising anything&#8230;</p>
<p>Even so, due to the impressive compatibility of the Sony Ericsson K800i and Linux, and the subsequent lack of the same DHCP/CDC USB Ethernet adapter functionality in the K850i, I thought it&#8217;d be quite cool to see if the K800i could be configured as a back-up WAN interface within m0n0wall.</p>
<p>So I fish my K800i (now retired, although I wish it wasn&#8217;t) out of its resting place, find a USB cable, and plug it into the back of the m0n0wall machine. No new interface appeared on the &#8216;assign interfaces&#8217; page, so I restarted it. Still no new interfaces. Upon checking the kernel messages in the log, I found these lines pertaining to the CDC USB Ethernet device:</p>
<p><code>Jan 4 20:28:06 	kernel: device_attach: cdce0 attach returned 6<br />
Jan 4 20:28:06 	kernel: cdce0: could not find data bulk in<br />
Jan 4 20:28:06 	kernel: cdce0: Sony Ericsson Sony Ericsson K800, rev 2.00/0.00, addr 2</code></p>
<p>Which, as a Linux geek, confused me somewhat. Google turned up a number of results for &#8216;cdce0&#8242; problems or &#8216;attach returned 6&#8242; regarding various other drivers, but <a href="http://forums.pcbsd.org/viewtopic.php?f=1&#038;t=10628">only one really addressed the issue in particular</a>, albeit for a much older SE phone. You&#8217;ll notice that there haven&#8217;t been any replies, either.</p>
<p>A former colleague pointed me in the direction of a <a href="http://www.freebsd.org/cgi/query-pr.cgi?pr=128485">patch that was submitted around October 2008</a> which enables the proper handling of the CDC USB device within the Nokia N80. Hopefully it should help, but it may be some time before the patch filters down to m0n0wall.</p>
<p>This is just one of those times when I wish I&#8217;d followed the world of software development a little more.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ninjabadger.net/2009/01/12/m0n0wall-and-3g-usb-modems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why Sony, why?</title>
		<link>http://www.ninjabadger.net/2008/07/29/why-sony-why/</link>
		<comments>http://www.ninjabadger.net/2008/07/29/why-sony-why/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 13:26:38 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[hsdpa]]></category>
		<category><![CDATA[k800i]]></category>
		<category><![CDATA[k850i]]></category>
		<category><![CDATA[sony ericsson]]></category>
		<category><![CDATA[t-mobile]]></category>

		<guid isPermaLink="false">http://www.ninjabadger.net/?p=38</guid>
		<description><![CDATA[I absolutely adored my Sony Ericsson K800i. What a phone; everyone&#8217;s had one or used one at some point. Given that they&#8217;re quite long in the tooth now, you&#8217;d be hard-pushed to have not come across someone that had/has one. So when the K850i came out, I was quite eager to get my upgrade. And [...]]]></description>
			<content:encoded><![CDATA[<p>I absolutely adored my Sony Ericsson K800i. What a phone; everyone&#8217;s had one or used one at some point. Given that they&#8217;re quite long in the tooth now, you&#8217;d be hard-pushed to have not come across someone that had/has one.</p>
<p>So when the K850i came out, I was quite eager to get my upgrade. And so far there&#8217;s been only one real drawback to it, that I&#8217;ve found: using it as a modem.</p>
<p>When I first moved into my current abode, I didn&#8217;t have any ADSL for a few weeks. Predictably one can steal some wireless broadband, or one can attempt to use some form of mobile broadband. Before signing my life away for a few months, I decided to test my phone (which at the time, was the K800i) with Ubuntu. To my sheer delight, the phone presents itself as a USB Ethernet adapter, and Ubuntu&#8217;s network-manager simply sent a DHCP request and received an ACK. No messing about here: I had 3G broadband within 5 seconds of plugging the USB cable in!</p>
<p>So obviously when I attempted the same trick with my K850i, I was really quite dismayed to find that you can&#8217;t do this any longer. The USB Ethernet device is there (<em>grep -i CDC /var/log/messages</em>) but for the life of me, I cannot find a way to obtain a DHCP lease via the usb0 interface.</p>
<p>Yes, it works perfectly (and with HSDPA speeds, thanks to my city-centre location) if you use wvdial or one of its GUI front-ends (gnome-ppp worked well) and I&#8217;ve been able to connect like this..</p>
<p>But I can&#8217;t understand why the Sony Ericsson engineers would want to remove such a simple mechanism in favour of the greatest faff-about in history. I&#8217;d be interested to hear from anyone that&#8217;s managed to get this working.. Although I fear by the time I get an answer, I&#8217;ll be back on some ADSL goodness: HSPDA is alright in a pinch, but T-Mobile UK&#8217;s data network seems so heavily sensitive to peak times (I suspect insane levels of contention) and the latency is atrocious. Half a second? Ugh. That&#8217;ll be the Deep Packet Inspection they do&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ninjabadger.net/2008/07/29/why-sony-why/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zyxel ADSL Modems and Bridging</title>
		<link>http://www.ninjabadger.net/2008/07/01/zyxel-adsl-modems-and-bridging/</link>
		<comments>http://www.ninjabadger.net/2008/07/01/zyxel-adsl-modems-and-bridging/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 20:44:14 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[adsl2+]]></category>
		<category><![CDATA[argh]]></category>
		<category><![CDATA[zyxel]]></category>

		<guid isPermaLink="false">http://www.ninjabadger.net/?p=34</guid>
		<description><![CDATA[First thing&#8217;s first: AAAAAARGH!!! *waves arms in the air maniacally* I&#8217;ve spent the evening getting my RoutITX project off the ground and into service. But to do this, I needed an ADSL2+ modem. So, rather than persist with using my Netgear DB834GT, I thought I&#8217;d try out a P660R-D1 from Zyxel. Simple little thing, only [...]]]></description>
			<content:encoded><![CDATA[<p>First thing&#8217;s first: AAAAAARGH!!! *waves arms in the air maniacally*</p>
<p>I&#8217;ve spent the evening getting my RoutITX project off the ground and into service. But to do this, I needed an ADSL2+ modem. So, rather than persist with using my Netgear DB834GT, I thought I&#8217;d try out a P660R-D1 from Zyxel. Simple little thing, only about Â£25, and claims to be able to do bridging to its (single) Ethernet port.</p>
<p>Can it hell. I&#8217;ve tried everything I can; it can sync the DSL to a lovely speed, but it can&#8217;t get any further than that. </p>
<p>What I&#8217;d like is a nice, small, cheap, ADSL2+ modem (preferably including Annex M) that does a perfect bridge, with good reliability and performance.</p>
<p>There&#8217;s got to be one out there? I&#8217;d love to know.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ninjabadger.net/2008/07/01/zyxel-adsl-modems-and-bridging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Crossing the Gigabit barrier</title>
		<link>http://www.ninjabadger.net/2008/04/28/crossing-the-gigabit-barrier/</link>
		<comments>http://www.ninjabadger.net/2008/04/28/crossing-the-gigabit-barrier/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 10:12:45 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[10gigE]]></category>
		<category><![CDATA[fibrechannel]]></category>
		<category><![CDATA[infiniband]]></category>
		<category><![CDATA[nas]]></category>
		<category><![CDATA[nfs]]></category>
		<category><![CDATA[san]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[ZFS]]></category>

		<guid isPermaLink="false">http://www.ninjabadger.net/?p=27</guid>
		<description><![CDATA[Recently, I&#8217;ve been charged with investigating into faster-than-gigabit networking, in an effort to switch our VM hosts away from local storage to an NFS-based NAS system. There are a few reasons for doing this; the greatest of which is Sun&#8217;s ZFS file system. ZFS, for those of you who aren&#8217;t familiar, has really shaken-up the [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I&#8217;ve been charged with investigating into faster-than-gigabit networking, in an effort to switch our VM hosts away from local storage to an <a href="http://en.wikipedia.org/wiki/Network_File_System_(protocol)">NFS</a>-based <a href="http://en.wikipedia.org/wiki/Network_Attached_Storage">NAS</a> system. There are a few reasons for doing this; the greatest of which is Sun&#8217;s <a href="http://en.wikipedia.org/wiki/ZFS">ZFS</a> file system.</p>
<p>ZFS, for those of you who aren&#8217;t familiar, has really shaken-up the world of file systems recently, as it changes almost everything that we perceive about a modern-day file system. On top of these fundamental changes (which I won&#8217;t go into detail about here) the ZFS developers have added some really neat features, such-as zero-cost snaphosts, replication between machines, RAID-Z, and quite a lot more.</p>
<p>It&#8217;s the promise of these features that has prompted our change over to a NAS-based storage system. Given that we can completely replace our current system of identical live/backup hosts, with slow backup scripts and <a href="http://en.wikipedia.org/wiki/Drbd">drbd</a> mirroring, it&#8217;s quite promising to think what we can achieve.</p>
<p>The problem is transport. And keeping fast transport. Given the extra overheads of IP/NFS that NAS brings (weighted against the benefits given ZFS over the more efficient use of raw disks in a <a href="http://en.wikipedia.org/wiki/Storage_Area_Network_(SAN)">SAN</a>) it&#8217;s been deemed that a single gigabit link just won&#8217;t be up to the demanding task. The problem is that once you decide to cross the gigabit &#8216;barrier&#8217;, your costing simply spirals uncontrollably skyward. <img src='http://www.ninjabadger.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>There are a few options available to achieve a decent throughput:</p>
<ul>
<li>Multiple, bonded (<a href="http://en.wikipedia.org/wiki/Link_aggregation">802.3ad</a>) gigabit links &#8211;  cheap-ish, but some multiport adapters really aren&#8217;t cheap.</li>
<li>4Gbit <a href="http://en.wikipedia.org/wiki/FibreChannel">FibreChannel</a> &#8211; readily available Solaris support, but over-shadowed by 10GigE/Infiniband and requires costly HBAs with <em>extremely</em> expensive XFP/SFP+ modules.</li>
<li><a href="http://en.wikipedia.org/wiki/Infiniband">Infiniband</a> (SDR 4x, 10Gbit) &#8211; really, really cool, but there&#8217;s a huge lack of support in Solaris.
	</li>
<li><a href="http://en.wikipedia.org/wiki/10_Gigabit_Ethernet">10Gigabit Ethernet</a> &#8211; very new, and switches are <strong>extremely</strong> expensive (laughably so, think $20,000 for a 24-port switch + Gbics!) mainly due to the lack of 10GBase-T support (meaning we need 10Base-CX4 or some Fiber-based solution.)</li>
</ul>
<p>So what&#8217;s the answer? We&#8217;re not a Fortune 500 company, so most of this is still out of reach. On top of it all, we need to rely on Solaris for ZFS &#8211; an operating system which seems to have very little manufacturer support, despite its presence in the cluster and virtualisation markets. Sun&#8217;s <a href="http://www.sun.com/bigadmin/hcl">Hardware-Compatibility List</a> is almost devoid of recent Infiniband/10GBase-T adapters, particularly in PCI-E interconnect guises.</p>
<p>It wouldn&#8217;t be so bad if some manufacturer had thought to release a small-scale, 8-10 port 10GigE, 10GBase-T switch. They just don&#8217;t exist.. At present, it&#8217;s quite likely that we&#8217;ll have to dump the idea of a switched fabric altogether, opting instead of multiple point-to-point links.</p>
<p>It seems we&#8217;re either just a few years ahead of ourselves, or really, really out of our depth. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ninjabadger.net/2008/04/28/crossing-the-gigabit-barrier/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
