<?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; CCNA (ICND2)</title>
	<atom:link href="http://www.anythingoverip.co.za/category/tutorials/course-content/ccna/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>Configuring PAT on Cisco Routers (NAT Overload)</title>
		<link>http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-pat-on-cisco-routers-nat-overload/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-pat-on-cisco-routers-nat-overload/#comments</comments>
		<pubDate>Wed, 20 Jul 2011 14:06:58 +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[SND]]></category>
		<category><![CDATA[WAN]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=732</guid>
		<description><![CDATA[PAT (Port Address Translation) is by far the most common implementation of NAT, and if you have an ADSL router at home there is a 100% chance you are using it. PAT or otherwise known as NAT overload, allows you to translate IP addresses in a many-to-one method. In my previous post on Configuring Dynamic [...]]]></description>
			<content:encoded><![CDATA[<p>PAT (Port Address Translation) is by far the most common implementation of NAT, and if you have an ADSL router at home there is a 100% chance you are using it.</p>
<p>PAT or otherwise known as NAT overload, allows you to translate IP addresses in a many-to-one method.<br />
In my previous post on <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-dynamic-nat-on-cisco-routers">Configuring Dynamic NAT</a> we saw that we can NAT many-to-many  but this was limited by the amount of public addresses that you have available. In cases such as home ADSL, your ISP will only issue you with a single public IP address but you might have 2 or more devices that need to access the Internet at any given time. This is where PAT takes over and makes this all possible.</p>
<p>As with any NAT configuration we need to first define our inside and outside interfaces. In this example I&#8217;ll use FastEthernet 0/0 as my inside, and Serial 0 as my outside.</p>
<p>AOIP.ORG (config) # interface FastEthernet 0/0<br />
AOIP.ORG (config-if) # ip nat inside<br />
AOIP.ORG (config-if) # interface Serial 0<br />
AOIP.ORG (config-if) # ip nat outside</p>
<p>The next step is to define which addresses in my inside network I want to allow to be translated. Let&#8217;s assume my inside IP address range is 10.0.1.0 /24</p>
<p>AOIP.ORG (config) # access-list 1 permit 10.0.1.0 0.0.0.255  (Using a standard access-list is the easiest way to achieve this)</p>
<p>Then I need to configure the address that will be used by my internal IP addresses for accessing the outside interface. This can be done in 2 ways.</p>
<p><strong>Option 1:</strong><br />
If I only have 1 public IP address, which is the case with home ADSL, the router will already have that IP address allocated to it by your ISP. The only thing I can do is tell the router to share that address with my internal hosts.</p>
<p>AOIP.ORG (config) # ip nat inside source list 1 Serial 0 overload (This defines my access-list 1 as the source addresses, and tell them to be translated into the same IP address that is configured on Serial 0. The overload command tells the router that it needs to keep track of all the source and destination ports so the IP address can be used multiple times, overloaded)</p>
<p><strong>Option 2:</strong><br />
If I have a second public IP address that I would like to use for Internet browsing, I can configure PAT for that IP address.</p>
<p>AOIP.ORG (config) # ip nat inside source list 1 192.168.1.1 overload (Same as the above command, but I&#8217;ve specifically told the router which IP address to translate my internal hosts into)</p>
<p>This option is fantastic if you have multiple public addresses and you want to segment your Internet browsing based on departments or geographic locations. For example<br />
Marketing &#8211; 10.1.0.0 /24<br />
Sales &#8211; 10.2.0.0 /24<br />
Technical &#8211; 10.3.0.0 /24</p>
<p>I can have each of the above departments using their own public IP address, which will make log files easier to read when tracking Internet use and for troubleshooting connection errors.</p>
<p>access-list 2 permit 10.1.0.0 0.0.0.255<br />
access-list 3 permit 10.2.0.0 0.0.0.255<br />
access-list 4 permit 10.3.0.0 0.0.0.255<br />
ip nat inside source list 2 192.168.1.2 overload<br />
ip nat inside source list 3 192.168.1.3 overload<br />
ip nat inside source list 4 192.168.1.4 overload</p>


<p>Related posts:<ol><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/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/static-nat-overloaded/' rel='bookmark' title='Permanent Link: Static NAT overloaded???'>Static NAT overloaded???</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-pat-on-cisco-routers-nat-overload/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring Dynamic NAT on Cisco Routers</title>
		<link>http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-dynamic-nat-on-cisco-routers/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-dynamic-nat-on-cisco-routers/#comments</comments>
		<pubDate>Fri, 15 Jul 2011 04:00:58 +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[Security]]></category>
		<category><![CDATA[SND]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=725</guid>
		<description><![CDATA[In my last post Configuring Static NAT on Cisco Routers we saw how you can translate 1 IP address into another single IP address. This tutorial will cover how to translate many IP addresses into many IP addresses, otherwise referred to as many-to-many translation. Dynamic NAT allows us to translate many IP addresses into a [...]]]></description>
			<content:encoded><![CDATA[<p>In my last post <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-static-nat-on-cisco-routers">Configuring Static NAT on Cisco Routers</a> we saw how you can translate 1 IP address into another single IP address. This tutorial will cover how to translate many IP addresses into many IP addresses, otherwise referred to as many-to-many translation.</p>
<p>Dynamic NAT allows us to translate many IP addresses into a pool of many IP addresses. The big thing to realize here is that the pool does not need to contain enough IP addresses to translate all the internal addresses at the same time, as would be the case if we used Static NAT. Dynamic NAT allows internal hosts to be translated into an IP address in the pool when it requires a connection. Once the internal host has finished it&#8217;s session the NAT entry is removed from the NAT table allowing another internal host to use the external IP address for it&#8217;s session.</p>
<p>Assume we have 50 hosts in our inside network but only have 5 public IP addresses available to use. With Dynamic NAT we can allow all 50 internal addresses to share the 5 public addresses as and when they need them. This of course does impose a limit of only 5 simultaneous connections to the outside world and that is where <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/">PAT</a> would come in and solve that problem.</p>
<p>On of the benefits of using Dynamic NAT vs <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>, is that Dynamic NAT requires the session to originate from the inside network. No outside connections can be established to the inside network. This is obviously a more secure solution as connections from the outside won&#8217;t work; only traffic originating from the inside will be translated. Static NAT is different in the fact that the entry is added to the NAT table on a permanent basis and will allow connections in either direction.</p>
<p>Here are the steps to configure Dynamic NAT on a Cisco Router.</p>
<p><strong>Step 1 </strong>: I need to define the IP address range that will be translated (my inside IP addresses). I can do this with a standard access-list</p>
<p>AOIP.ORG (config)# access-list 1 permit 10.0.1.0 0.0.0.255    (don&#8217;t forget, access-lists use <a title="Wildcard Mask" href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/wildcard-mask/">wildcard masks</a>, not subnet masks)</p>
<p><strong>Step 2</strong> : I need to configure the range of addresses that my internal network will be translated into by using a NAT pool.</p>
<p>AOIP.ORG (config) # ip nat pool MY_POOL 10.50.1.1 10.50.1.5 netmask 255.255.255.0    (There are 5 IP addresses that can be used for translation in this example)</p>
<p><strong>Step3</strong> : Define inside and outside interfaces</p>
<p>AOIP.ORG (config) # interface FastEthernet 0/0<br />
AOIP.ORG (config-if) # ip nat inside<br />
AOIP.ORG (config-if) # interface Serial 0<br />
AOIP.ORG (config-if) # ip nat outside</p>
<p><strong>Step 4</strong> : Configure the translation to take place.</p>
<p>AOIP.ORG (config) # ip nat inside source list 1 pool MY_POOL   (List 1 is my access-list that defined my inside IP addresses, MY_POOL defined the IP addresses to be used for the translation)</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-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/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/configuring-dynamic-nat-on-cisco-routers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Configuring Static NAT on Cisco Routers</title>
		<link>http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-static-nat-on-cisco-routers/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-static-nat-on-cisco-routers/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 09:00:44 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[CCNA (ICND2)]]></category>
		<category><![CDATA[IINS]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[WAN]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=722</guid>
		<description><![CDATA[In my previous post on NAT, I explained the difference between the 3 different types of NAT that can be configured. In this tutorial I&#8217;m going to cover the configuration steps to configure static NAT. Static NAT is a one-to-one mapping. It allows us to translate a single IP address into a different single IP [...]]]></description>
			<content:encoded><![CDATA[<p>In my previous post on <a title="NAT (Network Address Translation)" href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/nat-network-address-translation/">NAT</a>, I explained the difference between the 3 different types of NAT that can be configured. In this tutorial I&#8217;m going to cover the configuration steps to configure static NAT.</p>
<p>Static NAT is a one-to-one mapping. It allows us to translate a single IP address into a different single IP address. This is most commonly found when you have a server inside your DMZ that you would like to allow the outside world (The Internet) to connect to, such as E-mail servers, FTP servers and Web servers (if you&#8217;re hosting your own).</p>
<p>The first step in configuration static NAT, is to define which interfaces on your router are involved in the NAT process and then configuring your Cisco router to know which interface is on which side of the network. Your Cisco router needs to know which interface is the inside interface and which is the outside interface to allow the translation to take place.</p>
<p>For example purposes let&#8217;s assume that FastEthernet 0/0 is the inside interface, and Serial 0 is my outside.</p>
<p><a title="AOIP" href="http://www.aoip.org">AOIP.ORG</a> &gt; en<br />
AOIP.ORG # conf t<br />
AOIP.ORG (config)# interface FastEthernet 0/0<br />
AOIP.ORG (config-if)# ip nat inside<br />
AOIP.ORG (config-if)# interface Serial 0<br />
AOIP.ORG (config-if)# ip nat outside</p>
<p>So we have just informed our Cisco router of the inside and the outside, the next step is to tell your Router how to translate and what to translate.</p>
<p>Let&#8217;s assume that I have a server in my DMZ that has an IP address of 10.0.1.1 and I have a public IP address of 192.168.1.1 (yes I know this a private range part of <a title="Useable IP addresses in private networks" href="http://www.anythingoverip.co.za/networking-101/useable-ip-addresses-in-private-networks/">RFC 1918</a>, but for example purposes, let&#8217;s assume it&#8217;s not).</p>
<p>AOIP.ORG (config)# ip nat inside source static 10.0.1.1 192.168.1.1</p>
<p>That&#8217;s it, your done. When your server 10.0.1.1 connects to anything on Serial 0 and beyond, the source IP address will be translated into 192.168.1.1. Similarly, when someone from the Internet connects to the IP address 192.168.1.1 it will be translated into a destination IP address of 10.0.1.1 and hence connect to our server in the DMZ (Access-list permitting).</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/tutorials/course-content/ccna/static-nat-overloaded/' rel='bookmark' title='Permanent Link: Static NAT overloaded???'>Static NAT overloaded???</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-static-nat-on-cisco-routers/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>Restricting access to VTY (Virtual Terminal Lines)</title>
		<link>http://www.anythingoverip.co.za/tutorials/course-content/ccna/restricting-access-to-vty-virtual-terminal-lines/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/ccna/restricting-access-to-vty-virtual-terminal-lines/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 13:50:26 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[Access-Lists]]></category>
		<category><![CDATA[CCNA (ICND2)]]></category>
		<category><![CDATA[IINS]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SND]]></category>
		<category><![CDATA[SNRS]]></category>
		<category><![CDATA[Access Lists]]></category>
		<category><![CDATA[Maintenance]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=376</guid>
		<description><![CDATA[One of the first and most important things to configure on any Cisco device after allowing telnet or SSH, is to restrict who is allowed to access the device. Of course having a password on the lines is the first step but if telnet is the method of communication, all passwords will be sent over [...]]]></description>
			<content:encoded><![CDATA[<p>One of the first and most important things to configure on any Cisco device after allowing telnet or <a href="http://www.anythingoverip.co.za/tutorials/course-content/snd/configuring-ssh-secure-shell-on-a-cisco-device/">SSH</a>, is to restrict who is allowed to access the device. Of course having a password on the lines is the first step but if telnet is the method of communication, all passwords will be sent over the wire in clear-text. This means that if someone was to sniff the line while you logged onto a router using a telnet session, they would be able to see your password and hence gain access to the device.</p>
<p> </p>
<p>As an additional method for securing your Cisco devices, it’s a good idea to bind an ACL (<a href="http://www.anythingoverip.co.za/networking-101/introduction-to-acls-access-control-list/">Access Control List</a>) to the VTY’s (Virtual Terminal Lines). This will only allow IP addresses included in the ACL to create a connection to the device in addition to needing the password for the lines.</p>
<p> </p>
<p>If we look at the diagram below, I might want to restrict telnet access into R1 so telnet will only be allowed to take place from AOIP.ORG and not from any other device or computer.</p>
<p> </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> </p>
<p> In order to achieve the above, the following commands would need to be configured.</p>
<p> </p>
<p><strong>R1# conf t</strong></p>
<p><strong> </strong></p>
<p><strong>R1(config)# access-list 1 permit host 192.168.1.10 log</strong></p>
<p>Create a standard access-list (only checks the source address) and include the ‘log’ command so I will be able to see how many times the ACL has been matched. I don’t have to include any deny statements since there is always a implicit deny any statement at the end of every ACL</p>
<p><strong>R1(config)# line vty 0 4</strong></p>
<p>Enter the Virtual lines</p>
<p><strong>R1(config-line)# access-class 1 in</strong></p>
<p>Attach the ACL to the virtual lines for traffic inbound to the router.</p>
<p> </p>
<p>Below is the live demo.</p>
<p><object type="application/x-shockwave-flash" style="width:630px;height:250px" data="http://www.anythingoverip.co.za/Live_Demos/restricting_vty.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/restricting_vty.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-vty-access/' rel='bookmark' title='Permanent Link: Configuring VTY Access'>Configuring VTY Access</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/iscw/ip-address-spoofing-mitigation-with-access-control-lists-acl/' rel='bookmark' title='Permanent Link: IP Address Spoofing Mitigation with Access Control Lists (ACL)'>IP Address Spoofing Mitigation with Access Control Lists (ACL)</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/iscw/mitigating-subseven-attacks/' rel='bookmark' title='Permanent Link: Mitigating SubSeven attacks'>Mitigating SubSeven attacks</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/ccna/restricting-access-to-vty-virtual-terminal-lines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introduction to ACLs (Access Control List)</title>
		<link>http://www.anythingoverip.co.za/networking-101/introduction-to-acls-access-control-list/</link>
		<comments>http://www.anythingoverip.co.za/networking-101/introduction-to-acls-access-control-list/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 12:31:13 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[Access-Lists]]></category>
		<category><![CDATA[CCNA (ICND2)]]></category>
		<category><![CDATA[Networking 101]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Access Lists]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=371</guid>
		<description><![CDATA[Before looking into the configuration of ACL (Access Control Lists), it’s important to get some of the concepts and understanding of how they work and what they are used for. Firstly, most people believe that ACL’s are used purely for denying or allowing traffic, although this is certainly one of the functions of a ACL [...]]]></description>
			<content:encoded><![CDATA[<p>Before looking into the configuration of ACL (Access Control Lists), it’s important to get some of the concepts and understanding of how they work and what they are used for.</p>
<p>Firstly, most people believe that ACL’s are used purely for denying or allowing traffic, although this is certainly one of the functions of a ACL it certainly not the only function. ACL’s can be used for</p>
<p> </p>
<p>1/ Permitting or denying packets moving THROUGH the router.</p>
<p>2/ Permitting or denying packet TO or FROM the router.</p>
<p>3/ QOS (Quality of Service)</p>
<p>4/ DDR (Dial-on Demand Routing)</p>
<p>5/ Route filtering</p>
<p> </p>
<p>So let’s break down each of the above to see its use.</p>
<p> </p>
<p>1/ When you want to restrict traffic from flowing THROUGH a router, you can attach a ACL to an interface of the router. This can be done on a INBOUND or OUTBOUND direction. The direction of the traffic is vitally important and how the router processes the information differs depending on direction of the ACL. If the ACL is bound to an interface INBOUND the ACL will take effect before any processing is done by the router. If the ACL is bound to an interface in a OUTBOUND direction, the router would have already processed the packet entirely before possibly dropping it. This could increase the processing on the router unnecessarily.</p>
<p> </p>
<p>2/ Attaching an ACL to an interface however does NOT stop traffic that is going TO or FROM the router. This means that if I’m trying to telnet to the router, the ACL on the interface will NOT APPLY. In order to restrict traffic TO or FROM the router we need to attach the ACL to the Virtual Interfaces of the router (<a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/restricting-access-to-vty-virtual-terminal-lines/">VTY</a> lines).</p>
<p> </p>
<p>3/ QOS uses ACL to define traffic that you wish to prioritise. The ACL are not bound to interfaces but are used in modular QOS</p>
<p> </p>
<p>4/ When using dial-up interfaces such as modems or <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-basic-isdn-with-interesting-traffic/">ISDN</a> you don’t want to allow any traffic to cause the interfaces to dial. If all traffic was allowed to cause the lines to dial then every time a broadcast message took place the lines would dial. This would result in the lines constantly been connected and result in a large phone bill. With ACL for DDR we define what traffic is allowed to make the modem or ISDN lines dial and create a connection. It is important to understand that when the line is active ALL traffic is allowed to flow through the line. These ACL do not restrict traffic from flowing, they restrict traffic from causing the lines to dial!</p>
<p> </p>
<p>5/ Route filtering is used when we wish to re-distribute routes learnt from one routing protocol into another one. This is most commonly seen when you have an EGP (Exterior Gateway Protocol) like BGP and you wish to insert some of the routes learnt from BGP into your IGP (Interior Gateway Protocol) such as <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-ospf-on-a-cisco-router/">OSPF</a>. You cannot re-distribute the entire BGP routing table into OSPF as OSPF cannot handle a routing table of that size, so we can restrict which entries that will be re-distributed using an ACL.</p>
<p> </p>
<p>Now that we understand the different uses of Access Control List we now need to see the 3 different types of ACL’s. STANDARD, EXTENDED and NAMED</p>
<p> </p>
<p><strong>Standard ACL</strong> only check the source address of the packet and can either permit or deny the entire protocol suite. It will have a number between 1-99 and 1300-1999</p>
<p><strong>Extended ACL</strong> can check the source and destination addresses, the source and destination port numbers, and specific protocols. It will have a number between 100-199 and 2000-2699</p>
<p><strong>Named ACL</strong> can be either standard or extended ACL, however we can associate a name to the ACL instead of using numbers.</p>
<p> </p>
<p><strong>Guidelines:</strong></p>
<p>- One ACL per interface, per protocol, per direction</p>
<p>- The order of ACL statements is important. Once  match has been made no further testing is done.</p>
<p>- The most restrictive statements go at the top of the list</p>
<p>- The last statement in an ACL is ALWAYS an implicit deny any, so every ACL needs at least one permit statement</p>
<p>- ACL must be configured before applying them to interfaces</p>


<p>Related posts:<ol><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/restricting-access-to-vty-virtual-terminal-lines/' rel='bookmark' title='Permanent Link: Restricting access to VTY (Virtual Terminal Lines)'>Restricting access to VTY (Virtual Terminal Lines)</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/iscw/mitigating-smurf-dos-attacks/' rel='bookmark' title='Permanent Link: Mitigating Smurf DoS Attacks'>Mitigating Smurf DoS Attacks</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-vty-access/' rel='bookmark' title='Permanent Link: Configuring VTY Access'>Configuring VTY Access</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/networking-101/introduction-to-acls-access-control-list/feed/</wfw:commentRss>
		<slash:comments>0</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>VTP (VLAN Trunking Protocol)</title>
		<link>http://www.anythingoverip.co.za/tutorials/course-content/ccna/vtp-vlan-trunking-protocol/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/ccna/vtp-vlan-trunking-protocol/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 14:13:34 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[BCMSN]]></category>
		<category><![CDATA[CCNA (ICND2)]]></category>
		<category><![CDATA[Switching]]></category>
		<category><![CDATA[Live Demos]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=362</guid>
		<description><![CDATA[VTP (VLAN Trunking protocol) is a protocol used to replicate the VLAN information across switches, however there are a few things that must be made clear&#8230;   1/ VLAN information will only be sent on trunk ports 2/ Only the VLAN identity is replicated, NOT which ports are configured to use that VLAN! 3/ Maintains [...]]]></description>
			<content:encoded><![CDATA[<p>VTP (VLAN Trunking protocol) is a protocol used to replicate the <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/">VLAN</a> information across switches, however there are a few things that must be made clear&#8230;</p>
<p> </p>
<p>1/ VLAN information will only be sent on <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-a-trunk-port-on-a-cisco-switch/">trunk ports</a></p>
<p>2/ Only the VLAN identity is replicated, NOT which ports are configured to use that VLAN!</p>
<p>3/ Maintains database consistency through a common administrative domain. Switches that are not in the same VTP domain WILL NOT replicate!</p>
<p>4/ VTP advertisement are sent as multicast frames</p>
<p>5/ VTP advertisements are sent every 5 minutes or when there is a change.</p>
<p> </p>
<p>So based on the above, when I create a new <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/">VLAN</a> on a switch, that VLAN will be replicated to all other switches that are in the same VTP domain as the switch I made the change. This allows me to create a VLAN once and have the rest of the network learn about the creation via replication. Once the VLAN information has been replicated, then the switches will be able to allocate ports to the VLAN. At no time will a switch inform other switches about which ports are in which VLANS. VTP purely replicates the existence of the VLAN.</p>
<p> </p>
<p>Further to the above, a switch can be configured to be in one of 3 modes of VTP (Server, Client, Transparent)</p>
<p> </p>
<p><strong>Server Mode</strong></p>
<p>-          Creates <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/">VLAN’s</a></p>
<p>-          Modifies <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/">VLAN’s</a><br />
-          Deletes <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/">VLAN’s</a></p>
<p>-          Sends and forwards the advertisements about the VLAN’s</p>
<p>-          Synchronizes changes with other switches</p>
<p>-          Saves the information to NVRAM (non volatile RAM)</p>
<p> </p>
<p><strong>Client Mode</strong></p>
<p>-          Cannot create, change or delete <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/">VLAN’s</a></p>
<p>-          Forwards advertisements that it has received</p>
<p>-          Synchronizes changes with other switches</p>
<p>-          Does NOT save information to NVRAM, so when it’s rebooted it has to relearn the information</p>
<p> </p>
<p><strong>Transparent Mode</strong></p>
<p>-          Creates LOCAL <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/">VLAN’s</a> only (This information will not be sent or advertised to any other devices)</p>
<p>-          Modifies LOCAL <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/">VLAN’s</a> only</p>
<p>-          Deletes LOCAL <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/">VLAN’s</a> only</p>
<p>-          Sends and forwards advertisements that it has received from other devices</p>
<p>-          Does NOT synchronize</p>
<p>-          Saves its OWN configuration to NVRAM</p>
<p> </p>
<p> </p>
<p>Further to the above it’s important to understand that Transparent mode VTP is usually used in DMZ’s where the information should not be replicated or shared to any other devices on the network. Anything configured on a switch in Transparent mode, remains local to the device. It will not replicate the information with any other devices, and it will not learn any information from other devices.</p>
<p> </p>
<p>In most cases, you would have a Server were changes to the <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/">VLAN’s</a> would be done, and those changes would be replicated to all other switches in your network which would be running in client mode.</p>
<p> </p>
<p><strong>IMPORTANT NOTE:</strong> NEVER plug a new switch into a network unless you have configured it as CLIENT MODE!!!. If the new device was configured as a server and it happened to have a higher revision number (Synchronisation number) than the REAL server, the entire database will be overwritten and all <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/">VLAN</a> configuration will be lost! This could cause the ENTIRE network to crash. This happens frequently when you have a test network, and you decide to use one of the test switches in the live network.</p>
<p> </p>
<p>VTP pruning increases the available bandwidth by reducing unnecessary flooding traffic. This takes form in the following way&#8230;</p>
<p>If I have 6 switches in my network, and only 4 of them have any ports configured for VLAN 10, then only 4 switches would need to receive traffic destined for VLAN 10. The other 2 switches would learn about VLAN 10 through VTP and identify that they do not have any ports configured for that VLAN. They will then send a message (prune message) to all other switches asking them not to forward traffic destined for VLAN 10 to them as it will not be useful. If at any point these 2 switches DID have a port configured for VLAN 10, they would un prune themselves. Based on this, traffic destined for VLAN 10 would only be sent to switches that had ports configured to belong to VLAN 10. Please note, VTP does NOT send the port information to other switches, if a switch receives a prune message it would know not to forward traffic to that device for that particular VLAN, it does NOT know what the <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-an-access-port-on-a-cisco-switch/">port configuration</a> is of the neighbour switch.</p>
<p> </p>
<p>In order to increase the security of the VTP information, as password can be set. Only devices that share the same password will be able to exchange information with each other. The password checking between devices is done through the use of <a href="http://www.anythingoverip.co.za/networking-101/hashing-what-is-it-and-how-does-it-work/">MD5 hashing</a>, so the password is never sent over the wire.</p>
<p> </p>
<p>Additionally, there are currently 2 versions of VTP, VTP version 2 supports the same functions and features as version 1, but also includes the following</p>
<p>-          Token Ring Support</p>
<p>-          Unrecognized Type-Length-Values (TLV)</p>
<p>-          Version-Dependent Transparent mode</p>
<p>-          Consistency Checks</p>
<p> </p>
<p>Below is the configuration breakdown used in the live demo.</p>
<p> </p>
<p><strong>AOIP.ORG_Switch# conf t</strong></p>
<p><strong> </strong></p>
<p><strong>AOIP.ORG_Switch(config)# vtp mode server</strong></p>
<p>Set the mode to Server</p>
<p><strong>AOIP.ORG_Switch(config)# vtp domain AOIP</strong></p>
<p>Defines the Domain name (it is CaSeSeNsItIvE)</p>
<p><strong>AOIP.ORG_Switch(config)# vtp password aoip</strong></p>
<p>Sets the password</p>
<p><strong>AOIP.ORG_Switch(config)# vtp pruning</strong></p>
<p>Turns on VTP pruning</p>
<p><strong>AOIP.ORG_Switch(config)# vtp version 2</strong></p>
<p>Changes to version to version 2 support</p>
<p><strong>AOIP.ORG_Switch(config)#exit</strong></p>
<p><strong> </strong></p>
<p><strong>AOIP.ORG_Switch# show vtp status</strong></p>
<p>Shows the current configuration of VTP as well as the replication revision number as seen in the below diagram.</p>
<p> </p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-363" title="vtp" src="http://www.anythingoverip.co.za/wp-content/uploads/2009/08/vtp.jpg" alt="vtp" width="547" height="211" /></p>
<p> </p>
<p>Below is the Live Demo.</p>
<p><object type="application/x-shockwave-flash" style="width:630px;height:250px" data="http://www.anythingoverip.co.za/Live_Demos/vtp.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/vtp.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/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-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/vtp-vlan-trunking-protocol/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Concept and Configuring VLAN&#8217;S</title>
		<link>http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/#comments</comments>
		<pubDate>Fri, 07 Aug 2009 13:09:15 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[BCMSN]]></category>
		<category><![CDATA[CCNA (ICND2)]]></category>
		<category><![CDATA[Switching]]></category>
		<category><![CDATA[Live Demos]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=355</guid>
		<description><![CDATA[A VLAN is a Virtual LAN which allows us to logically separate computers on our network.   In previous years, an office would have a physical switch or hub in each office, and offices were structured around the job function. In other words, all sales people would be in the same office and would all [...]]]></description>
			<content:encoded><![CDATA[<p>A VLAN is a Virtual LAN which allows us to logically separate computers on our network.</p>
<p> </p>
<p>In previous years, an office would have a physical switch or hub in each office, and offices were structured around the job function. In other words, all sales people would be in the same office and would all be connected to the same switch or hub. This allowed for physical association of devices in our networks. In today’s networks people are often spread across multiple offices but we still want to have them separated from a logical point of view.</p>
<p> </p>
<p>One reason we want to separate machines logically is to implement access controls. If I don’t want to allow sales people to share and copy files with the marketing people then I would need to implement an ACL (<a href="http://www.anythingoverip.co.za/networking-101/introduction-to-acls-access-control-list/">Access Control List</a>) that would deny the traffic. This is easy to achieve if the sales and marketing people are in separate <a href="http://www.anythingoverip.co.za/networking-101/what-is-an-ip-address/">subnets</a> and logically separated from each other. VLAN’s give us this exact option. If you computer has been plugged into a port that is configured in VLAN 10, you are only able to communicate with people in VLAN 10. In order for you to communicate with a different VLAN you traffic MUST go through a router (multi-layer switches have built in routers) and hence the router would be able to run <a href="http://www.anythingoverip.co.za/networking-101/introduction-to-acls-access-control-list/">Access lists </a>to allow or deny the traffic.</p>
<p> </p>
<p>Another reason for separating the traffic is to isolate broadcasts. Routers do not forward broadcast messages, so any broadcasts that take place on VLAN 10 would remain in VLAN 10.</p>
<p> </p>
<p>Another important thing to remember about VLAN’S is:</p>
<p>A VLAN is equal to a <a href="http://www.anythingoverip.co.za/networking-101/what-is-an-ip-address/">Subnet</a>. This means that if I have 2 VLANS, I have at least 2 subnets. I can have more than 1 subnet in a single VLAN, but I cannot have 1 subnet in multiple VLANS.</p>
<p> </p>
<p>Below is the configuration to configure a VLAN. To see how to configure a port to belong to a VLAN see the article <a href="http://www.anythingoverip.co.za/cisco-course-concepts/ccna/configuring-an-access-port-on-a-cisco-switch/">Configuring an Access port on a Cisco switch</a></p>
<p> </p>
<p><strong>AOIP.ORG# conf t</strong></p>
<p><strong> </strong></p>
<p><strong>AOIP.ORG(config)# vlan 2</strong></p>
<p>This creates VLAN 2</p>
<p><strong>AOIP.ORG(config-vlan)# name sales</strong></p>
<p>In order to make your life easier to troubleshoot, naming the VLAN is a good idea. In this case ‘sales’ is the name of our vlan</p>
<p><strong>AOIP.ORG(config-vlan)#exit</strong></p>
<p><strong> </strong></p>
<p><strong>AOIP.ORG(config-vlan)# vlan 3</strong></p>
<p>This creates VLAN 2</p>
<p><strong>AOIP.ORG(config-vlan)# name marketing</strong></p>
<p>Naming VLAN 3 &#8211; marketing</p>
<p><strong>AOIP.ORG(config-vlan)# exit</strong></p>
<p><strong> </strong></p>
<p><strong>AOIP.ORG(config)# exit</strong></p>
<p><strong> </strong></p>
<p><strong>AOIP.ORG# show vlan</strong></p>
<p>You will now be able to see which VLAN’s have been created on your device and which ports have been allocated to them.</p>
<p> </p>
<p><object type="application/x-shockwave-flash" style="width:630px;height:250px" data="http://www.anythingoverip.co.za/Live_Demos/creating-vlans.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/creating-vlans.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/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/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-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/ccna/concept-and-configuring-vlans/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

