<?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>Phocean.net &#187; Cisco</title>
	<atom:link href="http://www.phocean.net/tag/cisco/feed" rel="self" type="application/rss+xml" />
	<link>http://www.phocean.net</link>
	<description>Crusing for Knowledge, Drifting towards Security</description>
	<lastBuildDate>Thu, 02 Sep 2010 13:57:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Packetlife.net</title>
		<link>http://www.phocean.net/2010/02/20/packetlife-net.html</link>
		<comments>http://www.phocean.net/2010/02/20/packetlife-net.html#comments</comments>
		<pubDate>Sat, 20 Feb 2010 08:54:19 +0000</pubDate>
		<dc:creator>JC</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Network]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=725</guid>
		<description><![CDATA[I added a new link to Packetlife.net, which is a really amazing website about networking, with focus on Cisco stuff. The work that the author made is truly impressive : blog, cheat sheets, gentle forum and even a lab (I haven&#8217;t test because I don&#8217;t need it, but if you are a student, it is [...]]]></description>
			<content:encoded><![CDATA[<p>I added a new link to <a title="Packetlife" href="http://packetlife.net/" target="_blank">Packetlife.net</a>, which is a really amazing website about networking, with focus on Cisco stuff.</p>
<p>The work that the author made is truly impressive : blog, cheat sheets, gentle forum and even a lab (I haven&#8217;t test because I don&#8217;t need it, but if you are a student, it is great for students and so far I have never seen any other website offering it), all integrated with a quality level that is rare to find even on professional website.</p>
<p>This is one the best website I have never seen in all categories and certainly the best about Cisco networking. If you are interested in this topic, visit there right now.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2010/02/20/packetlife-net.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Netios 0.73</title>
		<link>http://www.phocean.net/2010/02/10/netios-0-73.html</link>
		<comments>http://www.phocean.net/2010/02/10/netios-0-73.html#comments</comments>
		<pubDate>Wed, 10 Feb 2010 14:51:59 +0000</pubDate>
		<dc:creator>JC</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Defense]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Scripts, Programs]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[netios]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=710</guid>
		<description><![CDATA[Netios 0.73 fixes some bugs and Complete changelog : 2010-02-10  (0.73) Jean-Christophe Baptiste &#60;jc@phocean.net&#62; * remove useless options * fix various bugs Check there (tools page) for more details and a download link.]]></description>
			<content:encoded><![CDATA[<p>Netios 0.73 fixes some bugs and</p>
<p>Complete changelog :</p>
<blockquote><p>2010-02-10  (0.73) Jean-Christophe Baptiste &lt;jc@phocean.net&gt;</p>
<p>* remove useless options<br />
* fix various bugs</p></blockquote>
<p><a title="Netios" href="http://www.phocean.net/tools/netios">Check there</a> (tools  page) for more details and a download link.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2010/02/10/netios-0-73.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Netios 0.72</title>
		<link>http://www.phocean.net/2010/01/15/netios-0-72.html</link>
		<comments>http://www.phocean.net/2010/01/15/netios-0-72.html#comments</comments>
		<pubDate>Fri, 15 Jan 2010 10:20:55 +0000</pubDate>
		<dc:creator>JC</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Defense]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Scripts, Programs]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[netios]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=683</guid>
		<description><![CDATA[Netios 0.72 fixes some bugs with the show_run mode and large config files. I also found some issues concerning the prompt detection, so it should be fixed now. Complete changelog : 2010-01-14  (0.72) Jean-Christophe Baptiste &#60;jc@phocean.net&#62; * ciscoclass.py : forgot to remove a debug print * ciscoclass.py : finish and fix a bunch of bugs [...]]]></description>
			<content:encoded><![CDATA[<p>Netios 0.72 fixes some bugs with the show_run mode and large config files. I also found some issues concerning the prompt detection, so it should be fixed now.</p>
<p>Complete changelog :</p>
<blockquote><p>2010-01-14  (0.72) Jean-Christophe Baptiste &lt;jc@phocean.net&gt;</p>
<p>* ciscoclass.py : forgot to remove a debug print<br />
* ciscoclass.py : finish and fix a bunch of bugs in the show run function, format the config file properly<br />
* ciscoclass.py : fix the prompt regex</p></blockquote>
<p><a title="Netios" href="http://www.phocean.net/tools/netios">Check there</a> (tools page) for more details and a download link.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2010/01/15/netios-0-72.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Netios 0.71</title>
		<link>http://www.phocean.net/2009/12/20/netios-0-71.html</link>
		<comments>http://www.phocean.net/2009/12/20/netios-0-71.html#comments</comments>
		<pubDate>Sun, 20 Dec 2009 16:34:37 +0000</pubDate>
		<dc:creator>JC</dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Defense]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Scripts, Programs]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[netios]]></category>
		<category><![CDATA[password]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=578</guid>
		<description><![CDATA[I release a new version of Netios : 0.71. There are a lot of changes, starting with cosmetics, but the biggest one is the support of multiprocessing. It is now able to process several routers at the same time, so using it on a large list of machines results in a big speed up. A [...]]]></description>
			<content:encoded><![CDATA[<p>I release a new version of Netios : 0.71.</p>
<p>There are a lot of changes, starting with cosmetics, but the biggest one is the support of multiprocessing.</p>
<p>It is now able to process several routers at the same time, so using it on a large list of machines results in a big speed up.</p>
<p>A downside is that it now requires at least Python 2.6, as multiprocessing started to be supported with this version only. Most Linux distributions now include Python 2.6, but still not all. Anyway it will be more and more the case. If you can&#8217;t uprade your distribution, you can stick with 0.60 which still do most of the work fine.</p>
<p>It is also now able to fetch a configuration file remotly, but it requires more testing before I feel confident in the way it works.</p>
<p>The complete changelog :</p>
<blockquote><p>2009-12-20  (0.71) Jean-Christophe Baptiste <jc@phocean.net>;</p>
<p>* ciscoclass.py : handle correctly the cisco pager &#8212; More &#8212; so that &#8220;show run&#8221; mode should work even with large config files<br />
* sshclass.py : allow to override terminal size system settings (make use of the cisco pager to avoid filling the buffer)</p>
<p>2009-11-16  (0.70) Jean-Christophe Baptiste <jc@phocean.net> (private release)</p>
<p>* implement multiprocessing<br />
* improve code documentation<br />
* clean up UI<br />
* reduce useless logging<br />
* netios.py : bug : missing startTime parameter in f_skip_error and f_command functions</p></blockquote>
<p>I cross my fingers so that there are not too many bugs, but if so, please don&#8217;t forget to report it to me.</p>
<p><a title="Netios" href="http://www.phocean.net/tools/netios">Check there</a> (tools page) for more details and a download link.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2009/12/20/netios-0-71.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Netios</title>
		<link>http://www.phocean.net/2009/11/07/netios.html</link>
		<comments>http://www.phocean.net/2009/11/07/netios.html#comments</comments>
		<pubDate>Sat, 07 Nov 2009 15:53:30 +0000</pubDate>
		<dc:creator>JC</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Defense]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Scripts, Programs]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[netios]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=516</guid>
		<description><![CDATA[I just released an alpha release of a little tool that may help network administrators with a large park of Cisco routers or switches : Netios is a little tool aimed to help network administrators to administrate a large number of Cisco network devices. Providing it with a list of equipments, it connects within SSH [...]]]></description>
			<content:encoded><![CDATA[<p>I just released an alpha release of a little tool that may help network administrators with a large park of Cisco routers or switches :</p>
<blockquote><p><strong>Netios</strong> is a little tool aimed to help network administrators to administrate a large number of Cisco network devices.<br />
Providing it with a list of equipments, it connects within SSH to remotly apply IOS commands.</p>
<p>It can automatically :</p>
<ul>
<li> retrieve and export in a CSV file the list of local users</li>
<li> update the local user, the enable password</li>
<li> change NTP settings</li>
<li> execute a file of customed IOS commands</li>
<li> retrieve configuration files</li>
</ul>
<p>It can read the targets from the command line or from a text file.</p></blockquote>
<p>Its primary goal is to improve the security by making it easier to renew regularly the local password of these equipments, but it can do more convenient things (and I will continue to work to add more of them).</p>
<p><a title="Netios" href="http://www.phocean.net/tools/netios">Check there</a> (tools page) for more details and a download link.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2009/11/07/netios.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco configuration buffer full</title>
		<link>http://www.phocean.net/2009/09/26/cisco-configuration-buffer-full.html</link>
		<comments>http://www.phocean.net/2009/09/26/cisco-configuration-buffer-full.html#comments</comments>
		<pubDate>Sat, 26 Sep 2009 03:30:08 +0000</pubDate>
		<dc:creator>JC</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[ios]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=394</guid>
		<description><![CDATA[I got this weired message while trying to save a configuration : #wr mem Building configuration... % Warning: Saving this config to nvram may corrupt any network management or security files stored at the end of nvram. Continue? [no]: no % Configuration buffer full, can't add command: ************************************************************************ Looks scary at first, but normally it [...]]]></description>
			<content:encoded><![CDATA[<p>I got this weired message while trying to save a configuration :<br />
<code>
<pre class="brush: plain;">#wr mem
Building configuration...
% Warning: Saving this config to nvram may corrupt any network management or security files stored at the end of nvram.
Continue? [no]: no
% Configuration buffer full, can't add command:
************************************************************************</pre>
<p></code></p>
<p>Looks scary at first, but normally it should be solved with a single command :<br />
<code>
<pre class="brush: plain;"># configure terminal
(config-ter)# service compress-config
(config-ter)# end
# write mem</pre>
<p></code></p>
<p>I guess that there are little chances the issue remains after that, but if so, well, you may be in trouble&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2009/09/26/cisco-configuration-buffer-full.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Netflow on MLS switches</title>
		<link>http://www.phocean.net/2009/09/23/netflow-on-mls-switches.html</link>
		<comments>http://www.phocean.net/2009/09/23/netflow-on-mls-switches.html#comments</comments>
		<pubDate>Wed, 23 Sep 2009 20:12:50 +0000</pubDate>
		<dc:creator>JC</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[CEF]]></category>
		<category><![CDATA[MLS]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[NDE]]></category>
		<category><![CDATA[Netflow]]></category>
		<category><![CDATA[Switch]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=443</guid>
		<description><![CDATA[I had some trouble today at office with monitoring flows going through a MLS switch. The Nfsen collector was working well for our routers, but I came to realize there were something definitely wrong with the traffic going through a Cisco 6500 switch. The traffic reported was way below the real one. After some research, [...]]]></description>
			<content:encoded><![CDATA[<p>I had some trouble today at office with monitoring flows going through a MLS switch.</p>
<p>The Nfsen collector was working well for our routers, but I came to realize there were something definitely wrong with the traffic going through a Cisco 6500 switch.</p>
<p>The traffic reported was way below the real one.</p>
<p>After some research, what I suspected was confirmed by <a title="Netflow on 6500" href="http://www.cisco.com/en/US/tech/tk812/technologies_tech_note09186a008015efaa.shtml" target="_blank">this documentation</a> from Cisco.</p>
<p>Some more steps are required to make Netflow report flow processed by the switching module.</p>
<p>Otherwise, as only the first packet is routed and the following ones are switched by CEF, Netflow will only see the first packet at layer 3.</p>
<p>That explains why the reported traffic was ridicoulously small.</p>
<p>So, where on routers the following commands are enough :</p>
<pre class="brush: plain;">(config)# ip cef
(config)# ip flow-export version 5
(config)# ip flow-export destination 192.168.1.1 1234
(config)# interface fa 1
(config-if)# ip route-cache flow</pre>
<p>On MLS switches (like 6500 or 7200), add :</p>
<pre class="brush: plain;">(config)# mls netflow
(config)# mls nde sender
(config)# mls aging long 64
(config)# mls flow ip full</pre>
<p>The commands are described <a href="http://www.cisco.com/en/US/docs/switches/lan/catalyst6500/ios/12.1E/native/configuration/guide/nde.html">there</a>. Unfortunately, as often with Cisco, they may vary depending on the IOS version your are running.<br />
<a href="http://www.phocean.net/wp-content/uploads/2009/09/cisco_6500_switches.jpg"><img class="aligncenter size-medium wp-image-444" title="cisco_6500_switches" src="http://www.phocean.net/wp-content/uploads/2009/09/cisco_6500_switches-300x188.jpg" alt="cisco_6500_switches" width="300" height="188" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2009/09/23/netflow-on-mls-switches.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>IOS : Configuration buffer full, can&#8217;t add command</title>
		<link>http://www.phocean.net/2009/05/29/ios-configuration-buffer-full-cant-add-command.html</link>
		<comments>http://www.phocean.net/2009/05/29/ios-configuration-buffer-full-cant-add-command.html#comments</comments>
		<pubDate>Fri, 29 May 2009 15:19:21 +0000</pubDate>
		<dc:creator>JC</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[buffer]]></category>
		<category><![CDATA[ios]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=366</guid>
		<description><![CDATA[This error message suddenly showed up on one of my router when I tried to save its running configuration. service compress-config allowed me to workaround this buffer problem : router#wr mem Building configuration... % Warning: Saving this config to nvram may corrupt any network management or security files stored at the end of nvram. Continue? [...]]]></description>
			<content:encoded><![CDATA[<p>This error message suddenly showed up on one of my router when I tried to save its running configuration.</p>
<p><strong>service compress-config</strong> allowed me to workaround this buffer problem :</p>
<pre class="brush: plain;">router#wr mem
Building configuration...

% Warning: Saving this config to nvram may corrupt any network management or security files stored at the end of nvram.
Continue? [no]: no
% Configuration buffer full, can't add command:
************************************************************************

%Aborting Save. Compress the config.[OK]
router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
router(config)#service compress-config
router(config)#exit
router#wr mem
Building configuration...
Compressed configuration from 21787 bytes to 7991 bytes[OK]</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2009/05/29/ios-configuration-buffer-full-cant-add-command.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Connecting your GNS3 labs to the real network</title>
		<link>http://www.phocean.net/2009/03/01/connecting-your-gns3-labs-to-the-real-network.html</link>
		<comments>http://www.phocean.net/2009/03/01/connecting-your-gns3-labs-to-the-real-network.html#comments</comments>
		<pubDate>Sun, 01 Mar 2009 02:02:21 +0000</pubDate>
		<dc:creator>JC</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[openSUSE]]></category>
		<category><![CDATA[bridge]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[dummy]]></category>
		<category><![CDATA[gns3]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=334</guid>
		<description><![CDATA[There is a nice video tutorial to get your GNS3 lab connected to your physical network. However, it requires you to use a real network card with a fixed IP for doing that. This is not really handy if, llike me, you use GNS3 on a laptop whose connectivity is frequently switching between cable and [...]]]></description>
			<content:encoded><![CDATA[<p>There is a <a title="GNS3 bridge to the physical network" href="http://www.blindhog.net/linux-bridging-for-gns3-lan-communications/" target="_blank">nice video tutorial</a> to get your GNS3 lab connected to your physical network.</p>
<p>However, it requires you to use a real network card with a fixed IP for doing that. This is not really handy if, llike me, you use GNS3 on a laptop whose connectivity is frequently switching between cable and wireless, and on different subnets.</p>
<p>I started to look for something more convenient like a virtual interface.</p>
<p>I first thought about declaring a virtual IP on eth0, but no way : briding is layer 2 (based on MAC address), you can&#8217;t add eth0:0 to a bridge.</p>
<p>Then I found the very handy <strong><em>dummy</em></strong> interface.</p>
<p>Load the module :</p>
<pre class="brush: plain;">% sudo modprobe dummy
% lsmod | grep dummy
dummy                   3192  0
% ifconfig dummy0
dummy0    Link encap:Ethernet  HWaddr AE:89:91:BD:61:87
BROADCAST NOARP  MTU:1500  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)</pre>
<p>To have the module loaded at boot time, do :</p>
<p><em>In debian :</em></p>
<pre class="brush: plain;">% echo dummy &gt;&gt; /etc/modules</pre>
<p><em>In openSUSE, edit this line in <strong>/etc/sysconfig/kernel </strong>:</em></p>
<pre class="brush: plain;">MODULES_LOADED_ON_BOOT=&quot;dummy&quot;</pre>
<p>Then, you could go on with the tutorial linked above, replacing <strong><em>eth0</em></strong> with <em><strong>dummy0</strong></em>, or use the script I made :</p>
<pre class="brush: plain;">#!/bin/sh

/bin/tunctl -t tap0
/sbin/ifconfig tap0 0.0.0.0 promisc up
/sbin/ifconfig dummy0 0.0.0.0 promisc up
/sbin/brctl addbr br0
/sbin/brctl addif br0 tap0
/sbin/brctl addif br0 dummy0
/sbin/ifconfig br0 10.10.10.99/24 up
/path/to/GNS3-0.6-src/gns3</pre>
<p>You may also insert this line if you want to interconnect your lab network with your other networks (it activates kernel&#8217;s IP forwarding) :</p>
<pre class="brush: bash;">echo 1 &gt; /proc/sys/net/ipv4/ip_forward</pre>
<p>I saved it <strong><em>/usr/local/bin/gns</em> </strong>and created a pretty shortcut for the application browser of Gnome :</p>
<pre class="brush: plain;">% cat /usr/share/applications/gns3.desktop
[Desktop Entry]
X-SuSE-translate=true
Encoding=UTF-8
Name=gns3
GenericName=Cisco routers emulator
Exec=/usr/local/bin/gns-start
Terminal=false
Type=Application
X-KDE-SubstituteUID=true
Icon=gnome-window-manager
Categories=GNOME;Network;</pre>
<p>This shortcut will prompt you for the root password (unfortunately, when dealing with tap interface, GNS3 requires root access &#8211; security could be tighten with SELinux or AppArmor) and launch GNS3 with most of the network stuff prepared.</p>
<p>Just in case you want to clear that all quickly, there is the <strong><em>gns-stop</em></strong> script :</p>
<pre class="brush: plain;">#!/bin/sh
ifconfig br0 down
brctl delif br0 tap0
brctl delif br0 eth0
brctl delbr br0
tunctl -d tap0</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2009/03/01/connecting-your-gns3-labs-to-the-real-network.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Practicing Cisco networking with GNS3 and Dynamips</title>
		<link>http://www.phocean.net/2008/08/19/practicing-cisco-networking-with-gns3-and-dynamips.html</link>
		<comments>http://www.phocean.net/2008/08/19/practicing-cisco-networking-with-gns3-and-dynamips.html#comments</comments>
		<pubDate>Tue, 19 Aug 2008 08:07:48 +0000</pubDate>
		<dc:creator>JC</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[dynamips]]></category>
		<category><![CDATA[gns3]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[router]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=195</guid>
		<description><![CDATA[GNS3 and Dynamips put together give a nice open-source and free alternative to emulate a network with IOS routers. Dynampis is an emulator of Cisco 7200 router, while GNS3 provides a nice graphical environment to design your network and use the virtual routers. I sometimes use Boson Netsim, which is not only non-free but not [...]]]></description>
			<content:encoded><![CDATA[<p>GNS3 and Dynamips put together give a nice open-source and free alternative to emulate a network with IOS routers. Dynampis is an emulator of Cisco 7200 router, while GNS3 provides a nice graphical environment to design your network and use the virtual routers.</p>
<p>I sometimes use <a href="http://www.boson.com/AboutNetSim.html">Boson Netsim</a>, which is not only non-free but not so reliable.</p>
<p>However, as I just started to use GNS3 and Dynamips, I don&#8217;t know it so well yet and won&#8217;t compare any further the two solutions.</p>
<p>On this page, I am just summarizing the few steps to set it up on your Linux system.</p>
<p>First, set up the prerequisite :</p>
<pre class="brush: plain;">$ aptitude install python-qt4</pre>
<p>Now, go to <a href="http://www.gns3.net/" target="_blank">gns3.net</a> and download the source code for Linux (<a href="http://pfe.epitech.net/frs/download.php/819/GNS3-0.5-src.tar.gz" target="_blank">direct link</a>).</p>
<p>You may extract the archive in your local application folder :</p>
<pre class="brush: plain;">$ wget http://pfe.epitech.net/frs/download.php/819/GNS3-0.5-src.tar.gz
$ tar -xzvf GNS3-0.5-src.tar.gz -C /opt</pre>
<p>Then, you need the dynamips binary from the <a href="http://www.ipflow.utc.fr/blog/" target="_blank">dynamips blog</a> (direct links for <a href="http://www.ipflow.utc.fr/dynamips/dynamips-0.2.8-RC2-x86.bin" target="_blank">x86</a> or <a href="http://www.ipflow.utc.fr/dynamips/dynamips-0.2.8-RC2-amd64.bin" target="_blank">amd64</a> platforms).<br />
The file must be executable.</p>
<pre class="brush: plain;">$ wget http://www.ipflow.utc.fr/dynamips/dynamips-0.2.8-RC2-amd64.bin
$ chmod u+x dynamips*.bin
$ mv dynamips-0.2.8-RC2-amd64.bin /opt</pre>
<p>Now, start GNS3 :</p>
<pre class="brush: plain;">$ /opt/GNS3-0.5-src/gns3</pre>
<p>In the <strong>edit</strong> menu, select <strong>preferences</strong> and go the <strong>dynamips</strong> section.</p>
<p>Just browse to the dynamips binary you dowloaded, to fill the value of the <strong>executable path</strong> field.</p>
<p><a href="http://www.phocean.net/wp-content/uploads/2008/08/capture-preferences.png"><img class="aligncenter size-medium wp-image-198" title="GNS3 preferences settings" src="http://www.phocean.net/wp-content/uploads/2008/08/capture-preferences-300x264.png" alt="" width="300" height="264" /></a></p>
<p>Still from the <strong>edit</strong> menu, select <strong>IOS images and hypervisors</strong>. There, you have to add all the IOS images you want to use, one after another. Normally, the default settings for each file loaded are suitable.</p>
<p><a href="http://www.phocean.net/wp-content/uploads/2008/08/capture-ios-images-and-hypervisors.png"><img class="aligncenter size-medium wp-image-202" title="GNS3 ios-images-and-hypervisors" src="http://www.phocean.net/wp-content/uploads/2008/08/capture-ios-images-and-hypervisors-300x184.png" alt="" width="300" height="184" /></a></p>
<p>Back to the main window, you can drag and drop routers and link them, creating the topology you wish.</p>
<p><a href="http://www.phocean.net/wp-content/uploads/2008/08/capture-gns3.png"><img class="aligncenter size-medium wp-image-197" title="GNS3" src="http://www.phocean.net/wp-content/uploads/2008/08/capture-gns3-300x190.png" alt="" width="300" height="190" /></a></p>
<p>For now, just add one router. Right click on it and select <strong>start</strong> to start it up. Right click again and select <strong>console</strong>.</p>
<p><a href="http://www.phocean.net/wp-content/uploads/2008/08/capture-r01.png"><img class="aligncenter size-medium wp-image-200" title="GNS3 console" src="http://www.phocean.net/wp-content/uploads/2008/08/capture-r01-300x181.png" alt="" width="300" height="181" /></a></p>
<p>Enjoy ! Of course, I strongly recommand that you start reading further from <a href="http://www.gns3.net/documentation" target="_blank">this page</a>.</p>
<p><strong>Resources</strong> :</p>
<p><a href="http://www.ipflow.utc.fr/blog/" target="_blank">http://www.ipflow.utc.fr/blog/</a><br />
<a href="http://www.gns3.net/" target="_blank">http://www.gns3.net/</a><br />
<a href="http://www.blindhog.net/tutorials/gns3-linux-install/gns3-linux-install.html" target="_blank">http://www.blindhog.net/tutorials/gns3-linux-install/gns3-linux-install.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2008/08/19/practicing-cisco-networking-with-gns3-and-dynamips.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
