<?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>cpierce.org &#187; Networking</title>
	<atom:link href="http://www.cpierce.org/category/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cpierce.org</link>
	<description>Chris Lee Pierce</description>
	<lastBuildDate>Fri, 13 Jan 2012 03:36:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Dell 3115cn Scanner Support for OSX Lion</title>
		<link>http://www.cpierce.org/2011/12/dell-3115cn-scanner-support-for-osx-lion/</link>
		<comments>http://www.cpierce.org/2011/12/dell-3115cn-scanner-support-for-osx-lion/#comments</comments>
		<pubDate>Sat, 03 Dec 2011 03:28:03 +0000</pubDate>
		<dc:creator>cpierce</dc:creator>
				<category><![CDATA[Dell]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[OS X Lion]]></category>

		<guid isPermaLink="false">http://www.cpierce.org/?p=194</guid>
		<description><![CDATA[Several requests about getting the scanner working on their OSX Lion install with the Dell 3115cn have made me write this post. Some have had trouble getting it to work through SMB. So here goes instructions on how to get your scanner working with OSX Lion via FTP. Please note that this doesn&#8217;t actually work [...]]]></description>
			<content:encoded><![CDATA[<p>Several requests about getting the scanner working on their OSX Lion install with the Dell 3115cn have made me write this post.  Some have had trouble getting it to work through SMB. So here goes instructions on how to get your scanner working with OSX Lion via FTP.  Please note that this doesn&#8217;t actually work the way one might first expect.  When most people think of connecting a scanner to a computer they think of the computer doing the work by prompting the scanner to do the scanning.  This isn&#8217;t actually the case with the 3115cn.  It has the ability to do a scan server which is how we will set this up.<br />
<span id="more-194"></span><br />
<strong>Setting up the computer</strong><br />
Step 1:<br />
Open up System Prefs and find your computers IP Address under &#8220;Network&#8221;. <em>*I recommend you set this manually or set it with a sticky static in your router so that you don&#8217;t have to continue to go in and change the IP information inside the printer.*</em></p>
<p><a href="http://www.cpierce.org/wp-content/uploads/2011/10/find_ip.png" rel="lightbox[194]"><img src="http://www.cpierce.org/wp-content/uploads/2011/10/find_ip-300x230.png" alt="" title="find_ip" width="300" height="230" class="aligncenter size-medium wp-image-195" /></a></p>
<p>Step 2:<br />
Open terminal and type the following command:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> launchctl load <span style="color: #660033;">-w</span> <span style="color: #000000; font-weight: bold;">/</span>System<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>LaunchDaemons<span style="color: #000000; font-weight: bold;">/</span>ftp.plist</div></div>
<p>Step 3:<br />
Close the terminal.  At this point create a shared folder inside your documents (or anywhere else you&#8217;d like) called &#8220;Scans&#8221; by opening finder and Right clicking and selecting New Folder and naming it scans:</p>
<p><a href="http://www.cpierce.org/wp-content/uploads/2011/10/NewFolder.png" rel="lightbox[194]"><img src="http://www.cpierce.org/wp-content/uploads/2011/10/NewFolder-300x185.png" alt="" title="NewFolder" width="300" height="185" class="aligncenter size-medium wp-image-202" /></a></p>
<p>When complete you should see the following:<br />
<a href="http://www.cpierce.org/wp-content/uploads/2011/10/Scans.png" rel="lightbox[194]"><img src="http://www.cpierce.org/wp-content/uploads/2011/10/Scans-300x150.png" alt="" title="Scans" width="300" height="150" class="aligncenter size-medium wp-image-203" /></a></p>
<p>You can test by going to terminal and typing ftp <IP> and see if you can login with your short name and password. Once you are logged in type cd Documents/Scans and see if it lets you browse to that directory.  You can even place a file in the folder and see if it is there using the &#8220;ls&#8221; command.</p>
<p><strong>Setting Up the Scanner</strong></p>
<p>Now that we have this working we&#8217;ll move on to configuring the Scanner of the Dell 3115cn.  I assume you know the IP Address of your scanner (as far as I know you&#8217;re scanner will not work via USB with the Mac so You&#8217;ll have to give it an ip on the network).  In my case I&#8217;ve setup the printer on 172.16.3.253 so that it&#8217;s on the same network as my machine.  Open up your browser and type the ip you set for the printer into the address bar.  You&#8217;ll see a Dell Printer Screen showing how much toner you have available.  <strong>At any time you are prompted with a password enter Admin with a blank password (unless you&#8217;ve set it to something else)</strong></p>
<p>Step 1:<br />
After opening the browser click on the Address Book Button (this is where you&#8217;ll be prompted for the password as stated above).  </p>
<p><a href="http://www.cpierce.org/wp-content/uploads/2011/10/addressbook.png" rel="lightbox[194]"><img src="http://www.cpierce.org/wp-content/uploads/2011/10/addressbook-300x210.png" alt="" title="addressbook" width="300" height="210" class="aligncenter size-medium wp-image-206" /></a></p>
<p>Then navigate over to Server Address button and then click on the Create Button for 01 (if not in use &#8230; if it is move to 02 and so on).  Also be sure you are on Server Address and not on E-Mail address (although you can setup a simple SMTP Connection there to allow for emailing you scanned files, although this requires a little mail server knowledge and requires you to goto Print Server Settings -> Print Server Settings -> Email Alert (but that&#8217;s for another tutorial))</p>
<p><a href="http://www.cpierce.org/wp-content/uploads/2011/10/Server_address.png" rel="lightbox[194]"><img src="http://www.cpierce.org/wp-content/uploads/2011/10/Server_address-300x210.png" alt="" title="Server_address" width="300" height="210" class="aligncenter size-medium wp-image-207" /></a></p>
<p>You&#8217;ll see the following information:</p>
<p><a href="http://www.cpierce.org/wp-content/uploads/2011/10/what_you_are_seeing.png" rel="lightbox[194]"><img src="http://www.cpierce.org/wp-content/uploads/2011/10/what_you_are_seeing-300x221.png" alt="" title="what_you_are_seeing" width="300" height="221" class="aligncenter size-medium wp-image-208" /></a></p>
<p>The following Information should be entered:</p>
<p><strong>Name:</strong>  Any name you&#8217;d like to call this on the printers console screen.<br />
<strong>Server Type:</strong>  Tick the radial for FTP (The Default) since that&#8217;s how we configured it.<br />
<strong>Server Address:</strong> Enter your ip address for your computer here (in my case 172.16.3.3 from above)<br />
<strong>Server Port:</strong> 21 is the default FTP Port and should be entered here.<br />
<strong>Login Name:</strong> Your &#8220;Short&#8221; username for your OSX account (ex: cpierce). This was the account name you used when you setup your Mac.<br />
<strong>Login Password:</strong> Tick the Enable Password and enter your account password as entered above).<br />
<strong>Share Name:</strong> Leave Blank.<br />
<strong>Server Path:</strong> Enter &#8220;Documents/Scans&#8221; (without quotes).</p>
<p>Click apply New Settings button.  You&#8217;ll get an Engrish style message saying something about &#8220;updating the data and operate it again later&#8221;.  You will then see the following Screen.</p>
<p><a href="http://www.cpierce.org/wp-content/uploads/2011/10/ready_for_test.png" rel="lightbox[194]"><img src="http://www.cpierce.org/wp-content/uploads/2011/10/ready_for_test-300x210.png" alt="" title="ready_for_test" width="300" height="210" class="aligncenter size-medium wp-image-210" /></a></p>
<p>At this point goto your Scan option on the Console of the Printer and try to scan.  I hope this helps someone.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpierce.org/2011/12/dell-3115cn-scanner-support-for-osx-lion/feed/</wfw:commentRss>
		<slash:comments>42</slash:comments>
		</item>
		<item>
		<title>Cisco Router Basics</title>
		<link>http://www.cpierce.org/2009/01/cisco-router-basics/</link>
		<comments>http://www.cpierce.org/2009/01/cisco-router-basics/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 04:30:02 +0000</pubDate>
		<dc:creator>cpierce</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[cisco router config]]></category>

		<guid isPermaLink="false">http://www.cpierce.org/?p=118</guid>
		<description><![CDATA[Cisco Routers can be one of the most frightening things to a technician who has never had dealings with them (and those who have). Once familiar with the basic commands of the cisco router simple changes to network routing and basics should be pretty simple. Let&#8217;s start with some terminology: FastEthernet[#] &#8211; Ethernet Interface Serial[#] [...]]]></description>
			<content:encoded><![CDATA[<p>Cisco Routers can be one of the most frightening things to a technician who has never had dealings with them (and those who have).  Once familiar with the basic commands of the cisco router simple changes to network routing and basics should be pretty simple.<br />
<span id="more-118"></span><br />
Let&#8217;s start with some terminology:<br />
<strong>FastEthernet[#]</strong> &#8211; Ethernet Interface<br />
<strong>Serial[#]</strong> &#8211; legacy Serial devices were actually hooked up via serial cables.  The name has held to this day, although some serial interfaces are now built onto the cisco itself.<br />
<strong>CSU/DSU</strong> &#8211; a digital-interface device used to connect a router to a digital circuit (T1, T3, etc.)<br />
<strong>T1/DS1 Circuit</strong> &#8211; circuit made of twenty-four 8-bit channels (also known as timeslots) holding 64kbit/s each.  A total of 1.536 Mbit/s of bandwidth is achieved by sampling each of the twenty-four 8-bit channels at 8000 times per second (64kbit/s total).<br />
<strong>Controller</strong> &#8211; The physical circuit that each interface is connected to on the cisco router.<br />
<strong>Running Config</strong> &#8211; The configuration of the cisco router that is currently in running memory.<br />
<strong>Startup Config</strong> &#8211; Configuration stored in the cisco router memory that will be loaded upon each reboot of the router.<br />
<strong>Console</strong> &#8211; The direct interface that allows you to make config changes when connected via console cable.<br />
<strong>IOS</strong> &#8211; Operating system of the cisco router (currently 12.4)</p>
<h2>Lets start by learning how to connect to the router</h2>
<p>First we need to connect our console cable from our computer to our console port on the router.  After this we will need to use some serial communication terminal program to communicate with the router.  If you use windows I recommend you use <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty">Putty</a> or HyperTerminal.  If you are a linux/OS X user then it is best to use Minicom (through terminal).  Once connected you will probably need to hit enter a few times where you will see a screen as follows:</p>
<div class="codecolorer-container dos default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="dos codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Router<span style="color: #33cc33;">&gt;</span></div></td></tr></tbody></table></div>
<p>Note that Router is the default and will be replaced with the hostname of the router once configured.  Also note that there are both privileged users and unprivileged users.    Unprivileged users are represented with the greater than symbol (>) where privileged users are represented with the hash symbol (#).  Once a user is privileged they will have access to make changes on the router and see more details on configuration.  </p>
<p>Now that we are connected to the router and have a basic of what we should see lets look at a few simple commands:</p>
<div class="codecolorer-container dos default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="dos codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Router<span style="color: #33cc33;">&gt;</span> enable<br />
Router#</div></td></tr></tbody></table></div>
<p>The enable command lets a non-privileged user become a privileged user.  If not enable password is set this change will happen instantly, otherwise a password will be required.  While non-privileged users can do basic things such as ping and telnet, to gain the full power of the router requires privileged access.</p>
<p>Now we can look at the simple configuration commands we should start with on a new router:</p>
<div class="codecolorer-container dos default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="dos codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Router# config<br />
Configuring from terminal, memory, or network [terminal]? terminal<br />
Router<span style="color: #33cc33;">(</span>config<span style="color: #33cc33;">)</span># hostname myrouter<br />
myrouter<span style="color: #33cc33;">(</span>config<span style="color: #33cc33;">)</span># <a href="http://www.ss64.com/nt/exit.html"><span style="color: #00b100; font-weight: bold;">exit</span></a><br />
myrouter#</div></td></tr></tbody></table></div>
<p>As you can see the config command allows us to configure the cisco router, but requires an option of where we are configuring from.  Since we are logged in via terminal we will want to type terminal at this point.  The first configuration value issued to the router is the hostname configuration.  Here we simply are naming our router to &#8220;myrouter&#8221;.  Next we type exit to exit the configuration and enable the changes made on our router.  Until this point nothing is actually committed to running-config.  Shortcuts are very valuable time savers in IOS.  Lets look at the same configuration change with a few shortcuts enabled.</p>
<div class="codecolorer-container dos default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br /></div></td><td><div class="dos codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Router# config t<br />
Router<span style="color: #33cc33;">(</span>config<span style="color: #33cc33;">)</span># hostname myrouter<br />
myrouter<span style="color: #33cc33;">(</span>config<span style="color: #33cc33;">)</span># <span style="color: #33cc33;">^Z</span><br />
myrouter#</div></td></tr></tbody></table></div>
<p>Note that the config t takes the place of the config and terminal question.  We then exit to the parent mode of the router by typing [CTRL] + Z in the config mode.  This will take us to the parent mode where exit will take us to the mode under the current mode we are in (more on this later).</p>
<p>Now lets look at the current configuration of our router:</p>
<div class="codecolorer-container dos default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="dos codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; &nbsp; &nbsp;myrouter# show running-config</div></td></tr></tbody></table></div>
<p>This will show the current configuration that is running in memory.  We can also look at the configuration that is loaded upon reboot of the router by issuing the following command:</p>
<div class="codecolorer-container dos default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="dos codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; &nbsp; &nbsp;myrouter# show startup-config</div></td></tr></tbody></table></div>
<p>These commands show every configuration that has been issued to your router at this time (Whether by factory default or by user).  Included in the next code segment are a few useful commands to view information on your router and network:</p>
<div class="codecolorer-container dos default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br /></div></td><td><div class="dos codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">myrouter# show proc cpu<br />
myrouter# show interfaces<br />
myrouter# show ip route<br />
myrouter# show ip arp</div></td></tr></tbody></table></div>
<p>The first command here is a way to get an idea of how much CPU usage the router is currently running at.  You can also do show proc memory to get memory usage.  The second command shows us our interfaces that are connected and configured in the cisco.  show ip route simply shows us routing and gateway information.  We will sometimes see what is known as the gateway of last resort here.  This is a simple gateway that applies to everything that isn&#8217;t applied above it.  On simple networks this will be shown as Gateway of last resort is 0.0.0.0 to network 0.0.0.0 meaning that all other traffic is forwarded to the default gateway.  the last command allows us to look at connections to the router via arp table inquiries.  This is good for not only seeing ip addresses but also MAC addresses and to what interface the device is connected to.   For a full list of commands or subcommands you can type <em>?</em> or <em>show ?</em>.</p>
<h2>Inside Terminal Configuration</h2>
<p>We will being our configuration of the router by doing basic tasks.  Let us start by turning on telnet service, turning off httpd service (which is pretty much useless), adding a username, and adding a ip address so that we can remotely manage the router.<br />
Before we begin, there are 4 basic things to know about issuing cisco commands inside of the <em>config terminal</em>:
<ul>
<ol>Commands are issued simply by typing them into the terminal.</ol>
<ol>Commands are deleted from the configuration by typing <em>no</em> followed by the command</ol>
<ol>[Ctrl] + Z (^Z) will exit to the parent mode and activate any commands you have issued. Where exit will only exit the current config zone</ol>
<ol><em>int</em> (the shortcut for interface), and <em>line</em> commands will take you inside sub-configuration sections.
</ul>
<div class="codecolorer-container dos default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br /></div></td><td><div class="dos codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; &nbsp; myrouter# config t<br />
&nbsp; &nbsp; &nbsp; myrouter<span style="color: #33cc33;">(</span>config<span style="color: #33cc33;">)</span># line vty 0 4<br />
&nbsp; &nbsp; &nbsp; myrouter<span style="color: #33cc33;">(</span>config-line<span style="color: #33cc33;">)</span># access-class 23 <a href="http://www.ss64.com/nt/in.html"><span style="color: #00b100; font-weight: bold;">in</span></a><br />
&nbsp; &nbsp; &nbsp; myrouter<span style="color: #33cc33;">(</span>config-line<span style="color: #33cc33;">)</span># privilege level 15<br />
&nbsp; &nbsp; &nbsp; myrouter<span style="color: #33cc33;">(</span>config-line<span style="color: #33cc33;">)</span># login local<br />
&nbsp; &nbsp; &nbsp; myrouter<span style="color: #33cc33;">(</span>config-line<span style="color: #33cc33;">)</span># transport input telnet<br />
&nbsp; &nbsp; &nbsp; myrouter<span style="color: #33cc33;">(</span>config-line<span style="color: #33cc33;">)</span># <a href="http://www.ss64.com/nt/exit.html"><span style="color: #00b100; font-weight: bold;">exit</span></a><br />
&nbsp; &nbsp; &nbsp; myrouter<span style="color: #33cc33;">(</span>config<span style="color: #33cc33;">)</span># no ip http server<br />
&nbsp; &nbsp; &nbsp; myrouter<span style="color: #33cc33;">(</span>config<span style="color: #33cc33;">)</span># username cpierce pass cisco1<br />
&nbsp; &nbsp; &nbsp; myrouter<span style="color: #33cc33;">(</span>config<span style="color: #33cc33;">)</span># enable secret cisco2<br />
&nbsp; &nbsp; &nbsp; myrouter<span style="color: #33cc33;">(</span>config<span style="color: #33cc33;">)</span># int FastEthernet0<br />
&nbsp; &nbsp; &nbsp; myrouter<span style="color: #33cc33;">(</span>config-if<span style="color: #33cc33;">)</span># ip address 172.16.1.1 255.255.0.0<br />
&nbsp; &nbsp; &nbsp; myrouter<span style="color: #33cc33;">(</span>config-if<span style="color: #33cc33;">)</span># ip address 192.168.0.1 255.255.255.0 secondary<br />
&nbsp; &nbsp; &nbsp; myrouter<span style="color: #33cc33;">(</span>config-if<span style="color: #33cc33;">)</span># no shutdown<br />
&nbsp; &nbsp; &nbsp; myrouter<span style="color: #33cc33;">(</span>config-if<span style="color: #33cc33;">)</span># <span style="color: #33cc33;">^Z</span><br />
&nbsp; &nbsp; &nbsp; myrouter# write<br />
&nbsp; &nbsp; &nbsp; Building configuration...<br />
&nbsp; &nbsp; &nbsp; [OK]<br />
&nbsp; &nbsp; &nbsp; myrouter#</div></td></tr></tbody></table></div>
<p>Note on newer cisco IOS versions <em>transport input telnet ssh</em> is acceptable as well which will enable ssh and telnet services (or you could leave out telnet in the case of only allowing ssh access). As you can see we also configurated 2 ip addresses.  One Secondary and one Primary.  We could turn the secondary off by issuing the <em>no ip address 192.168.0.1 255.255.255.0 secondary</em> command.  We also turned off httpd access via the no ip http server command.  You also see we issue a no shutdown on FastEthernet0 to turn the device on.  You should now be able to telnet to your system via the ip address 172.16.1.1 (provided you are on the same network) with the username cpierce and the password cisco1</p>
<div class="codecolorer-container dos default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br /></div></td><td><div class="dos codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; &nbsp; telnet 172.16.1.1<br />
&nbsp; &nbsp; &nbsp; Username: cpierce<br />
&nbsp; &nbsp; &nbsp; Password: &nbsp;******<br />
&nbsp; &nbsp; &nbsp; myrouter<span style="color: #33cc33;">&gt;</span> enable<br />
&nbsp; &nbsp; &nbsp; Password: &nbsp;******<br />
&nbsp; &nbsp; &nbsp; myrouter# &nbsp;show running</div></td></tr></tbody></table></div>
<p>We will now take what we&#8217;ve learned and put it to practical use by configuring the following network:<br />
Our ISP gives us the IP address of 1.2.3.4 as our public IP address.  We want to use Network Address Translation (NAT) to share this public internet connection with our local area network 172.16.1.1/16 (255.255.0.0).  We will now use our newly installed cisco router from above to implement this routing.   This will assume all steps above have been taken:</p>
<div class="codecolorer-container dos default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br /></div></td><td><div class="dos codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; &nbsp; &nbsp; myrouter# config t<br />
&nbsp; &nbsp; &nbsp; &nbsp; myrouter<span style="color: #33cc33;">(</span>config<span style="color: #33cc33;">)</span># int Serial0<br />
&nbsp; &nbsp; &nbsp; &nbsp; myrouter<span style="color: #33cc33;">(</span>config-if<span style="color: #33cc33;">)</span># no shutdown<br />
&nbsp; &nbsp; &nbsp; &nbsp; myrouter<span style="color: #33cc33;">(</span>config-if<span style="color: #33cc33;">)</span># ip address 1.2.3.4 255.255.255.0<br />
&nbsp; &nbsp; &nbsp; &nbsp; myrouter<span style="color: #33cc33;">(</span>config-if<span style="color: #33cc33;">)</span># ip nat outside<br />
&nbsp; &nbsp; &nbsp; &nbsp; myrouter<span style="color: #33cc33;">(</span>config-if<span style="color: #33cc33;">)</span># <a href="http://www.ss64.com/nt/exit.html"><span style="color: #00b100; font-weight: bold;">exit</span></a><br />
&nbsp; &nbsp; &nbsp; &nbsp; myrouter<span style="color: #33cc33;">(</span>config<span style="color: #33cc33;">)</span># int FastEthernet0<br />
&nbsp; &nbsp; &nbsp; &nbsp; myrouter<span style="color: #33cc33;">(</span>config-if<span style="color: #33cc33;">)</span># ip nat inside<br />
&nbsp; &nbsp; &nbsp; &nbsp; myrouter<span style="color: #33cc33;">(</span>config-if<span style="color: #33cc33;">)</span># <a href="http://www.ss64.com/nt/exit.html"><span style="color: #00b100; font-weight: bold;">exit</span></a><br />
&nbsp; &nbsp; &nbsp; &nbsp; myrouter<span style="color: #33cc33;">(</span>config<span style="color: #33cc33;">)</span># ip route 0.0.0.0 0.0.0.0 Serial0 <br />
&nbsp; &nbsp; &nbsp; &nbsp; myrouter<span style="color: #33cc33;">(</span>config<span style="color: #33cc33;">)</span># ip nat inside source list 1 interface Serial0 overload<br />
&nbsp; &nbsp; &nbsp; &nbsp; myrouter<span style="color: #33cc33;">(</span>config<span style="color: #33cc33;">)</span># <span style="color: #33cc33;">^Z</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; myrouter#</div></td></tr></tbody></table></div>
<p>We can now assign any device connected to FastEthernet0 an ip of 172.16.x.x and should have Internet access out the Serial0 interface.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpierce.org/2009/01/cisco-router-basics/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

