<?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>djerk.nl &#187; Networking</title>
	<atom:link href="http://www.djerk.nl/wordpress/category/networking/feed" rel="self" type="application/rss+xml" />
	<link>http://www.djerk.nl/wordpress</link>
	<description>Anything related to Djerk Geurts may be found here (either locally or linked)</description>
	<lastBuildDate>Mon, 26 Jul 2010 04:45:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Inter-AS MPLS and MTU</title>
		<link>http://www.djerk.nl/wordpress/2009/inter-as-mpls-and-mtu</link>
		<comments>http://www.djerk.nl/wordpress/2009/inter-as-mpls-and-mtu#comments</comments>
		<pubDate>Tue, 02 Jun 2009 14:18:33 +0000</pubDate>
		<dc:creator>Djerk</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[3600]]></category>
		<category><![CDATA[7600]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[IP]]></category>
		<category><![CDATA[linkedin]]></category>
		<category><![CDATA[MP-eBGP]]></category>
		<category><![CDATA[mpls]]></category>
		<category><![CDATA[mtu]]></category>

		<guid isPermaLink="false">http://www.djerk.nl/wordpress/?p=220</guid>
		<description><![CDATA[Type-2 interconnects are fun, but mtu issues are not. When faced with migrating subnets  from one MPLS cloud to another -different AS numbers you see- the three common inter-AS types were taken off the shelf and dusted off&#8230;
A quick refresh for all:

PE physical link(s), ties one VRF to another using one subnet for each VRF. [...]]]></description>
			<content:encoded><![CDATA[<p>Type-2 interconnects are fun, but mtu issues are not. When faced with migrating subnets  from one MPLS cloud to another -different AS numbers you see- the three common inter-AS types were taken off the shelf and dusted off&#8230;<span id="more-220"></span></p>
<p>A quick refresh for all:</p>
<ol>
<li>PE physical link(s), ties one VRF to another using one subnet for each VRF. Commonly deployed using vlans across a DOT1q trunk (anyone still using ISL? ok, ok a tagged trunk but don&#8217;t tell me I&#8217;m not allowed to say &#8220;trunk&#8221;). Possible to use routing protocols between each individual VRF, most commonly staticly routed as it&#8217;s the safest model, the other side isn&#8217;t trusted&#8230;</li>
<li>PE MP-eBGP, ties the two MPLS clouds together exchanging VPN labels. BGP can be used to exchange the vpn labels, no need for tag-switching of IP traffic. Requires the inter- link to be known in both IGPs as the next-hop changes, <strong>only</strong> the vpn label is preserved end-to-end.</li>
<li>P tag-switching, joins the two domains together at the lowest level. The inter-link can be between P devices all labels are preserved end-to-end. Even the IGPs must have &#8216;full&#8217; connectivity, of course I mean PE-to-PE&#8230;</li>
</ol>
<p>Type-2 seemed to make most sense due to the amount of vrfs involved, no need to go for type-3 and type-1 would add way too much complexity to be able to support a multi month long migration.</p>
<p>Now for the MTU issue. The old MPLS cloud uses 3600&#8217;s as PE&#8217;s in the relevant sites and the new network uses 7600&#8217;s. Admittedly a bit slow on the ball -mind you I was not the original designer- we implemented an mtu of 1536 on the sup720 GE based infrastructure links on the new network. However the vpn label on the 4 FE inter-AS/MP-eBGP links was forgotten untill a service using TCP keepalives was partially migrated. Sessions flapped due to the keepalives being 1500 bytes in size and having their df-bit set. I wonder why they used TCP but as of yet I&#8217;m left guessing.</p>
<p>The moment we noticed the error of our ways we found that IOS threw us a few curve balls:</p>
<ol>
<li>A 3600 running 12.3 doesn&#8217;t accept anything over 1500 as mtu on a FastEthernet interface</li>
<li>A 7600 with 6748-GE (LAN interfaces) doesn&#8217;t allow a larger than 1500 mtu size either (routed interface)</li>
</ol>
<p>The short answers are the following:</p>
<ol>
<li>On the 3600: tag switching mtu 1508</li>
<li>On the 7600: mpls mtu 1508</li>
</ol>
<p>fyi, 1504 would have done fine as an mpls label is just 4 bytes we just threw in another 4 bytes for luck <img src='http://www.djerk.nl/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Some links to back things up:</p>
<ul>
<li><a title="External link to cisco.com" href="http://www.cisco.com/en/US/docs/routers/7600/ios/12.2SR/configuration/guide/intrface.html#wp1059164" target="_blank">Cisco MTU config for 7600 12.2SR &amp; layer3 ports</a></li>
<li><a title="External link to blog.ioshints.info" href="http://blog.ioshints.info/2007/10/tale-of-three-mtus.html" target="_blank">Cisco IOS hints and tricks: The tale of three MTUs</a></li>
<li>You&#8217;ll have to take my word for this quote from Cisco: &#8220;I can confirm that using tag-switching mtu at 1508 on the 3600 should resolve the issue from that side&#8221; (despite not being able to set the interface mtu higher than 1500)</li>
</ul>
<p>Command to verity mpls mtu:</p>
<pre>sh mpls [intf] det</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.djerk.nl/wordpress/2009/inter-as-mpls-and-mtu/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>DNS on IOS</title>
		<link>http://www.djerk.nl/wordpress/2008/dns-on-ios</link>
		<comments>http://www.djerk.nl/wordpress/2008/dns-on-ios#comments</comments>
		<pubDate>Sat, 12 Apr 2008 10:19:50 +0000</pubDate>
		<dc:creator>Djerk</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[linkedin]]></category>

		<guid isPermaLink="false">http://www.djerk.nl/wordpress/wordpress/2008/dns-on-ios</guid>
		<description><![CDATA[I&#8217;ll leave the debate to others about running services on routers. As usual ymmv and all that, though besides the obvious objections I think it&#8217;s quite cool of my little c877 to proxy DNS and serve what it has locally. Imho, my home DNS config is not heavy enough to warrant rigging up DNS on [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll leave the debate to others about running services on routers. As usual ymmv and all that, though besides the obvious objections I think it&#8217;s quite cool of my little c877 to proxy DNS and serve what it has locally. Imho, my home DNS config is not heavy enough to warrant rigging up DNS on my Samba server.</p>
<p>My first google tonight led me to an <a href="http://blog.ioshints.info/2006/09/use-your-cisco-router-as-primary-dns.html" title="External link to DNS server article on ioshints.info" target="_blank">article on the excellent ios hints and tricks site (ioshints.info)</a>. Though this is for a full public DNS server it was a little overkill for me, please read this <a href="http://blog.ioshints.info/2007/05/write-protecting-primary-dns-server-on.html" title="External link, how to protect your DNS server (ioshints.info)" target="_blank">article</a> as well if you do plan to go that route.</p>
<p>My goal was to have my DSL router serve local IP&#8217;s for a few public and local domain names. For example this allows me to use sip.djerk.nl as my proxy address in my soft-phone both at home and away.</p>
<p>The following code is what I ended up with.<span id="more-146"></span></p>
<p><code># These hostnames will be served locally<br />
# As such they overrule their public dns<br />
# clients do need to use this router as a dns server<br />
ip host view VoIP sip.djerk.nl 192.168.100.130<br />
ip host sip.djerk.nl 192.168.100.130<br />
ip host c877 192.168.100.1</code></p>
<p>interface Vlan10<br />
description *** VoIP LAN ***<br />
ip dns view-group VoIP</p>
<p># For my Voice vlan<br />
ip dns view VoIP<br />
domain name djerk.nl<br />
# search list for this view<br />
domain list djerk.nl<br />
domain name-server  x.x.x.x<br />
domain name-server  y.y.y.y<br />
domain round-robin</p>
<p># Default dns handling<br />
ip dns view default<br />
domain name geurtscass.com<br />
domain list geurtscass.com</p>
<p>ip dns view-list VoIP<br />
view VoIP 1<br />
view default 100</p>
<p># Enable local dns server (proxy dns if no domains are configured here)<br />
# I do not allow inbound dns requests (intf ACL) so no need to worry about abuse<br />
ip dns server</p>
<p>Most interesting is the usage of views and a view-list. According to CCO the view-list is needed to bind a view to an interface, views can&#8217;t be assigned directly. Also noteworthy is that I&#8217;ve not found a way to reduce the sip.djerk.nl host mapping to a single line, as adding the default view to the VoIP view-list was not enough. Maybe I should add the VoIP view to the default view-list.</p>
<p>Well just tried that and it didn&#8217;t work either. Anyone out there who knows how to do the same in IOS but with less lines?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.djerk.nl/wordpress/2008/dns-on-ios/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No ezvpn please!</title>
		<link>http://www.djerk.nl/wordpress/2007/no-ezvpn-please</link>
		<comments>http://www.djerk.nl/wordpress/2007/no-ezvpn-please#comments</comments>
		<pubDate>Wed, 31 Oct 2007 22:44:06 +0000</pubDate>
		<dc:creator>Djerk</dc:creator>
				<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://www.djerk.nl/wordpress/wordpress/2007/no-ezvpn-please/</guid>
		<description><![CDATA[Had a nice piece of homework cut out with getting site-to-site ipsec working between a relatives Netgear and my Cisco 877. UniverCD once again provided to be crucial in my understanding and working out what should go where. Thanks to Ilya for reminding me to browse that site rather than just search it.
Well my working [...]]]></description>
			<content:encoded><![CDATA[<p>Had a nice piece of homework cut out with getting site-to-site ipsec working between a relatives Netgear and my Cisco 877. <a href="http://www.cisco.com/univercd/cc/td/doc/product/vpn/solution/aswan15/sig/sig_04.htm#1044416" title="External link to UniverCD ipsec-to-ipsec page" target="_blank">UniverCD</a> once again provided to be crucial in my understanding and working out what should go where. Thanks to Ilya for reminding me to browse that site rather than just search it.<span id="more-139"></span></p>
<p>Well my working config turned out to be:</p>
<p><code>crypto keyring Daniel<br />
pre-shared-key address 1.2.3.4 key s3cr3t<br />
!<br />
crypto isakmp policy 1<br />
encr 3des<br />
authentication pre-share<br />
group 2<br />
lifetime 28800<br />
!<br />
crypto isakmp client configuration group Daniel-grp<br />
key s3cr3t<br />
crypto isakmp profile Daniel<br />
keyring Daniel<br />
match identity address 1.2.3.4 255.255.255.255<br />
crypto isakmp profile Daniel-ez<br />
match identity group Daniel-grp<br />
!<br />
crypto ipsec transform-set tset1 esp-3des esp-sha-hmac<br />
!<br />
crypto map Daniel 10 ipsec-isakmp<br />
set peer 1.2.3.4<br />
set transform-set tset1<br />
set isakmp-profile Daniel<br />
match address 102<br />
!<br />
Interface Dialer 1<br />
crypto map Daniel<br />
!<br />
access-list 102 permit ip 192.168.100.0 0.0.0.255 192.168.1.0 0.0.0.255<br />
!<br />
ip route 192.168.1.0 255.255.255.0 1.2.3.4 name Daniel</code></p>
<p>Also I had to prevent traffic destined for the ipsec tunnel being natted, this meant adding a simple deny line in the NAT ACL. 1.2.3.4 is the remote site IP address, 192.168.100.0/24 my local LAN, 192.168.1.0/24 the remote LAN. As opposed to the ezvpn tunnel I tried earlier this tunnel is dynamic and a static route is required rather than routes being added dynamically. Personally I think ezvpn can be quite cool for remote access (read client access) but I have sslvpn working fine for that, which was much easier to set up to boot.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.djerk.nl/wordpress/2007/no-ezvpn-please/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian Lenny snmpd IP binding</title>
		<link>http://www.djerk.nl/wordpress/2007/debian-lenny-snmpd-ip-binding</link>
		<comments>http://www.djerk.nl/wordpress/2007/debian-lenny-snmpd-ip-binding#comments</comments>
		<pubDate>Fri, 12 Oct 2007 13:09:52 +0000</pubDate>
		<dc:creator>Djerk</dc:creator>
				<category><![CDATA[Main blog]]></category>
		<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://www.djerk.nl/wordpress/wordpress/2007/debian-lenny-snmpd-ip-binding/</guid>
		<description><![CDATA[Yet another non CCIE post  
It appears that Debian Lenny by default only binds to 127.0.0.1 (localhost). I had to add the following two lines to snmpd.conf to get snmpd to listen to external requests.
interface eth0
agentaddress 217.195.248.251:161
I eventually found the solution at debianhelp.org.
]]></description>
			<content:encoded><![CDATA[<p>Yet another non CCIE post <img src='http://www.djerk.nl/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>It appears that Debian Lenny by default only binds to 127.0.0.1 (localhost). I had to add the following two lines to snmpd.conf to get snmpd to listen to external requests.</p>
<p><code>interface eth0<br />
agentaddress 217.195.248.251:161</code></p>
<p>I eventually found the solution at <a href="http://www.debianhelp.org/node/2455" title="External link to Debainhelp.org">debianhelp.org</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.djerk.nl/wordpress/2007/debian-lenny-snmpd-ip-binding/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>No IP unreachables (and Cacti)</title>
		<link>http://www.djerk.nl/wordpress/2007/no-ip-unreachables-and-cacti</link>
		<comments>http://www.djerk.nl/wordpress/2007/no-ip-unreachables-and-cacti#comments</comments>
		<pubDate>Thu, 11 Oct 2007 13:49:26 +0000</pubDate>
		<dc:creator>Djerk</dc:creator>
				<category><![CDATA[Main blog]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.djerk.nl/wordpress/wordpress/2007/no-ip-unreachables-and-cacti/</guid>
		<description><![CDATA[*Sigh* Took me an hour or two to figure this one out. Cacti now does a ping before actually polling a device for stats. I&#8217;m running a small cacti site which had been neglected for a long time. After updating cacti and cleaning up some mess I was confused why one router did get polled [...]]]></description>
			<content:encoded><![CDATA[<p><strong>*Sigh*</strong> Took me an hour or two to figure this one out. Cacti now does a ping before actually polling a device for stats. I&#8217;m running a small cacti site which had been neglected for a long time. After updating cacti and cleaning up some mess I was confused why one router did get polled and the other&#8217;s graphs remained a dumb &#8220;nan&#8221;.</p>
<p>I debugged and pinged, even installed hping3 to do UDP pings. I don&#8217;t want to run cacti as root, especially not on a vhost. So the UDP ping had to work. The pings arrived but still no replies.</p>
<p>Getting sidetracked I noticed that the one router that did work was being hit by SSH login attempts and it&#8217;s cpu was spiking. An ACL took care of the break-in attempts but then I noticed that directed broadcasts were made to my server&#8217;s segment. So I nailed that down plus proxy-arps when I noticed that the router which had worked before now was causing errors in Cacti as well.</p>
<p>Tracking back I noticed that the UDP ping &#8216;replies&#8217; were unreachables rather than ICMP replies (doh, how obvious!) . I enabled IP unreachables on both routers again and I was done. It&#8217;s amazing how blind one can be at times to the blatantly obvious&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.djerk.nl/wordpress/2007/no-ip-unreachables-and-cacti/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Static routes since 12.3</title>
		<link>http://www.djerk.nl/wordpress/2007/static-routes-since-123</link>
		<comments>http://www.djerk.nl/wordpress/2007/static-routes-since-123#comments</comments>
		<pubDate>Fri, 31 Aug 2007 08:56:57 +0000</pubDate>
		<dc:creator>Djerk</dc:creator>
				<category><![CDATA[CCIE R&S]]></category>
		<category><![CDATA[Main blog]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.djerk.nl/wordpress/wordpress/2007/static-routes-since-123/</guid>
		<description><![CDATA[Since 12.3 (T?), static routes pointing to interfaces will be advertised by RIP and EIGRP as these static subnets are assumed to be part of the interfaces on which RIP and/or EIGRP is activated.
ip route prefix mask {ip-address &#124; interface-type interface-number [ip-address]} [dhcp] [distance]  [name next-hop-name] [permanent &#124; track number] [tag tag]

Static routes that [...]]]></description>
			<content:encoded><![CDATA[<p>Since 12.3 (T?), static routes pointing to interfaces will be advertised by RIP and EIGRP as these static subnets are assumed to be part of the interfaces on which RIP and/or EIGRP is activated.</p>
<p><code><strong>ip route</strong> <em>prefix mask</em> {<em>ip-address</em> | <em>interface-type</em> <em>interface-number</em> [<em>ip-address</em>]} [<strong>dhcp</strong>] [<em>distance</em>]  [<strong>name</strong> <em>next-hop-name</em>] [<strong>permanent</strong> | <strong>track </strong><em>number</em>] [<strong>tag</strong> <em>tag</em>]</code><br />
<span id="more-132"></span></p>
<blockquote><p>Static routes that point to an interface on a connected router will be advertised by way of Routing Information Protocol (RIP) and EIGRP regardless of whether <strong>redistribute static</strong> commands are specified for those routing protocols.</p></blockquote>
<blockquote><p>This situation occurs because static routes that point to an interface are considered in the routing table to be connected and hence lose their static nature. Also, the target of the static route should be included in the <strong>network</strong> (DHCP)<strong> </strong>command. If this condition is not met, no dynamic routing protocol will advertise the route unless a <strong>redistribute static</strong> command is specified for these protocols</p></blockquote>
<p>The following is also good to know, I&#8217;ve noticed it&#8217;s source of common misunderstanding:</p>
<blockquote><p>Specifying a numerical next hop that is on a directly connected interface will prevent the router from using proxy ARP. However, if the interface with the next hop goes down and the numerical next hop can be reached through a recursive route, you may specify both the next hop and interface (for example, <strong>ip route0.0.0.0 0.0.0.0 ethernet 1</strong>/<strong>2 10.1.2.3</strong>) with a static route to prevent routes from passing through an unintended interface.</p></blockquote>
<p><a href="http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cr/hirp_r/rte_pih.htm#wp1134595" title="External link to CCO/univercd" target="_blank"><em>SourceÃ‚Â  (UniverCD)</em></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.djerk.nl/wordpress/2007/static-routes-since-123/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Networkers EMEA 2008</title>
		<link>http://www.djerk.nl/wordpress/2007/networkers-emea-2008</link>
		<comments>http://www.djerk.nl/wordpress/2007/networkers-emea-2008#comments</comments>
		<pubDate>Sat, 14 Jul 2007 19:46:58 +0000</pubDate>
		<dc:creator>Djerk</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Main blog]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.djerk.nl/wordpress/wordpress/2007/networkers-emea-2008/</guid>
		<description><![CDATA[Last weeks news: Networkers EMEA 2008 will be in Barcelona. For the diary: Monday Jan 21st &#8211; Thursday 24th.
I&#8217;m counting on being there, though untill my manager gives approval and it&#8217;s been booked I will not know fur sure&#8230;  
]]></description>
			<content:encoded><![CDATA[<p>Last weeks news: Networkers EMEA 2008 will be in Barcelona. For the diary: Monday Jan 21st &#8211; Thursday 24th.</p>
<p>I&#8217;m counting on being there, though untill my manager gives approval and it&#8217;s been booked I will not know fur sure&#8230; <img src='http://www.djerk.nl/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.djerk.nl/wordpress/2007/networkers-emea-2008/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco EMEA Networkers2007</title>
		<link>http://www.djerk.nl/wordpress/2006/cisco-emea-networkers2007</link>
		<comments>http://www.djerk.nl/wordpress/2006/cisco-emea-networkers2007#comments</comments>
		<pubDate>Thu, 07 Dec 2006 13:24:41 +0000</pubDate>
		<dc:creator>Djerk</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.djerk.nl/wordpress/wordpress/2006/cisco-emea-networkers2007/</guid>
		<description><![CDATA[Just a quick note to say that I&#8217;m going to Networkers2007.
If you&#8217;re going as well and want to meet me then drop me a line, with a suggestion of when you&#8217;re free. I don&#8217;t think I&#8217;ll be able to intentionally run into anyone there, my schedule is way too busy for that.
Suggestions for surviving Networkers [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick note to say that I&#8217;m going to <a href="http://www.cisco.com/global/EMEA/networkers/" title="External link to Networkers2007" target="_blank">Networkers2007</a>.</p>
<p>If you&#8217;re going as well and want to meet me then drop me a <a href="mailto:djerk@djerk.nl?subject=Networkers2007" title="E-mail me">line</a>, with a suggestion of when you&#8217;re free. I don&#8217;t think I&#8217;ll be able to intentionally run into anyone there, my schedule is way too busy for that.</p>
<p>Suggestions for surviving Networkers are welcome as I&#8217;ve never been before.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.djerk.nl/wordpress/2006/cisco-emea-networkers2007/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testing test equipment</title>
		<link>http://www.djerk.nl/wordpress/2006/testing-test-equipment</link>
		<comments>http://www.djerk.nl/wordpress/2006/testing-test-equipment#comments</comments>
		<pubDate>Thu, 08 Jun 2006 07:02:01 +0000</pubDate>
		<dc:creator>Djerk</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.djerk.nl/wordpress/wordpress/2006/testing-test-equipment/</guid>
		<description><![CDATA[Got some pictures of Ixia and Spirent equipment in the lab, so check out the gallery if you&#8217;re interested. 
]]></description>
			<content:encoded><![CDATA[<p>Got some pictures of Ixia and Spirent equipment in the lab, so check out the gallery if you&#8217;re interested. <a href="http://www.djerk.nl/wordpress/v/easynet/test_eq/"><img width="92" height="92" class="g2image_float_right" src="http://www.djerk.nl/gallery2/d/238-3/PICT0003-640.jpg?g2_GALLERYSID=492d9a0a99d006d2ee187e2f899e0332" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.djerk.nl/wordpress/2006/testing-test-equipment/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A remote xmodem IOS upgrade&#8230;</title>
		<link>http://www.djerk.nl/wordpress/2006/a-remote-xmodem-ios-upgrade</link>
		<comments>http://www.djerk.nl/wordpress/2006/a-remote-xmodem-ios-upgrade#comments</comments>
		<pubDate>Tue, 28 Mar 2006 23:30:14 +0000</pubDate>
		<dc:creator>Djerk</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.djerk.nl/wordpress/2006/a-remote-xmodem-ios-upgrade/</guid>
		<description><![CDATA[Right, it&#8217;s loading and due to the baud rate of 115200 currently at 13% so I&#8217;ve got some time to write this little &#8220;note to self&#8221;. If anyone else finds this useful then I hope you&#8217;re not working away like me at 0:48 in the night.
 A little background
A remote router upgrade failed for some [...]]]></description>
			<content:encoded><![CDATA[<p>Right, it&#8217;s loading and due to the baud rate of 115200 currently at 13% so I&#8217;ve got some time to write this little &#8220;note to self&#8221;. If anyone else finds this useful then I hope you&#8217;re not working away like me at 0:48 in the night.<span id="more-29"></span></p>
<p><strong> A little background</strong></p>
<p>A remote router upgrade failed for some strange reason, ok I was stupid enough not to verify the downloaded image while I noticed the download had finished quicker then expected. But the file size was ok and a colleague saw the image increase in size on flash:. Anyway the router did not return to a normal state.</p>
<p><strong>Recovery setup</strong><br />
A connected switch which had been connected into the (ethernet) uplink path earlier today provided connectivity to a test machine connected to the console of the switch. Oh how I love backup paths, as long as I can use them. I was able to SSH to my test machine&#8217;s secondary interface and access the switch&#8217;s console. Noticed that the router&#8217;s interfaces were up so it was powered on. Luckily someone was found who was able to move the console cable from the switch to the router.</p>
<p><strong>ROMMON</strong></p>
<p>And as expected the router was happy to see me in ROMMON, issuing the boot command revealed a magic cooky to be missing/wrong/&#8230; . So I put my first bet on <em>tftpdnld</em> and installed it through 2 SSH hops on another server in the same Ethernet segment. Setting the right settings and firing up tftpdnld&#8230; It failed: <em>monitor: command &#8220;tftpdnld&#8221; not found</em>, time to try something else.</p>
<p><strong>Xmodem</strong></p>
<p>Minicom is capable of sending files, and lucky me it supports xmodem (others too but I wasn&#8217;t interested in those). Changed the console speed to 115200 instead of the default 9600. Alt-Z, S, file not found? Pulled the IOS image from the earlier installed tftp server to the &#8216;console&#8217; machine and tried again. Als-z, S, select file, &#8220;Retry 0: Got 01 for sector ACK&#8221;. Right something clearly was not going well. Client was waiting, server was trying to send but no go.</p>
<p><strong>CRC-16</strong></p>
<p>The solution was to add -r to the command in ROMMON: xmodem -c . It adds a CRC check which minicom sets by default on sx -used for x/ymodem (etc) transfers. So now I&#8217;m waiting for this 27Mb file to finish and see if it will boot. Ahh, it&#8217;s at 20Mb now so only 7Mb to go and then I&#8217;ll still have to wait for the erasing and programming of the flash. Oh well time to read a book maybe.</p>
<p>Someone please wake me up when this router is done&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.djerk.nl/wordpress/2006/a-remote-xmodem-ios-upgrade/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
