<?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>AOIP - Anything Over IP &#187; Routing</title>
	<atom:link href="http://www.anythingoverip.co.za/category/tutorials/topic/routing-topic-tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.anythingoverip.co.za</link>
	<description>Anything Over IP</description>
	<lastBuildDate>Wed, 27 Jul 2011 05:24:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Static NAT overloaded???</title>
		<link>http://www.anythingoverip.co.za/tutorials/course-content/ccna/static-nat-overloaded/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/ccna/static-nat-overloaded/#comments</comments>
		<pubDate>Wed, 27 Jul 2011 05:24:51 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[Access-Lists]]></category>
		<category><![CDATA[CCNA (ICND2)]]></category>
		<category><![CDATA[IINS]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Routing]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SNRS]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=736</guid>
		<description><![CDATA[So we have already looked at all 3 possible NAT configurations, however there is one more trick that is always useful to know. How to overload a Static NAT. Let&#8217;s assume the following for this example We have 2 public IP addresses (192.168.1.1 &#38; 192.168.1.2) The IP address on the outside interface has been configured [...]]]></description>
			<content:encoded><![CDATA[<p>So we have already looked at all 3 possible NAT configurations, however there is one more trick that is always useful to know. How to overload a Static NAT.</p>
<p>Let&#8217;s assume the following for this example</p>
<ul>
<li> We have 2 <a title="Useable IP addresses in private networks" href="http://www.anythingoverip.co.za/networking-101/useable-ip-addresses-in-private-networks/">public IP addresses</a> (192.168.1.1 &amp; 192.168.1.2)</li>
<li>The IP address on the outside interface has been configured to use <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-pat-on-cisco-routers-nat-overload">PAT</a> for all internal IP addresses for Internet access (192.168.1.1)</li>
<li>I have a DMZ with 3 servers, FTP, E-mail, and Web Server (10.0.1.1, 10.0.1.2 &amp; 10.0.1.3 respectively)</li>
<li>I need my 3 DMZ servers to be reachable from the Internet.</li>
</ul>
<p>The above scenario poses a slight problem. If I have already used one of my public addresses for PAT to allow all internal hosts to access the Internet, I only have one IP address left but I require 3 <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-static-nat-on-cisco-routers">static NAT</a> entries to be created. In my post on <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-static-nat-on-cisco-routers">Static NAT</a> we saw that we configure NAT to map on a one-to-one basis, so in this scenario I would require 3 IP addresses, one for each of my DMZ servers.</p>
<p>The nice thing about the above scenario, is that each of the three servers is hosting a totally different service and therefore each requires different <a title="Ports and their use." href="http://www.anythingoverip.co.za/networking-101/ports-and-their-use/">ports</a> to be accessible from the Internet. This allows me to create static NAT&#8217;s that specify the ports, a type of overload function.</p>
<p>FTP would require ports 20,21 to be allowed<br />
E-mail would require port 25 to be opened, and possibly 143 and 110 if you are using IMAP or POP<br />
Web Server will require port 80, and possibly 443 if there is any SSL been used (https).</p>
<p>The above can be configured in the following way (interfaces would need to be configured as inside and outside as well, as seen <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-static-nat-on-cisco-routers">here</a>)</p>
<p>AOIP.ORG (config) # ip nat inside source static tcp 10.0.1.1 192.168.1.2 20<br />
AOIP.ORG (config) # ip nat inside source static tcp 10.0.1.1 192.168.1.2 21</p>
<p>AOIP.ORG (config) # ip nat inside source static tcp 10.0.1.2 192.168.1.2 25<br />
AOIP.ORG (config) # ip nat inside source static tcp 10.0.1.2 192.168.1.2 143<br />
AOIP.ORG (config) # ip nat inside source static tcp 10.0.1.2 192.168.1.2 110</p>
<p>AOIP.ORG (config) # ip nat inside source static tcp 10.0.1.3 192.168.1.2 80<br />
AOIP.ORG (config) # ip nat inside source static tcp 10.0.1.3 192.168.1.2 443</p>


<p>Related posts:<ol><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-static-nat-on-cisco-routers/' rel='bookmark' title='Permanent Link: Configuring Static NAT on Cisco Routers'>Configuring Static NAT on Cisco Routers</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-pat-on-cisco-routers-nat-overload/' rel='bookmark' title='Permanent Link: Configuring PAT on Cisco Routers (NAT Overload)'>Configuring PAT on Cisco Routers (NAT Overload)</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/nat-network-address-translation/' rel='bookmark' title='Permanent Link: NAT (Network Address Translation)'>NAT (Network Address Translation)</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/ccna/static-nat-overloaded/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NAT (Network Address Translation)</title>
		<link>http://www.anythingoverip.co.za/tutorials/course-content/ccna/nat-network-address-translation/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/ccna/nat-network-address-translation/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 11:31:44 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[CCNA (ICND2)]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[Routing]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[WAN]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=698</guid>
		<description><![CDATA[NAT or Network Address Translation is a key function required in every organisations network. Since all organisation use RFC 1918 IP addressing, and these IP addresses are not allowed to exist on the internet, before we send packets to the internet we need to translate the internal IP address into a useable public IP address. [...]]]></description>
			<content:encoded><![CDATA[<p>NAT or Network Address Translation is a key function required in every organisations network.<br />
Since all organisation use <a href="http://www.anythingoverip.co.za/networking-101/useable-ip-addresses-in-private-networks/">RFC 1918 </a>IP addressing, and these <a href="http://www.anythingoverip.co.za/networking-101/what-is-an-ip-address/">IP addresses </a>are not allowed to exist on the internet, before we send packets to the internet we need to translate the <a href="http://www.anythingoverip.co.za/networking-101/useable-ip-addresses-in-private-networks/">internal IP address </a>into a useable public IP address.</p>
<p>There are 3 ways to configure NAT on a Cisco Router<br />
1/ <a title="Configuring Static NAT on Cisco Routers" href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-static-nat-on-cisco-routers/">Static NAT</a><br />
2/ <a title="Configuring Dynamic NAT on Cisco Routers" href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-dynamic-nat-on-cisco-routers/">Dynamic NAT</a><br />
3/ <a title="Configuring PAT on Cisco Routers (NAT Overload)" href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-pat-on-cisco-routers-nat-overload/">NAT overload</a> (PAT – Port Address translation)</p>
<p><a title="Configuring Static NAT on Cisco Routers" href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-static-nat-on-cisco-routers/"><strong>Static NAT</strong></a> is a one-to-one mapping. This is usually only required when you have a server inside your network (ie: Webserver, FTP, E-mail) that needs to be accessed from the internet. Users on the internet will access a public IP address that you have statically and permanently linked to your servers internal IP address. Of course any time your internal server sends packet to the internet, it’s source IP address will be translated into a public IP address configured with static NAT.</p>
<p><a title="Configuring Dynamic NAT on Cisco Routers" href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-dynamic-nat-on-cisco-routers/"><strong>Dynamic NAT</strong></a> is used for many-to-many mapping. This will allow all your internal computers to be translated into a pool of public IP addresses, however if you only have 10 public IP addresses available in the NAT pool, only 10 computers will be able to access the public network at a time. Each computer will consume one public address at a time which makes this very limited for public internet access. The main purpose for dynamic NAT is to fix overlap IP addresses often experienced after a merger or acquisition. Since all companies use RFC 1918 for internal addresses, it’s not uncommon for 2 companies to be using the exact same internal IP addresses. When a merger or acquisition takes place there are issues with the IP addresses conflicting. Dynamic NAT allows us to translate the internal IP addresses from company ‘A’ into something unique that company ‘B’ does not use, and similarly translate all the internal IP addresses in company ‘B’ into something unique that company ‘A’ does not use. In most cases the ‘public’ address that the two companies will be translated into, will be part of RFC 1918 and will be used purely to resolve IP address overlaps, and NOT internet access.</p>
<p><a title="Configuring PAT on Cisco Routers (NAT Overload)" href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-pat-on-cisco-routers-nat-overload/"><strong>NAT overload</strong></a>, or otherwise known as <strong>PAT (Port Address Translation),</strong> allows us to create a many-to-one mapping. Every computer in your network will be translated into a single Public IP address. This allows us to save on public addresses but still allows each computer in our organisation to access the internet at the same time. PAT identifies each session based on the source port number used in the communication flow. Since each session uses a random source port number, each session in theory should have a different number which allows PAT to associate a session with the single public IP addresses been shared. In the occurrence of two computers randomly choosing the same source port number, PAT will translate the port number and keep a record of the original as well as the new translated port to maintain the session. PAT will not allow internet users to access your internal servers as there is no mapping from outside to inside. The maximum theoretical limit for sharing a single IP address is 64,513 however the practical limit is dependent on the router or firewall doing the PAT and is usually limited to no more than 4,000 sessions to a single IP address.</p>


<p>Related posts:<ol><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-pat-on-cisco-routers-nat-overload/' rel='bookmark' title='Permanent Link: Configuring PAT on Cisco Routers (NAT Overload)'>Configuring PAT on Cisco Routers (NAT Overload)</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-dynamic-nat-on-cisco-routers/' rel='bookmark' title='Permanent Link: Configuring Dynamic NAT on Cisco Routers'>Configuring Dynamic NAT on Cisco Routers</a></li><li><a href='http://www.anythingoverip.co.za/networking-101/useable-ip-addresses-in-private-networks/' rel='bookmark' title='Permanent Link: Useable IP addresses in private networks'>Useable IP addresses in private networks</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/ccna/nat-network-address-translation/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Floating Static Routes</title>
		<link>http://www.anythingoverip.co.za/tutorials/course-content/iscw/floating-static-routes/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/iscw/floating-static-routes/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 19:09:36 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[ISCW]]></category>
		<category><![CDATA[Routing]]></category>
		<category><![CDATA[WAN]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=542</guid>
		<description><![CDATA[In order to have a fully fault tolerant network, a backup solution for WAN links is vital. There are many options for configuring a backup line incase the primary line fails and in this tutorial we are going to look at using floating static routes to achieve a dial-up connection to act as our backup [...]]]></description>
			<content:encoded><![CDATA[<p>In order to have a fully fault tolerant network, a backup solution for WAN links is vital. There are many options for configuring a backup line incase the primary line fails and in this tutorial we are going to look at using floating static routes to achieve a dial-up connection to act as our backup for our primary serial line.</p>
<p> </p>
<p>Using floating static routing as a backup solution works on the following principle.</p>
<p>-          A <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/what-is-a-routing-protocol/">dynamic routing protocol </a>is running over your primary line</p>
<p>-          When the link fails, the routing updates will fail and the routing table will flush</p>
<p>-          A <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/static-routing/">static route </a>that uses the dial-up interface will become the best route</p>
<p>-          The backup interface will dial and traffic will continue to flow</p>
<p>-          When the primary line comes back up the dynamic routing protocol will fill the routing table, overwriting the floating static.</p>
<p> </p>
<p>NOTE: Any type of dial-up interface may be used (modem / <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-basic-isdn-with-interesting-traffic/">ISDN</a> / 3G etc)</p>
<p> </p>
<p>Based on the above it’s important to understand a few things about routing.</p>
<p>-          A router will look for a route with the longest match (most specific route wins).</p>
<p>-          If more than one identical route exists, the route with the LOWEST <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/cisco-administrative-distance/">administration distance </a>will be inserted into the routing table</p>
<p> </p>
<p>So in order for us to configure floating static routes, we need 2 things configured.</p>
<p>-          A <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/what-is-a-routing-protocol/">dynamic routing protocol </a>MUST be configured for this solution</p>
<p>-          An identical <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/static-routing/">static route </a>must be created with an administrative distance higher than our routing protocol.</p>
<p> </p>
<p>Example:</p>
<p>If I am running <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-eigrp-on-a-cisco-router/">EIGRP</a> as my routing protocol and it has learnt a route to network 192.168.1.0 /24 with an admin distance of 90 ( EIGRP has an <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/cisco-administrative-distance/">administrative distance </a>of 90 by default). I must create a static route for the network 192.168.1.0 /24 with a next hop of my remote routers dial-up interface. A static route however has a default administrative distance of 1, which at this point would mean it would overwrite my dynamically learnt route and all my traffic would be sent over my dial-up interface leaving me with a rather large phone bill. So when I create my static route it’s imperative that I change the default administrative distance to something higher than that of my routing protocol – I suggest a value of 250.</p>
<p> </p>
<p>My static route would look like this:</p>
<p> </p>
<p><strong>AOIP.ORG(config)# ip route 192.168.1.0 255.255.255.0 10.0.1.1 200</strong></p>
<p> </p>
<p><strong>Destination network :</strong> 192.168.1.0</p>
<p><strong>Subnetmask for destination :</strong> 255.255.255.0</p>
<p><strong>Next hop address of the remote routers dial-up interface:</strong> 10.0.1.1</p>
<p><strong>Administrative Distance :</strong> 200</p>


<p>Related posts:<ol><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/static-routing/' rel='bookmark' title='Permanent Link: Static Routing'>Static Routing</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/cisco-administrative-distance/' rel='bookmark' title='Permanent Link: Cisco Administrative Distance'>Cisco Administrative Distance</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/iscw/isdn-and-multilink-with-load-threshold/' rel='bookmark' title='Permanent Link: ISDN and Multilink with load-threshold'>ISDN and Multilink with load-threshold</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/iscw/floating-static-routes/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Configuring Basic ISDN with Interesting Traffic</title>
		<link>http://www.anythingoverip.co.za/tutorials/course-content/iscw/configuring-basic-isdn-with-interesting-traffic/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/iscw/configuring-basic-isdn-with-interesting-traffic/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 14:10:17 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[Access-Lists]]></category>
		<category><![CDATA[ISCW]]></category>
		<category><![CDATA[Routing]]></category>
		<category><![CDATA[WAN]]></category>
		<category><![CDATA[ISDN]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=537</guid>
		<description><![CDATA[When configuring ISDN with interesting traffic, it’s important to first understand how Cisco defines ‘interesting’ and what this means in terms of the connection been formed. Interesting traffic is traffic that we define in the form of an access-list that is allowed to cause the ISDN to dial. This does NOT mean it is the [...]]]></description>
			<content:encoded><![CDATA[<p>When configuring ISDN with interesting traffic, it’s important to first understand how Cisco defines ‘interesting’ and what this means in terms of the connection been formed. Interesting traffic is traffic that we define in the form of an <a href="http://www.anythingoverip.co.za/networking-101/introduction-to-acls-access-control-list/">access-list </a>that is allowed to cause the ISDN to dial. This does NOT mean it is the only traffic allowed to use the link but this does tie in directly with the idle-timeout value that we need to set on the ISDN interface.</p>
<p> </p>
<p>For example: If I define an access-list that allows telnet and denies everything else, then telnet is the only traffic that will cause my ISDN interface to dial the remote router. Once the line has connected, ANY traffic may flow over the ISDN line. The router is looking purely for ‘interesting traffic’ so if no telnet traffic is sent over the line for the idle-timeout value, the line will drop.</p>
<p> </p>
<p>This type of installation of ISDN is fantastic for very small branch offices that do not need to be connected to HQ permanently and you only need the link to be established for short periods of time. This however is not a good link backup solution.</p>
<p> </p>
<p>In the below configuration we have created an <a href="http://www.anythingoverip.co.za/networking-101/introduction-to-acls-access-control-list/">access-list </a>that will allow telnet traffic to cause the link to be established.</p>
<p> </p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-539" title="isdn" src="http://www.anythingoverip.co.za/wp-content/uploads/2009/08/isdn.jpg" alt="isdn" width="350" height="79" /></p>
<p> </p>
<p><strong>AOIP.ORG(config)# access-list 102 permit tcp any any eq telnet</strong></p>
<p>Create the Access-list to be used to specify interesting traffic</p>
<p> </p>
<p><strong>AOIP.ORG(config)# dialer-list 2 protocol ip list 102    </strong></p>
<p>The dialer-list defines what traffic is interesting, in this case – Access list 102</p>
<p> </p>
<p><strong>AOIP.ORG(config)# isdn switch-type basic-net3</strong></p>
<p>Define the <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/isdn-switch-type/">switch-type </a>needed for ISDN, This is the settings for BRI interfaces in Europe and Africa</p>
<p> </p>
<p><strong>AOIP.ORG(config)# int bri 2/0</strong></p>
<p>Enter the BRI interface you wish to configure</p>
<p><strong>AOIP.ORG(config-if)# ip address 10.0.1.1</strong></p>
<p>Set an IP address on the ISDN interface</p>
<p><strong>AOIP.ORG(config-if)# encapsulation ppp</strong></p>
<p>Define <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-ppp-encapsulation/">PPP as the encapsulation </a>method</p>
<p><strong>AOIP.ORG(config-if)# ppp authentication chap</strong></p>
<p>Authentication for PPP has been set to CHAP</p>
<p><strong>AOIP.ORG(config-if)# dialer-group 2 </strong></p>
<p>This tells our ISDN interface to use Dialer-list 2, you will notice the numbers for ‘dialer-group’ and ‘dialer-list’ match</p>
<p><strong>AOIP.ORG(config-if)# dialer idle-timeout 180</strong></p>
<p>If no interesting traffic is sent for 180 seconds, the line will drop</p>
<p><strong>AOIP.ORG(config-if)# dialer map ip 10.0.1.2 name Router2 5551234   </strong></p>
<p>If you need to connect to the IP address 10.0.1.2 (The remote routers ISDN interface), The remote router is name “Router2” and the telephone number to dial is “5551234”</p>
<p><strong>AOIP.ORG(config-if)# no shut</strong></p>
<p> </p>
<p><strong>AOIP.ORG(config)# ip route 192.168.2.0 255.255.255.0 10.0.1.2</strong></p>
<p>Create a <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/static-routing/">static route </a>for the remote subnet with a next hop of Router2’s ISDN interface.</p>
<p> </p>
<p><strong>AOIP.ORG(config)# username Router2 password aoip</strong></p>
<p>The remote routers hostname and a password that will be used for PPP authentication</p>


<p>Related posts:<ol><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/iscw/isdn-and-multilink-with-load-threshold/' rel='bookmark' title='Permanent Link: ISDN and Multilink with load-threshold'>ISDN and Multilink with load-threshold</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/iscw/isdn-switch-type/' rel='bookmark' title='Permanent Link: ISDN Switch-type'>ISDN Switch-type</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/iscw/floating-static-routes/' rel='bookmark' title='Permanent Link: Floating Static Routes'>Floating Static Routes</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/iscw/configuring-basic-isdn-with-interesting-traffic/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>ISDN Switch-type</title>
		<link>http://www.anythingoverip.co.za/tutorials/course-content/iscw/isdn-switch-type/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/iscw/isdn-switch-type/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 14:55:32 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[ISCW]]></category>
		<category><![CDATA[Routing]]></category>
		<category><![CDATA[WAN]]></category>
		<category><![CDATA[Dial-UP]]></category>
		<category><![CDATA[ISDN]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=529</guid>
		<description><![CDATA[In order for any ISDN lines to establish Layer-1 connectivity the switch-type has to be defined correctly. The switch-type is very much country dependant so it’s also important to memorize the switch-type that applies to where you do most of your installations.   If Layer-1 is showing ‘Deactivated’ when using the show isdn status command, [...]]]></description>
			<content:encoded><![CDATA[<p>In order for any ISDN lines to establish Layer-1 connectivity the switch-type has to be defined correctly.</p>
<p>The switch-type is very much country dependant so it’s also important to memorize the switch-type that applies to where you do most of your installations.</p>
<p> </p>
<p>If Layer-1 is showing ‘Deactivated’ when using the <strong>show isdn status</strong> command, only 3 things can be the source of the problem.</p>
<p> </p>
<p>1/ isdn switch-type has not been set, or has not been set correctly (The most common problem)</p>
<p>2/ There is a problem with the PSTN (call your telephony service provider)</p>
<p>3/ Cable problems</p>
<p>4/ Physical port failure on the Router.</p>
<p> </p>
<p>In order to configure the switch-type you can enter the command</p>
<p><strong>Isdn switch-type <em>{switch-type}</em></strong></p>
<p> </p>
<p>This can be done either in global configuration mode, or on the interface depending on the router and IOS version.</p>
<p> </p>
<p>Below are all the switch-type options available<span id="_marker"> </span></p>
<p><span> </span></p>
<p><span> </span></p>
<table border="1" cellspacing="1" cellpadding="0" width="80%">
<tbody>
<tr>
<td>basic-1tr6</td>
<td>German 1TR6 ISDN switches</td>
</tr>
<tr>
<td>basic-5ess</td>
<td>AT&amp;T basic rate switches</td>
</tr>
<tr>
<td>basic-dms100</td>
<td>NT DMS-100 basic rate switches</td>
</tr>
<tr>
<td>basic-net3</td>
<td>NET3 ISDN and Euro-ISDN switches (UK and others), also called E-DSS1 or DSS1</td>
</tr>
<tr>
<td>basic-ni</td>
<td>National ISDN-1 switches</td>
</tr>
<tr>
<td>basic-nwnet3</td>
<td>Norway Net3 switches</td>
</tr>
<tr>
<td>basic-nznet3</td>
<td>New Zealand Net3 switches</td>
</tr>
<tr>
<td>basic-ts013</td>
<td>Australian TS013 switches</td>
</tr>
<tr>
<td>none</td>
<td>No switch defined</td>
</tr>
<tr>
<td>ntt</td>
<td>Japanese NTT ISDN switches (ISDN BRI only)</td>
</tr>
<tr>
<td>primary-4ess</td>
<td>AT&amp;T 4ESS switch type for the U.S. (ISDN PRI only)</td>
</tr>
<tr>
<td>primary-5ess</td>
<td>AT&amp;T 5ESS switch type for the U.S. (ISDN PRI only)</td>
</tr>
<tr>
<td>primary-dms100</td>
<td>NT DMS-100 switch type for the U.S. (ISDN PRI only)</td>
</tr>
<tr>
<td>primary-net5</td>
<td>NET5 ISDN PRI switches (Europe)</td>
</tr>
<tr>
<td>primary-ntt</td>
<td>INS-Net 1500 for Japan (ISDN PRI only)</td>
</tr>
<tr>
<td>primary-ts014</td>
<td>Australian TS014 switches (ISDN PRI only)</td>
</tr>
<tr>
<td>vn2</td>
<td>French VN2 ISDN switches (ISDN BRI only)</td>
</tr>
<tr>
<td>vn3</td>
<td>French VN3 ISDN switches (ISDN BRI only)</td>
</tr>
<tr>
<td>vn4</td>
<td>French VN4 ISDN switches (ISDN BRI only)</td>
</tr>
</tbody>
</table>


<p>Related posts:<ol><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/iscw/configuring-basic-isdn-with-interesting-traffic/' rel='bookmark' title='Permanent Link: Configuring Basic ISDN with Interesting Traffic'>Configuring Basic ISDN with Interesting Traffic</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/iscw/isdn-and-multilink-with-load-threshold/' rel='bookmark' title='Permanent Link: ISDN and Multilink with load-threshold'>ISDN and Multilink with load-threshold</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/iscw/floating-static-routes/' rel='bookmark' title='Permanent Link: Floating Static Routes'>Floating Static Routes</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/iscw/isdn-switch-type/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Inter-VLAN Routing (Router on a Stick)</title>
		<link>http://www.anythingoverip.co.za/tutorials/course-content/ccna/inter-vlan-routing-router-on-a-stick/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/ccna/inter-vlan-routing-router-on-a-stick/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 14:50:32 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[BCMSN]]></category>
		<category><![CDATA[CCNA (ICND2)]]></category>
		<category><![CDATA[Routing]]></category>
		<category><![CDATA[Switching]]></category>
		<category><![CDATA[Live Demos]]></category>
		<category><![CDATA[VLANS]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=367</guid>
		<description><![CDATA[In order for 2 VLANS to be able to communicate, the traffic must be routed. This can be done either by a multi-layer switch which will have routing capabilities, or the packets can be routed by a router.   As an example, I have 2 VLANS, VLAN 10 and VLAN 20 which have subnets 10.0.10.0/24 [...]]]></description>
			<content:encoded><![CDATA[<p>In order for 2 <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/">VLANS</a> to be able to communicate, the traffic must be routed. This can be done either by a multi-layer switch which will have routing capabilities, or the packets can be routed by a router.</p>
<p> </p>
<p>As an example, I have 2 VLANS, VLAN 10 and VLAN 20 which have <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/classless-ip-addresses/">subnets</a> 10.0.10.0/24 and 10.0.20.0/24 respectively. In order to have traffic from one subnet communicate with the other routing would have to take place. Furthermore the switch I have used in the example below is a layer 2 switch so there is no routing functionality available so I am forced to use a router.</p>
<p> </p>
<p>This leaves me with 2 options.</p>
<p>1/ Plug my router into my switch with 2 cables. Configure 1 port on the router to be in subnet 10.0.10.0/24 and in VLAN 10, and configure a second port to be in subnet 10.0.20.0/24 and associate that port to VLAN 20.</p>
<p>This is not a major issue, and this is something that could easily be configured, however it will require a router with 2 interfaces free for me to use. What if I had more than 2 VLAN’s? What if I had 200 VLAN’s (Not an uncommon scenario)? Not only would this mean I need a router with 200 interfaces, but it would also mean that my switch would need 200 interfaces. So far this is not looking like a very scalable solution.</p>
<p> </p>
<p>2/ I can plug my router in my switch with a single cable. Configure Sub-interfaces on the router and associate each sub-interface to each VLAN. This is FAR more scalable and would allow me to configure more than 2 VLAN’s on a single interface</p>
<p> </p>
<p><strong>NOTE:</strong> A sub-interface is a logical separation of the physical interface. Each sub-interface can be configured as if it were a physical port on the device.</p>
<p> </p>
<p>As you can see from the above, option 2 is the only logical solution for scalability and ease. There is however one small problem with using this option. In order to have multiple VLAN’s been sent over a single cable/port the port needs to be configured as a <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-a-trunk-port-on-a-cisco-switch/">Trunk port</a>. In my example I have already configured the switch and made FastEthernet 0/23 a trunk port using dot1q as my encapsulation protocol. (Port f0/23 on the switch is plugged into the router’s port f0/1)</p>
<p> </p>
<p>Here is the breakdown of the configuration needed to configure a Router on a stick.</p>
<p> </p>
<p><strong>AOIP.ORG# ping 10.0.10.2</strong></p>
<p>Confirming that ping does not work to the interface VLAN 10 on my switch which has IP address 10.0.10.2</p>
<p><strong>AOIP.ORG# ping 10.0.20.2</strong></p>
<p>Confirming that ping does not work to the interface VLAN 20 on my switch which has IP address 10.0.20.2</p>
<p><strong>AOIP.ORG(config)# interface fastethernet 0/1.10</strong></p>
<p>This enters the interface FastEthernet 0/1 and creates a sub-interface named ‘10’. <strong>NOTE:</strong> It is a wise idea to name your sub-interface the same as the VLAN number you are going to allocate it to for help with troubleshooting.</p>
<p><strong>AOIP.ORG(config-subif)# encapsulation dot1q 10</strong></p>
<p>Configures the sub-interface to be encapsulated with dot1q, and allocates this sub-interface to VLAN 10</p>
<p><strong>AOIP.ORG(config-subif)# ip address 10.0.10.1 255.255.255.0</strong></p>
<p>Associate an IP address to the sub-interface</p>
<p> </p>
<p><strong>AOIP.ORG(config-subif)# exit</strong></p>
<p> </p>
<p><strong>AOIP.ORG(config)# interface fastethernet 0/1.20</strong></p>
<p>This enters the interface FastEthernet 0/1 and creates a sub-interface named ‘20’. <strong>NOTE:</strong> It is a wise idea to name your sub-interface the same as the VLAN number you are going to allocate it to for help with troubleshooting.</p>
<p><strong>AOIP.ORG(config-subif)# encapsulation dot1q 20</strong></p>
<p>Configures the sub-interface to be encapsulated with dot1q, and allocates this sub-interface to VLAN 20</p>
<p><strong>AOIP.ORG(config-subif)# ip address 10.0.20.1 255.255.255.0</strong></p>
<p>Associate an IP address to the sub-interface</p>
<p><strong>AOIP.ORG(config-subif)# exit</strong></p>
<p> </p>
<p><strong>AOIP.ORG(config)# exit</strong></p>
<p> </p>
<p><strong>AOIP.ORG# ping 10.0.10.2</strong></p>
<p>Confirm that ping now works, you will notice the first ping failed, but this is purely a ARP delay that caused this</p>
<p><strong>AOIP.ORG# ping 10.0.20.2</strong></p>
<p>Confirm that ping now works, you will notice the first ping failed, but this is purely a ARP delay that caused this</p>
<p> </p>
<p>In order to complete the design and installation of the above, all computers that are in VLAN 10 would need to have their Default-gateway configured as 10.0.10.1 and machines in VLAN 20 would need their Default-gateway configured as 10.0.20.1.</p>
<p> </p>
<p>When a machine from VLAN 10 tries to communicate with a machine in VLAN 20 the following will take place</p>
<p>1/ Packet enters the switch</p>
<p>2/ The Switch will send the packet via the <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-a-trunk-port-on-a-cisco-switch/">TRUNK port </a>on VLAN 10 to the router.</p>
<p>3/  The router will receive the packet on sub-interface f0/1.10 tagged as VLAN 10</p>
<p>4/ The router will remove the TAG on the packet and do a lookup in the routing table</p>
<p>5/ The router will encapsulate the packet with a TAG for VLAN 20</p>
<p>6/ The router will send the packet via the TRUNK to the switch on VLAN 20 through sub-interface f0/1.20</p>
<p>7/ The switch will receive the packet on the trunk port on VLAN 20</p>
<p>8/ The switch will send the packet to the destination computer.</p>
<p> </p>
<p>Below is the live demo.</p>
<p> </p>
<p><object type="application/x-shockwave-flash" style="width:630px;height:250px" data="http://www.anythingoverip.co.za/Live_Demos/ROS.swf"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="quality" value="best" /><param name="wmode" value="transparent" /><param name="movie" value="http://www.anythingoverip.co.za/Live_Demos/ROS.swf" /><param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer" />If you can see this, then you might need a Flash Player upgrade or you need to install Flash Player if it's missing. Get <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash Player</a> from Adobe.</object><br/>
		<!-- Valid XHTML flash object delivered by XHTML Video Embed. Get it at: http://saltwaterc.net/xhtml-video-embed -->
		</p>


<p>Related posts:<ol><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-a-trunk-port-on-a-cisco-switch/' rel='bookmark' title='Permanent Link: Configuring a Trunk port on a Cisco Switch'>Configuring a Trunk port on a Cisco Switch</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/vtp-vlan-trunking-protocol/' rel='bookmark' title='Permanent Link: VTP (VLAN Trunking Protocol)'>VTP (VLAN Trunking Protocol)</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-an-access-port-on-a-cisco-switch/' rel='bookmark' title='Permanent Link: Configuring an Access port on a Cisco switch'>Configuring an Access port on a Cisco switch</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/ccna/inter-vlan-routing-router-on-a-stick/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Speed and Duplex configuration</title>
		<link>http://www.anythingoverip.co.za/tutorials/course-content/bcmsn/speed-and-duplex-configuration/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/bcmsn/speed-and-duplex-configuration/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 17:52:07 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[BCMSN]]></category>
		<category><![CDATA[CCENT (ICND1)]]></category>
		<category><![CDATA[Routing]]></category>
		<category><![CDATA[Switching]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=359</guid>
		<description><![CDATA[Although the configuration of both of these functions is incredible easy, the concept behind them is somewhat important.   Duplex defines how traffic will be sent and can be related to a 2-way radio vs. A telephone. With a 2-way radio, more so when there are more than 2 people on the same radio frequency, [...]]]></description>
			<content:encoded><![CDATA[<p>Although the configuration of both of these functions is incredible easy, the concept behind them is somewhat important.</p>
<p> </p>
<p>Duplex defines how traffic will be sent and can be related to a 2-way radio vs. A telephone.</p>
<p>With a 2-way radio, more so when there are more than 2 people on the same radio frequency, only 1 person may speak at the same time. If 2 people were to push the PTT (push to talk) button at the same time, they would hear a squelch. Both people would hear the squelch, release the PTT button and try again at a random time interval. Hopefully only 1 person would press the button this time and would be able to speak on the radio frequency, of course if both people pressed the button at the same time again, they would have to repeat the procedure until they managed to be the only person communicating.</p>
<p> </p>
<p>In terms of Duplex, a 2-way radio would be the same as ‘Half-Duplex’ were only 1 person may communicate at the same time, if computers tried to talk at the same time, they would have a ‘collision’. Like the people, the 2 computers notice the collision and wait a random time frame before transmitting the packet again.</p>
<p> </p>
<p>Full duplex on the other hand is like a telephone. Both parties in a telephone call can talk at the same time. Granted most humans cannot hear and talk at the same time on the phone, but the telephone is able to transmit both flows of traffic from both sides of the telephone line at the same time. If 2 computers wished to send data to each other, and full duplex was available, they would be able to transmit and receive at the same time.</p>
<p> </p>
<p><strong>NOTE:</strong> A hub can ONLY run at half-duplex. It is not possible for a hub to run at full duplex. A Switch however can be configured for either.</p>
<p> </p>
<p><strong>AOIP.ORG_Switch# show interface f0/7</strong></p>
<p>In the live demo below you will notice I have highlighted the current status of the interface (Auto-duplex, Auto-speed)</p>
<p><strong>AOIP.ORG_Switch# conf t</strong></p>
<p><strong> </strong></p>
<p><strong>AOIP.ORG_Switch(config)# interface fastethernet 0/7</strong></p>
<p>Enter the interface you wish to configure</p>
<p><strong>AOIP.ORG_Switch(config-if)# duplex full</strong></p>
<p>Set the Duplex to Full, Half or Auto. Auto doesn’t always end up with the best result, so forcing the duplex to the correct value to recommended</p>
<p><strong>AOIP.ORG_Switch(config-if)# speed 100</strong></p>
<p><strong>Set the speed of the interface. Depending on the interface will depend on the possible options. Ethernet can only be set at 10Mbps, FastEthernet can be set at either 10Mbps or 100Mbps, and GigabitEthernet can be set to 10/100/1000 mbps</strong></p>
<p><strong>AOIP.ORG_Switch(config-if)# no shut</strong></p>
<p>Activate the interface</p>
<p><strong>AOIP.ORG_Switch(config-if)# do show interface f0/7</strong></p>
<p>Confirm the new setting have taken effect.</p>
<p> </p>
<p><object type="application/x-shockwave-flash" style="width:630px;height:250px" data="http://www.anythingoverip.co.za/Live_Demos/duplex-speed.swf"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="quality" value="best" /><param name="wmode" value="transparent" /><param name="movie" value="http://www.anythingoverip.co.za/Live_Demos/duplex-speed.swf" /><param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer" />If you can see this, then you might need a Flash Player upgrade or you need to install Flash Player if it's missing. Get <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash Player</a> from Adobe.</object><br/>
		<!-- Valid XHTML flash object delivered by XHTML Video Embed. Get it at: http://saltwaterc.net/xhtml-video-embed -->
		</p>


<p>Related posts:<ol><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-an-ip-address-and-default-gateway-on-a-cisco-switch/' rel='bookmark' title='Permanent Link: Configuring an IP address and Default-Gateway on a Cisco Switch'>Configuring an IP address and Default-Gateway on a Cisco Switch</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/port-security-on-a-cisco-switch/' rel='bookmark' title='Permanent Link: Port Security on a Cisco Switch'>Port Security on a Cisco Switch</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-a-trunk-port-on-a-cisco-switch/' rel='bookmark' title='Permanent Link: Configuring a Trunk port on a Cisco Switch'>Configuring a Trunk port on a Cisco Switch</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/bcmsn/speed-and-duplex-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clock rate and Bandwidth commands</title>
		<link>http://www.anythingoverip.co.za/tutorials/course-content/ccna/clock-rate-and-bandwidth-commands/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/ccna/clock-rate-and-bandwidth-commands/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 06:00:14 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[CCENT (ICND1)]]></category>
		<category><![CDATA[CCNA (ICND2)]]></category>
		<category><![CDATA[Routing]]></category>
		<category><![CDATA[WAN]]></category>
		<category><![CDATA[Cisco Configuration]]></category>
		<category><![CDATA[QOS]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=269</guid>
		<description><![CDATA[Two commands which are often confused or misunderstood, are the clock rate and bandwidth commands. In order to understand clock rate we first need to understand how the cabling works on routers. When connecting two routers together with a serial cable, one of the routers needs to host the DCE (Data Communications Equipment) side of [...]]]></description>
			<content:encoded><![CDATA[<p>Two commands which are often confused or misunderstood, are the <strong>clock rate</strong> and <strong>bandwidth</strong> commands.</p>
<p>In order to understand <strong>clock rate</strong> we first need to understand how the cabling works on routers. When connecting two routers together with a serial cable, one of the routers needs to host the DCE (Data Communications Equipment) side of the cable, and the other will host the DTE (Date Terminal Equipment) side. Most serial cables are marked on the connector if it’s the DTE or DCE.</p>
<p>So what’s the difference between the 2 sides? The DCE side of the cable is the side that sets the speed of the link (also known as clocking). Based on this, it’s safe to assume that the cable coming out of your router and going to your service provider is the DTE side, since you service provider sets the speed of the line based on the subscription you have purchased. The DTE side of the cable is where the communications terminate ie: your router terminates the connection from the service provider.</p>
<p>From a configuration point of view the DCE side of the cable is able to use the<strong> clock rate</strong> command to set the speed of the line. If the command is not used the interface will run at the maximum speed supported by the interface. If you have only subscribed for a 64k line, then the clock rate would have been set on the DCE side of the cable using the command ‘<strong>clock rate 64000</strong>’ under the interface.</p>
<p><strong>AOIP.ORG# conf t</strong></p>
<p><strong>AOIP.ORG(config)# interface serial 1/0</strong></p>
<p><strong>AOIP.ORG(config-if)# clock rate 64000 (represented in BITS per second)</strong></p>
<p>If you try use the clock rate command on the DTE interface you will receive the following error message “This command applies only to DCE interfaces”</p>
<p>To identify which end of the cable has been plugged into a Cisco router, you can also use the command “show controller” – see below diagram.</p>
<div id="attachment_270" class="wp-caption aligncenter" style="width: 622px"><img class="size-full wp-image-270" title="Cisco Show Controller Command" src="http://www.anythingoverip.co.za/wp-content/uploads/2009/07/show_controller.jpg" alt="Cisco Show Controller Command" width="612" height="382" /><p class="wp-caption-text">Cisco Show Controller Command</p></div>
<p>The bandwidth command however <strong>does not adjust the speed of the line at all</strong>, however it should be configured on ALL DTE and DCE interfaces because it is used by;</p>
<p>1/ <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/what-is-a-routing-protocol/">Routing protocols</a> &#8211; to calculate the cost of a path</p>
<p>2/ QOS (Quality of Service) &#8211; to identify how much bandwidth is availble to prioritize,</p>
<p>If no bandwidth command has been configured on the interface, Routing protocols and QOS will assume the line is running at the maximum speed supported by the interface which can result in incorrect routing and incorrect prioritization of packets.</p>
<p>The bandwidth command is issued under the interface, as is represented in Kilobits per second</p>
<p><strong>AOIP.ORG# conf t</strong></p>
<p><strong>AOIP.ORG(config)# interface serial 1/0</strong></p>
<p><strong>AOIP.ORG(config-if)# bandwidth 64 (represented in kilobits per second)</strong></p>


<p>Related posts:<ol><li><a href='http://www.anythingoverip.co.za/tutorials/topic/maintenance-topic-tutorials/interface-status/' rel='bookmark' title='Permanent Link: Interface Status'>Interface Status</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-eigrp-on-a-cisco-router/' rel='bookmark' title='Permanent Link: Configuring EIGRP on a Cisco Router'>Configuring EIGRP on a Cisco Router</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/cisco-administrative-distance/' rel='bookmark' title='Permanent Link: Cisco Administrative Distance'>Cisco Administrative Distance</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/ccna/clock-rate-and-bandwidth-commands/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Uni-directional routing issues</title>
		<link>http://www.anythingoverip.co.za/tutorials/course-content/ccna/uni-directional-routing-issues/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/ccna/uni-directional-routing-issues/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 06:00:23 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[BSCI]]></category>
		<category><![CDATA[CCNA (ICND2)]]></category>
		<category><![CDATA[Routing]]></category>
		<category><![CDATA[Live Demos]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=255</guid>
		<description><![CDATA[It is important to understand that any TCP packet that is routed over a network requires bi-directional support. This means that even though I may have a route on my router to your network, if you don’t have a route back to me, the transmission of packets will fail. TCP uses acknowledgments to confirm the [...]]]></description>
			<content:encoded><![CDATA[<p>It is important to understand that any TCP packet that is routed over a network requires bi-directional support. This means that even though I may have a route on my router to your network, if you don’t have a route back to me, the transmission of packets will fail. TCP uses acknowledgments to confirm the packet has been received, and if the acknowledgment cannot be routed back to the source the traffic will not continue to flow.</p>
<p>The same applies with protocols such as ping. Ping sends a <em>echo</em> to the destination, and when the destination device receives the ICMP packet it must send a <em>echo-reply</em> packet back to the source. If there is no route going back to the source, ping will be unsuccessful.</p>
<p>In the live demo below I have illustrated this exact problem. On my router AOIP.ORG I have tried to ping the <a href="http://www.anythingoverip.co.za/networking-101/what-is-an-ip-address/">IP address</a> 2.2.2.2 (the loopback interface of R2). AOIP.ORG has a <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/default-gateway-of-last-resort/">default gateway of last resort</a> configured to send all traffic to the router R1 (R1 already has routing configured correctly), R1 will send the packet to R2 however R2 does not have a route back to the 192.168.1.0 network (attached to AOIP.ORG). Only after I telnet into R1, and then telnet into R2 and configure a route to the network 192.168.1.0 do my pings begin to work. ( I can’t telnet directly to R2 since it does not have a route back to me, so I have to do this on a hop by hop basis).</p>
<p style="text-align: center;"><img class="size-full wp-image-178 aligncenter" title="network_diagram_with_loopbacks1" src="http://www.anythingoverip.co.za/wp-content/uploads/2009/06/network_diagram_with_loopbacks1.jpg" alt="network_diagram_with_loopbacks1" width="350" height="355" /></p>
<p><object type="application/x-shockwave-flash" style="width:630px;height:250px" data="http://www.anythingoverip.co.za/Live_Demos/uni-directional_routing.swf"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="quality" value="best" /><param name="wmode" value="transparent" /><param name="movie" value="http://www.anythingoverip.co.za/Live_Demos/uni-directional_routing.swf" /><param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer" />If you can see this, then you might need a Flash Player upgrade or you need to install Flash Player if it's missing. Get <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash Player</a> from Adobe.</object><br/>
		<!-- Valid XHTML flash object delivered by XHTML Video Embed. Get it at: http://saltwaterc.net/xhtml-video-embed -->
		</p>


<p>Related posts:<ol><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/static-routing/' rel='bookmark' title='Permanent Link: Static Routing'>Static Routing</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/inter-vlan-routing-router-on-a-stick/' rel='bookmark' title='Permanent Link: Inter-VLAN Routing (Router on a Stick)'>Inter-VLAN Routing (Router on a Stick)</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-eigrp-on-a-cisco-router/' rel='bookmark' title='Permanent Link: Configuring EIGRP on a Cisco Router'>Configuring EIGRP on a Cisco Router</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/ccna/uni-directional-routing-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring OSPF on a Cisco Router</title>
		<link>http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-ospf-on-a-cisco-router/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-ospf-on-a-cisco-router/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 06:00:33 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[BSCI]]></category>
		<category><![CDATA[CCNA (ICND2)]]></category>
		<category><![CDATA[Routing]]></category>
		<category><![CDATA[Live Demos]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=248</guid>
		<description><![CDATA[OSPF (Open Shortest Path First) is an industry open standard supported by almost every router on the planet.   OSPF is a classless routing protocol so subnetmask values are sent in the update and it supports CIDR. OSPF does not send periodic updates and is designed to only send updates when something has changed or [...]]]></description>
			<content:encoded><![CDATA[<p>OSPF (Open Shortest Path First) is an industry open standard supported by almost every router on the planet.</p>
<p> </p>
<p>OSPF is a <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/classless-ip-addresses/">classless</a> routing protocol so subnetmask values are sent in the update and it supports <a href="http://www.anythingoverip.co.za/networking-101/cidr-classless-inter-domain-routing/">CIDR</a>.</p>
<p>OSPF does not send periodic updates and is designed to only send updates when something has changed or a new route has been added, it does this through the use of LSA&#8217;s (Link State Advertisements).<a name="_MailAutoSig"></a></p>
<p> OSPF is designed in a hierarchical fashion through Areas. Routers running OSPF, flood LSA updates to routers in the same area rather than sending the entire routing table.</p>
<p> OSPF is a link-state protocol, and pieces the information received from LSA&#8217;s to calculate the best path using the SPF (Shortest Path First) algorithm. Its cost value (metric) is based on the formula: <strong>Cost = 10<sup>8</sup>/bandwidth (bps) </strong></p>
<p><strong> </strong>Each router running the OSPF process has a Router ID which is known by all other devices. By default the Router ID is the highest IP address of an active interface at the point the OSPF process started. This can be manually forced by using loopback interfaces, as they are permanently in a Up Up status, and insuring the loopback has the highest IP address on the router. The default value can also be overwritten by using the <em>router-id</em> command</p>
<p> OSPF has a default <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/cisco-administrative-distance/">administration distance</a> of 110</p>
<p> OSPF does not do automatic summarization of routes like <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-eigrp-on-a-cisco-router/">EIGRP</a> does, but routes can be manually summarized as required.</p>
<p> </p>
<p>In the Live demo below, the following configuration was entered.</p>
<p> <strong>AOIP.ORG# ping 10.0.3.2</strong></p>
<p>(ping is unsuccessful)</p>
<p><strong>AOIP.ORG# show ip route</strong></p>
<p>(no routes for network 10.0.3.0 exist)</p>
<p><strong>AOIP.ORG# conf t</strong></p>
<p><strong>AOIP.ORG(config)# router ospf 100</strong></p>
<p>(enables OSPF with a process ID of 100 &#8211; this value is used by THIS ROUTER ONLY)</p>
<p><strong>AOIP.ORG(config-router)# network 192.168.1.0 0.0.0.255 area 0</strong></p>
<p>(enables all interfaces with IP addresses beginning with 192.168.1 to belong to Area 0 &#8211; the backbone area. OSPF uses wildcard mask values for the network statement)</p>
<p><strong>AOIP.ORG(config-router)# exit</strong></p>
<p><strong>AOIP.ORG(config)# exit</strong></p>
<p><strong>AOIP.ORG# ping 10.0.3.2 repeat 15</strong></p>
<p>(ping is successful after a few attempts, it can take OSPF a little while to discover and learn the topology of the network)</p>
<p><strong>AOIP.ORG# show ip route</strong></p>
<p>(3 new entries are in the routing table with a &#8216;O&#8217; to represent OSPF, the entries are not summarized by default, 10.0.1.0, 10.0.2.0 and 10.0.3.0)</p>
<p> </p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-178" title="network_diagram_with_loopbacks1" src="http://www.anythingoverip.co.za/wp-content/uploads/2009/06/network_diagram_with_loopbacks1.jpg" alt="network_diagram_with_loopbacks1" width="350" height="355" /></p>
<p> </p>
<p><object type="application/x-shockwave-flash" style="width:630px;height:250px" data="http://www.anythingoverip.co.za/Live_Demos/router_ospf.swf"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="quality" value="best" /><param name="wmode" value="transparent" /><param name="movie" value="http://www.anythingoverip.co.za/Live_Demos/router_ospf.swf" /><param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer" />If you can see this, then you might need a Flash Player upgrade or you need to install Flash Player if it's missing. Get <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash Player</a> from Adobe.</object><br/>
		<!-- Valid XHTML flash object delivered by XHTML Video Embed. Get it at: http://saltwaterc.net/xhtml-video-embed -->
		</p>


<p>Related posts:<ol><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-eigrp-on-a-cisco-router/' rel='bookmark' title='Permanent Link: Configuring EIGRP on a Cisco Router'>Configuring EIGRP on a Cisco Router</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/topic/routing-topic-tutorials/configuring-rip-on-a-cisco-router/' rel='bookmark' title='Permanent Link: Configuring RIP on a Cisco Router'>Configuring RIP on a Cisco Router</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/cisco-administrative-distance/' rel='bookmark' title='Permanent Link: Cisco Administrative Distance'>Cisco Administrative Distance</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-ospf-on-a-cisco-router/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

