<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>AOIP - Anything Over IP</title>
	
	<link>http://www.anythingoverip.co.za</link>
	<description>Anything Over IP</description>
	<lastBuildDate>Fri, 30 Apr 2010 12:30:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/co/CFeq" /><feedburner:info uri="co/cfeq" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>co/CFeq</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>NAT (Network Address Translation)</title>
		<link>http://feedproxy.google.com/~r/co/CFeq/~3/KBDWuOSRJF0/</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.
There are [...]]]></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/ Static NAT<br />
2/ Dynamic NAT<br />
3/ NAT overload (PAT – Port Address translation)</p>
<p><strong>Static NAT</strong> 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><strong>Dynamic NAT</strong> 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><strong>NAT overload</strong>, 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>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fwww.anythingoverip.co.za%2Ftutorials%2Fcourse-content%2Fccna%2Fnat-network-address-translation%2F&amp;linkname=NAT%20%28Network%20Address%20Translation%29"><img src="http://www.anythingoverip.co.za/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Save/Bookmark"/></a>

<p>Related posts:<ol><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><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/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></ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/uN2z-iyh2PSYQrbPA52ninQyqco/0/da"><img src="http://feedads.g.doubleclick.net/~a/uN2z-iyh2PSYQrbPA52ninQyqco/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/uN2z-iyh2PSYQrbPA52ninQyqco/1/da"><img src="http://feedads.g.doubleclick.net/~a/uN2z-iyh2PSYQrbPA52ninQyqco/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/co/CFeq/~4/KBDWuOSRJF0" height="1" width="1"/>]]></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>
		<feedburner:origLink>http://www.anythingoverip.co.za/tutorials/course-content/ccna/nat-network-address-translation/</feedburner:origLink></item>
		<item>
		<title>Creating Layer 2 and Layer 3 Ether Channels</title>
		<link>http://feedproxy.google.com/~r/co/CFeq/~3/ccJ78r3DpYA/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/bcmsn/creating-layer-2-and-layer-3-ether-channels/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 15:00:11 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[BCMSN]]></category>
		<category><![CDATA[Switching]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=590</guid>
		<description><![CDATA[In order to bundle multiple interfaces between switches in an effort in increase throughput, a Ether Channel can be created.
 
Ether Channels can be created as Layer 2 or Layer3. The obvious difference between the 2 is that a Layer 3 link will have a IP address associated and hence traffic can be routed between the 2 [...]]]></description>
			<content:encoded><![CDATA[<p>In order to bundle multiple interfaces between switches in an effort in increase throughput, a Ether Channel can be created.</p>
<p> </p>
<p>Ether Channels can be created as Layer 2 or Layer3. The obvious difference between the 2 is that a Layer 3 link will have a <a href="http://www.anythingoverip.co.za/networking-101/what-is-an-ip-address/">IP address </a>associated and hence traffic can be routed between the 2 switches. A layer 2 ether channel will not have IP addresses attached and all traffic will be switched between the 2 devices.</p>
<p> </p>
<p>There is a misconception about how the ‘load balancing’ works over a ether channel, so firstly lets clear that up.</p>
<p>An ether channel allows us to group multiple interfaces together so they act as one. This means that if I have 5 x 1 Gigabit Ethernet interfaces that I bind together I will in theory have a 5 Gigabit Ethernet interface. This is partly true but let’s dig deeper into how the switch will send traffic over the new link.</p>
<p>By Default, most Cisco switches are configured with a load balancing option of ‘source to destination IP’, what this means is that when the first session is created between machine A and machine B their traffic will use the same physical interface from the ether channel bundle. The packets will not be load balanced between all the ports. However when machine C sends traffic to machine D they would use a different physical interface compared to machine A and B. What we can derive from this, is that the load-balancing is session orientated and each session will be limited to 1 physical interface. So although the total throughput of data between the 2 switches is 5 Gigabit, the maximum throughput between 2 machines is the total of 1 physical interface of the ether channel.</p>
<p> </p>
<p>The load-balancing technique can be changed from its default using the <strong>port-channel load-balance</strong> command, as seen below.</p>
<p><strong>port-channel load-balance {src-mac | dst-mac | src-dst-mac | src-ip | dst-ip | src-dst-ip | src-port | dst-port | src-dst-port}</strong><strong></strong></p>
<p><strong>NOTE:</strong> not all switches support all options of load-balancing!</p>
<p>So now that we have seen the concept of Ether Channels and how their load-balancing works, here is the configuration for configuring a Layer 2 Ether Channel.</p>
<p> </p>
<p> </p>
<p><strong>AOIP.ORG-Switch(config)# interface range f0/4 – 5</strong></p>
<p>The interface range command allow me to configure multiple interfaces at the same time, in this case FastEthernet 0/4 and 0/5</p>
<p><strong>AOIP.ORG-Switch(config-if-range)# channel-group 1 mode desirable</strong></p>
<p>This associates the interfaces to a new logical interface and tells the interface to actively negotiate a <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-a-trunk-port-on-a-cisco-switch/">trunk.</a></p>
<p><strong>AOIP.ORG-Switch(config-if-range)# no shut</strong></p>
<p><strong>AOIP.ORG-Switch(config-if-range)# exit</strong></p>
<p><strong>AOIP.ORG-Switch(config)# exit</strong></p>
<p> </p>
<p> </p>
<p>In order to configure a Layer 2 Ether Channel, the following configuration can be used.</p>
<p> </p>
<p><strong>AOIP.ORG-Switch(config)# interface port-channel 10</strong></p>
<p>This enters the logical interface used for the Ether Channel, I have given it a ‘name’ of 10</p>
<p><strong>AOIP.ORG-Switch(config-if)# no switchport</strong></p>
<p>Forces the port to act as a routed port and not a switchport</p>
<p><strong>AOIP.ORG-Switch(config-if)# ip address 10.0.100.1 255.255.255.0</strong></p>
<p>Assigns the IP address to the interface</p>
<p><strong>AOIP.ORG-Switch(config-if)# no shut</strong></p>
<p><strong>AOIP.ORG-Switch(config-if)# exit</strong></p>
<p><strong> </strong></p>
<p><strong>AOIP.ORG-Switch(config)# interface range f0/4 -5</strong></p>
<p>Same as above, I’m configuring 2 interfaces to belong to the Ether Channel</p>
<p><strong>AOIP.ORG-Switch(config-if-range)# no switchport</strong></p>
<p>Forcing the physical ports in Routed ports</p>
<p><strong>AOIP.ORG-Switch(config-if-range)# no ip address</strong></p>
<p>Removing any IP addresses that may be configured on the physical interfaces. They may not have an IP address as it will be associated to the logical interface (port-channel 10)</p>
<p><strong>AOIP.ORG-Switch(config-if-range)# channel-group 10 mode desirable</strong></p>
<p>Binds the physical interfaces to the logical interface</p>
<p><strong>AOIP.ORG-Switch(config-if-range)# no shut</strong></p>
<p><strong>AOIP.ORG-Switch(config-if-range)# exit</strong></p>
<p><strong>AOIP.ORG-Switch(config)# exit</strong></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fwww.anythingoverip.co.za%2Ftutorials%2Fcourse-content%2Fbcmsn%2Fcreating-layer-2-and-layer-3-ether-channels%2F&amp;linkname=Creating%20Layer%202%20and%20Layer%203%20Ether%20Channels"><img src="http://www.anythingoverip.co.za/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Save/Bookmark"/></a>

<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/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/bcmsn/configuring-span-on-a-cisco-switch/' rel='bookmark' title='Permanent Link: Configuring SPAN on a Cisco Switch'>Configuring SPAN on a Cisco Switch</a></li></ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/8BrNpqYdZ4h6va0uN4jcdFsc2fs/0/da"><img src="http://feedads.g.doubleclick.net/~a/8BrNpqYdZ4h6va0uN4jcdFsc2fs/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/8BrNpqYdZ4h6va0uN4jcdFsc2fs/1/da"><img src="http://feedads.g.doubleclick.net/~a/8BrNpqYdZ4h6va0uN4jcdFsc2fs/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/co/CFeq/~4/ccJ78r3DpYA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/bcmsn/creating-layer-2-and-layer-3-ether-channels/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.anythingoverip.co.za/tutorials/course-content/bcmsn/creating-layer-2-and-layer-3-ether-channels/</feedburner:origLink></item>
		<item>
		<title>ISDN and Multilink with load-threshold</title>
		<link>http://feedproxy.google.com/~r/co/CFeq/~3/TBT2PE7fVi0/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/iscw/isdn-and-multilink-with-load-threshold/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 14:46:42 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[ISCW]]></category>
		<category><![CDATA[WAN]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=548</guid>
		<description><![CDATA[ISDN is a fantastic option as a backup in cases where your primary link has failed. However often your primary line has much more bandwidth than a single ISDN line (Channel). The ISDN BRI B-Channels run at 56kb/s or 64 kb/s (depending on country) and although this is a good start, often you need more [...]]]></description>
			<content:encoded><![CDATA[<p>ISDN is a fantastic option as a backup in cases where your primary link has failed. However often your primary line has much more bandwidth than a single ISDN line (Channel). The ISDN BRI B-Channels run at 56kb/s or 64 kb/s (depending on country) and although this is a good start, often you need more bandwidth to accommodate the traffic.</p>
<p>ISDN BRI (Basic Rate Interface) interfaces have 2 B-channels. By default when you create a connection using ISDN only one of these channels will dial. In order for us to use the additional B-channel we need to insert an additional command under our BRI interface (PPP Multilink)</p>
<p>Similarly ISDN PRI (Primary Rate Interface) interfaces have (23 B-Channels on T1, 30 B-Channels on E1) each of the channels on a PRI line run at 64kb/s and often we would like to use more than just one channel for our backup.</p>
<p>Although we can have all channels connect immediately when the ISDN becomes active; this results in all lines been billed by the PSTN. Instead we would rather have additional lines been brought up one at a time when the traffic demands it. We can achieve this by defining a load threshold that the line must be under before bringing up additional channels.</p>
<p>The load-threshold command is on a scale from 1 to 255 where 255 is equal to 100% utilisation.</p>
<p><strong>AOIP.ORG(config)# interface bri 2/0<br />
AOIP.ORG(config-if)# ppp multilink<br />
AOIP.ORG(config-if)# dialer load-threshold 128 either</strong></p>
<p>In the above example, I have set a threshold of 128 (50%) and this is based on traffic either inbound or outbound. In order to only monitor traffic inbound, replace ‘either’ with inbound. The same applied to outbound traffic.</p>
<p><strong>NOTE:</strong> In order to use PPP multilink, both sides of the link need to be configured for its use.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fwww.anythingoverip.co.za%2Ftutorials%2Fcourse-content%2Fiscw%2Fisdn-and-multilink-with-load-threshold%2F&amp;linkname=ISDN%20and%20Multilink%20with%20load-threshold"><img src="http://www.anythingoverip.co.za/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Save/Bookmark"/></a>

<p>Related posts:<ol><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/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/bcmsn/creating-layer-2-and-layer-3-ether-channels/' rel='bookmark' title='Permanent Link: Creating Layer 2 and Layer 3 Ether Channels'>Creating Layer 2 and Layer 3 Ether Channels</a></li></ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/Py2hNzWmdFwWEJz94MjFFmwwI1g/0/da"><img src="http://feedads.g.doubleclick.net/~a/Py2hNzWmdFwWEJz94MjFFmwwI1g/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Py2hNzWmdFwWEJz94MjFFmwwI1g/1/da"><img src="http://feedads.g.doubleclick.net/~a/Py2hNzWmdFwWEJz94MjFFmwwI1g/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/co/CFeq/~4/TBT2PE7fVi0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/iscw/isdn-and-multilink-with-load-threshold/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://www.anythingoverip.co.za/tutorials/course-content/iscw/isdn-and-multilink-with-load-threshold/</feedburner:origLink></item>
		<item>
		<title>Floating Static Routes</title>
		<link>http://feedproxy.google.com/~r/co/CFeq/~3/HHRmxqbjM5s/</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>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fwww.anythingoverip.co.za%2Ftutorials%2Fcourse-content%2Fiscw%2Ffloating-static-routes%2F&amp;linkname=Floating%20Static%20Routes"><img src="http://www.anythingoverip.co.za/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Save/Bookmark"/></a>

<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/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/ccna/cisco-administrative-distance/' rel='bookmark' title='Permanent Link: Cisco Administrative Distance'>Cisco Administrative Distance</a></li></ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/ExneaeGDn2BOFBD8p22mFzv-X48/0/da"><img src="http://feedads.g.doubleclick.net/~a/ExneaeGDn2BOFBD8p22mFzv-X48/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ExneaeGDn2BOFBD8p22mFzv-X48/1/da"><img src="http://feedads.g.doubleclick.net/~a/ExneaeGDn2BOFBD8p22mFzv-X48/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/co/CFeq/~4/HHRmxqbjM5s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/iscw/floating-static-routes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.anythingoverip.co.za/tutorials/course-content/iscw/floating-static-routes/</feedburner:origLink></item>
		<item>
		<title>Configuring Basic ISDN with Interesting Traffic</title>
		<link>http://feedproxy.google.com/~r/co/CFeq/~3/0vzalo_ZoO0/</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>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fwww.anythingoverip.co.za%2Ftutorials%2Fcourse-content%2Fiscw%2Fconfiguring-basic-isdn-with-interesting-traffic%2F&amp;linkname=Configuring%20Basic%20ISDN%20with%20Interesting%20Traffic"><img src="http://www.anythingoverip.co.za/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Save/Bookmark"/></a>

<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>
<p><a href="http://feedads.g.doubleclick.net/~a/sZZzlVjyuZYc38XbDIVHIbXZgwI/0/da"><img src="http://feedads.g.doubleclick.net/~a/sZZzlVjyuZYc38XbDIVHIbXZgwI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/sZZzlVjyuZYc38XbDIVHIbXZgwI/1/da"><img src="http://feedads.g.doubleclick.net/~a/sZZzlVjyuZYc38XbDIVHIbXZgwI/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/co/CFeq/~4/0vzalo_ZoO0" height="1" width="1"/>]]></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>
		<feedburner:origLink>http://www.anythingoverip.co.za/tutorials/course-content/iscw/configuring-basic-isdn-with-interesting-traffic/</feedburner:origLink></item>
		<item>
		<title>ISDN Switch-type</title>
		<link>http://feedproxy.google.com/~r/co/CFeq/~3/0t-nZHzAVMU/</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, only 3 things [...]]]></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>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fwww.anythingoverip.co.za%2Ftutorials%2Fcourse-content%2Fiscw%2Fisdn-switch-type%2F&amp;linkname=ISDN%20Switch-type"><img src="http://www.anythingoverip.co.za/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Save/Bookmark"/></a>

<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>
<p><a href="http://feedads.g.doubleclick.net/~a/8DW7TNjEMKQe1HAvKt5amFDEP9w/0/da"><img src="http://feedads.g.doubleclick.net/~a/8DW7TNjEMKQe1HAvKt5amFDEP9w/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/8DW7TNjEMKQe1HAvKt5amFDEP9w/1/da"><img src="http://feedads.g.doubleclick.net/~a/8DW7TNjEMKQe1HAvKt5amFDEP9w/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/co/CFeq/~4/0t-nZHzAVMU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/iscw/isdn-switch-type/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		<feedburner:origLink>http://www.anythingoverip.co.za/tutorials/course-content/iscw/isdn-switch-type/</feedburner:origLink></item>
		<item>
		<title>DoS TCP SYN Attack Mitigation</title>
		<link>http://feedproxy.google.com/~r/co/CFeq/~3/FcIb8rJfjYk/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/iscw/dos-tcp-syn-attack-mitigation/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 14:22:40 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[Access-Lists]]></category>
		<category><![CDATA[IPS]]></category>
		<category><![CDATA[ISCW]]></category>
		<category><![CDATA[Intrusion Prevention]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Access Lists]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=525</guid>
		<description><![CDATA[TCP SYN flooding is often used in conjunction with IP spoofing.
The main aim of a TCP SYN flood is to send a TCP SYN packet to a host inside your network from a spoofed IP address. The TCP SYN ACK is then sent to a machine that is not expecting one, or a machine that [...]]]></description>
			<content:encoded><![CDATA[<p>TCP SYN flooding is often used in conjunction with <a href="http://www.anythingoverip.co.za/tutorials/course-content/iscw/ip-address-spoofing-mitigation-with-access-control-lists-acl/">IP spoofing</a>.</p>
<p>The main aim of a TCP SYN flood is to send a TCP SYN packet to a host inside your network from a spoofed IP address. The TCP SYN ACK is then sent to a machine that is not expecting one, or a machine that doesn’t exist. This causes a ‘half-opened’ connection (Embryonic Connection) to exist since the 3-way handshake has not completed with a ACK.</p>
<p> </p>
<p>A Cisco router is only capable of having a certain amount of connections open to it (This is different depending on the router model) so if an attacker was to send thousands of spoofed TCP SYN packets the router would reach maximum allowed connections, even though the connections are not complete. This would prevent the router from allowing legitimate connections been created.</p>
<p> </p>
<p>In order to completely fix this problem, a firewall that supports dynamic embryonic connections would need to be installed, however a router can prevent the flood of TCP SYN packets by disallowing connections from the outside coming into your network.</p>
<p> </p>
<p>This means that only connections that were created from inside your network would work and all connections from the outside would be denied.</p>
<p> </p>
<p>Here is the configuration breakdown. (FastEthernet 0/0 is the outside network)</p>
<p style="text-align: center;"> <img class="aligncenter size-full wp-image-392" title="ACL_Diagram" src="http://www.anythingoverip.co.za/wp-content/uploads/2009/08/ACL_Diagram.jpg" alt="ACL_Diagram" width="350" height="89" /></p>
<p><strong>AOIP.ORG(config)# access-list 101 permit tcp any 192.168.1.0 0.0.0.255 established</strong></p>
<p><strong>AOIP.ORG(config)# access-list 101 deny ip any any log</strong></p>
<p><strong>AOIP.ORG(config)# interface fa0/0</strong></p>
<p><strong>AOIP.ORG(config-if)# ip access-group 101 in</strong></p>
<p><strong>AOIP.ORG(config-if)# exit</strong></p>
<p><strong>AOIP.ORG(config)#</strong></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fwww.anythingoverip.co.za%2Ftutorials%2Fcourse-content%2Fiscw%2Fdos-tcp-syn-attack-mitigation%2F&amp;linkname=DoS%20TCP%20SYN%20Attack%20Mitigation"><img src="http://www.anythingoverip.co.za/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Save/Bookmark"/></a>

<p>Related posts:<ol><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><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></ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/TjyDbRZU5skquEq-i2zh4CM9GAg/0/da"><img src="http://feedads.g.doubleclick.net/~a/TjyDbRZU5skquEq-i2zh4CM9GAg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/TjyDbRZU5skquEq-i2zh4CM9GAg/1/da"><img src="http://feedads.g.doubleclick.net/~a/TjyDbRZU5skquEq-i2zh4CM9GAg/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/co/CFeq/~4/FcIb8rJfjYk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/iscw/dos-tcp-syn-attack-mitigation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.anythingoverip.co.za/tutorials/course-content/iscw/dos-tcp-syn-attack-mitigation/</feedburner:origLink></item>
		<item>
		<title>Mitigating SubSeven attacks</title>
		<link>http://feedproxy.google.com/~r/co/CFeq/~3/a28SY74itqw/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/iscw/mitigating-subseven-attacks/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 14:10:47 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[Access-Lists]]></category>
		<category><![CDATA[IINS]]></category>
		<category><![CDATA[ISCW]]></category>
		<category><![CDATA[Intrusion Prevention]]></category>
		<category><![CDATA[SND]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Access Lists]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=414</guid>
		<description><![CDATA[SubSeven – aka: Sub7 and Sub7Server is a backdoor program, in the form of a Trojan, used mostly for causing trouble on computer networks. It can be used for simple attacks such as hiding the mouse cursor and opening applications, but it can also be used for more serious attacks including retrieving all your personal [...]]]></description>
			<content:encoded><![CDATA[<p>SubSeven – aka: Sub7 and Sub7Server is a backdoor program, in the form of a Trojan, used mostly for causing trouble on computer networks. It can be used for simple attacks such as hiding the mouse cursor and opening applications, but it can also be used for more serious attacks including retrieving all your personal information stored on your machine and all computer settings.</p>
<p> </p>
<p>The name SubSeven was derived by reversing the word Netbus (also a famous backdoor program) and replacing with the world ‘ten’ with ‘seven’</p>
<p>netbus = subten = subseven</p>
<p> </p>
<p> </p>
<p>In order to mitigate this application from attacking your network the following <a href="http://www.anythingoverip.co.za/networking-101/introduction-to-acls-access-control-list/">Access-list </a>can be configured on your routers interfaces. Most Anti-Virus programs will also prevent it from attacking your machine.</p>
<p> </p>
<p><strong>AOIP.ORG(config)# access-list 100 deny tcp any any eq 1243 log</strong></p>
<p><strong>AOIP.ORG(config)# access-list 100 deny tcp any any eq 2773 log</strong></p>
<p><strong>AOIP.ORG(config)# access-list 100 deny tcp any any range 6711 6713 log</strong></p>
<p><strong>AOIP.ORG(config)# access-list 100 deny tcp any any eq 6776 log</strong></p>
<p><strong>AOIP.ORG(config)# access-list 100 deny tcp any any eq 7000 log</strong></p>
<p><strong>AOIP.ORG(config)# access-list 100 deny tcp any any eq 7215 log</strong></p>
<p><strong>AOIP.ORG(config)# access-list 100 deny tcp any any eq 27374 log</strong></p>
<p><strong>AOIP.ORG(config)# access-list 100 deny tcp any any eq 27573 log</strong></p>
<p><strong>AOIP.ORG(config)# access-list 100 deny tcp any any eq 54283 log</strong></p>
<p><strong>AOIP.ORG(config)# access-list 100 permit ip any any</strong></p>
<p><strong>AOIP.ORG(config)# interface fa0/0 </strong></p>
<p><strong>AOIP.ORG(config-if)# ip access-group 100 in</strong></p>
<p><strong>AOIP.ORG(config-if)# exit</strong></p>
<p><strong>AOIP.ORG(config)# interface fa0/1 </strong></p>
<p><strong>AOIP.ORG(config-if)# ip access-group 100 in</strong></p>
<p><strong>AOIP.ORG(config-if)# exit</strong></p>
<p><strong>AOIP.ORG(config)#</strong></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fwww.anythingoverip.co.za%2Ftutorials%2Fcourse-content%2Fiscw%2Fmitigating-subseven-attacks%2F&amp;linkname=Mitigating%20SubSeven%20attacks"><img src="http://www.anythingoverip.co.za/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Save/Bookmark"/></a>

<p>Related posts:<ol><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/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/dos-tcp-syn-attack-mitigation/' rel='bookmark' title='Permanent Link: DoS TCP SYN Attack Mitigation'>DoS TCP SYN Attack Mitigation</a></li></ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/UDHplP7OH_de6XjExGBkIwKVWDU/0/da"><img src="http://feedads.g.doubleclick.net/~a/UDHplP7OH_de6XjExGBkIwKVWDU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/UDHplP7OH_de6XjExGBkIwKVWDU/1/da"><img src="http://feedads.g.doubleclick.net/~a/UDHplP7OH_de6XjExGBkIwKVWDU/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/co/CFeq/~4/a28SY74itqw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/iscw/mitigating-subseven-attacks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.anythingoverip.co.za/tutorials/course-content/iscw/mitigating-subseven-attacks/</feedburner:origLink></item>
		<item>
		<title>Decrypting Type 7 Passwords (enable password)</title>
		<link>http://feedproxy.google.com/~r/co/CFeq/~3/5EfNrPpzUuY/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/snd/decrypting-type-7-passwords-enable-password/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 09:57:39 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[IINS]]></category>
		<category><![CDATA[IPS]]></category>
		<category><![CDATA[SND]]></category>
		<category><![CDATA[SNRS]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Decryption]]></category>
		<category><![CDATA[Encyption]]></category>
		<category><![CDATA[Passwords]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=398</guid>
		<description><![CDATA[The big difference between the enable password and the enable secret is the encryption level.
The enable password by default is saved in clear text so when looking at the running-configuration of the router you will be able to read the password. It is possible to encrypt this password using the service password-encryption command.
 
The service password-encryption [...]]]></description>
			<content:encoded><![CDATA[<p>The big difference between the <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/setting-the-enable-password-and-secret-on-a-cisco-device/">enable password </a>and the <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/setting-the-enable-password-and-secret-on-a-cisco-device/">enable secret </a>is the <a href="http://www.anythingoverip.co.za/networking-101/how-encryption-works/">encryption</a> level.</p>
<p>The <strong>enable password</strong> by default is saved in clear text so when looking at the <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/the-difference-between-run-and-start-and-how-to-save/">running-configuration </a>of the router you will be able to read the password. It is possible to encrypt this password using the <strong>service password-encryption</strong> command.</p>
<p> </p>
<p>The <strong>service password-encryption</strong> command will also encrypt all other clear text passwords on your router including the <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-vty-access/">VTY</a>, AUX, <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-the-console-port-on-a-cisco-device/">Console</a> and <a href="http://www.anythingoverip.co.za/tutorials/course-content/snd/login-local-on-a-cisco-router/">User passwords.</a> Although the <strong>service password-encryption</strong> command encrypts your passwords so you can no longer read them in the running-configuration, the encryption algorithm is not very secure.</p>
<p> </p>
<p>If we look at the running-configuration of my router in the article <a href="http://www.anythingoverip.co.za/ciscoconf/basicconfig/setting-the-enable-password-and-secret-on-a-cisco-device/">Setting the enable password and secret on a Cisco device</a> , you will see that after the <strong>service password-encryption</strong> command was issued the password was stored in the running-configuration as</p>
<p> </p>
<p>Enable password 7  <strong>12180A1E02</strong></p>
<p> </p>
<p>The number ‘7’ tells me the type of password, the rest of the number is the password in its encrypted format.</p>
<p>Copy and paste with password without the &#8216;7&#8242; into the below form, and see just how easy it is to decrypt the enable password.</p>
<p> </p>
<p><strong>NOTE: Please only use the below form for password recovery and demonstration purposes! </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<html>
<body>

<center>

<script language="JavaScript1.2" type="text/javascript"> 
  
<!-- 
  
// Is the character a digit? 
  
function isDigit(theDigit) 
  
{ 
  
var digitArray = new Array('0','1','2','3','4','5','6','7','8','9') 
  
  
for (j = 0; j < digitArray.length; j++) { 
  
if (theDigit == digitArray[j]) 
  
return true 
  
} 
  
return false 
  
} 
  
  
  
// Generate a config file ready for loading 
  
function crackPassword(form) 
  
{ 
  
var crypttext=form.crypttext.value.toUpperCase() 
  
var plaintext='' 
  
var xlat="dsfd;kfoA,.iyewrkldJKDHSUBsgvca69834ncxv9873254k;fg87" 
  
var seed, i, val=0 
  
  
if(crypttext.length & 1) 
  
return 
  
  
seed = (crypttext.charCodeAt(0) - 0x30) * 10 + crypttext.charCodeAt(1) - 0x30 
  
  
if (seed > 15 || !isDigit(crypttext.charAt(0)) || !isDigit(crypttext.charAt(1))) 
  
return 
  
  
for (i = 2 ; i <= crypttext.length; i++) { 
  
if(i !=2 && !(i & 1)) { 
  
plaintext+=String.fromCharCode(val ^ xlat.charCodeAt(seed++)) 
  
seed%=xlat.length 
  
val = 0; 
  
} 
  
  
val *= 16 
  
  
if(isDigit(crypttext.charAt(i))) { 
  
val += crypttext.charCodeAt(i) - 0x30 
  
continue 
  
} 
  
  
  
if(crypttext.charCodeAt(i) >= 0x41 && crypttext.charCodeAt(i) <= 0x46) { 
  
val += crypttext.charCodeAt(i) - 0x41 + 0x0a 
  
continue 
  
} 
  
  
if(crypttext.length != i) 
  
return 
  
} 
  
  
form.plaintext.value=plaintext 
  
} 
  
  
--> 
  
</script> 
  
  
  
<form name="never-you-mind" id="never-you-mind" action="#" style="width: 344px"> 
  
<table border="0"> 
  
<tr><td style="width: 334px" class="style12"> 
  
<p class="style11"> 
  
<span class="style9">Enter encrypted password:<br/> 
  
</span><span class="style8"><span class="style9"> 
  
<span class="style2"> 
  
<input name="crypttext" type="text" size="60" style="width: 167px" /></span></span></span><span class="style9"> 
  
</span> 
  
</p> 
  
<p class="style11"><span class="style9">Decrypted 
  
password is:<br/> 
  
</span><span class="style8"><span class="style9"> 
  
<span class="style2"> 
  
<input name="plaintext" type="text" size="40" style="width: 167px" /></span></span></span><span class="style9"> 
  
</span> 
  
</p> 
  
<p class="style10"> 
  
  
<input type="button" value="Show Password" onclick="crackPassword(this.form)" style="width: 118px" /></p> 
  
</td></tr></table> 
  
</form> 

</center>
</body>
</html>


<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fwww.anythingoverip.co.za%2Ftutorials%2Fcourse-content%2Fsnd%2Fdecrypting-type-7-passwords-enable-password%2F&amp;linkname=Decrypting%20Type%207%20Passwords%20%28enable%20password%29"><img src="http://www.anythingoverip.co.za/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Save/Bookmark"/></a>

<p>Related posts:<ol><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/setting-the-enable-password-and-secret-on-a-cisco-device/' rel='bookmark' title='Permanent Link: Setting the enable password and secret on a Cisco device'>Setting the enable password and secret on a Cisco device</a></li><li><a href='http://www.anythingoverip.co.za/networking-101/hashing-what-is-it-and-how-does-it-work/' rel='bookmark' title='Permanent Link: Hashing, What is it and how does it work?'>Hashing, What is it and how does it work?</a></li><li><a href='http://www.anythingoverip.co.za/networking-101/how-encryption-works/' rel='bookmark' title='Permanent Link: How encryption works'>How encryption works</a></li></ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/QM-GET3d9tiriFEWb6ZEaH8yKHA/0/da"><img src="http://feedads.g.doubleclick.net/~a/QM-GET3d9tiriFEWb6ZEaH8yKHA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/QM-GET3d9tiriFEWb6ZEaH8yKHA/1/da"><img src="http://feedads.g.doubleclick.net/~a/QM-GET3d9tiriFEWb6ZEaH8yKHA/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/co/CFeq/~4/5EfNrPpzUuY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/snd/decrypting-type-7-passwords-enable-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.anythingoverip.co.za/tutorials/course-content/snd/decrypting-type-7-passwords-enable-password/</feedburner:origLink></item>
		<item>
		<title>Mitigating Smurf DoS Attacks</title>
		<link>http://feedproxy.google.com/~r/co/CFeq/~3/BgQR65-9SXs/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/iscw/mitigating-smurf-dos-attacks/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 06:00:41 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[Access-Lists]]></category>
		<category><![CDATA[IINS]]></category>
		<category><![CDATA[ISCW]]></category>
		<category><![CDATA[Intrusion Prevention]]></category>
		<category><![CDATA[SND]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Access Lists]]></category>
		<category><![CDATA[ACL]]></category>
		<category><![CDATA[IPS]]></category>
		<category><![CDATA[Spoofing]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=393</guid>
		<description><![CDATA[Before looking at how to mitigate a Smurf attack, let’s first understand what it is and why it’s such a problem.
 
A Smurf works on a weakness of IP and ICMP by sending an ICMP packet to the broadcast address of a network. For example, I could send an ICMP (Ping packet) to every computer on [...]]]></description>
			<content:encoded><![CDATA[<p>Before looking at how to mitigate a Smurf attack, let’s first understand what it is and why it’s such a problem.</p>
<p> </p>
<p>A Smurf works on a weakness of IP and ICMP by sending an ICMP packet to the broadcast address of a network. For example, I could send an ICMP (Ping packet) to every computer on the network 192.168.1.0 /24</p>
<p>I would do this by sending an ICMP packet to the address 192.168.1.255. This would result in every computer in that network (possibly 254 machines) sending me an echo-reply message. So far, this is not the end of the world, however Smurf adds <a href="http://www.anythingoverip.co.za/tutorials/course-content/iscw/ip-address-spoofing-mitigation-with-access-control-lists-acl/">ip spoofing </a>to the equation&#8230;</p>
<p> </p>
<p>When someone does a Smurf attack, the first thing that they do is an IP Spoof to make the their <a href="http://www.anythingoverip.co.za/networking-101/what-is-an-ip-address/">IP address </a>look like an <a href="http://www.anythingoverip.co.za/networking-101/useable-ip-addresses-in-private-networks/">internal address</a>. For example, I would spoof my address to have a source IP address of 192.168.1.10. Let’s assume that the IP address 192.168.1.10 was the Domain Controller, or perhaps the E-mail or Web server of that network. If I was to now send multiple echo packets to the destination address 192.168.1.255, every machine on that network would now send a echo-reply to the source IP of 192.168.1.10 (The internal server). This means I have just caused every machine on the target network to attack the internal target machine with echo-replies. Of course this is not the end of the world if this happens once or twice, but what if I did this a few thousand, or a few hundred thousand times? What if the target network was larger and had more than 254 machines? On a larger scale this could cause the target machine to be so over loaded with echo-replies that its network card becomes saturated to a point where its prevented from doing its job&#8230; denying it from doing it’s service&#8230; “Denial of Service” (DoS). Since this attack is not coming from me directly, and I&#8217;m forcing multiple machines to attack a single host, this now becomes a &#8220;Distributed Denial of Service&#8221; (DDos) attack.</p>
<p> </p>
<p>So in order for us to prevent Smurf attacks happening on our networks, we need to make sure we block directed broadcast traffic coming into our network.</p>
<p> </p>
<p>Below is the configuration required to stop Smurf Attacks. Use the diagram as a reference for the <a href="http://www.anythingoverip.co.za/networking-101/introduction-to-acls-access-control-list/">ACL’s</a></p>
<p> </p>
<p style="text-align: center;"> <img class="aligncenter size-full wp-image-392" title="ACL_Diagram" src="http://www.anythingoverip.co.za/wp-content/uploads/2009/08/ACL_Diagram.jpg" alt="ACL_Diagram" width="350" height="89" /></p>
<p><strong> </strong></p>
<p><strong>AOIP.ORG(config)# access-list 101 deny ip any host 192.168.1.255 log</strong></p>
<p>Deny the directed broadcast</p>
<p><strong>AOIP.ORG(config)# access-list 101 permit ip any 192.168.1.0 0.0.0.255 log</strong></p>
<p>Allow unicast traffic</p>
<p><strong>AOIP.ORG(config)# interface fa0/0</strong></p>
<p><strong>AOIP.ORG(config-if)# ip access-group 101 in</strong></p>
<p>Attach the ACL to the interface for inbound traffic</p>
<p><strong>AOIP.ORG(config-if)# exit</strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong>Now for the other direction&#8230;&#8230;</strong></p>
<p><strong> </strong></p>
<p><strong>AOIP.ORG(config)# access-list 102 deny ip any host 10.0.1.255 log</strong></p>
<p>Deny the directed broadcast</p>
<p><strong>AOIP.ORG(config)# access-list 102 permit ip any 10.0.1.0 0.0.0.255 log</strong></p>
<p>Allow unicast traffic</p>
<p><strong>AOIP.ORG(config)# interface fa0/1</strong></p>
<p><strong>AOIP.ORG(config-if)# ip access-group 102 in</strong></p>
<p>Attach the ACL to the interface for inbound traffic</p>
<p><strong>AOIP.ORG(config-if)# exit</strong></p>
<p><strong>AOIP.ORG(config)#</strong></p>
<p> </p>
<p> </p>
<p> </p>
<p>In the above configuration we have now mitigated Smurf attacks from either network segments in either direction.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fwww.anythingoverip.co.za%2Ftutorials%2Fcourse-content%2Fiscw%2Fmitigating-smurf-dos-attacks%2F&amp;linkname=Mitigating%20Smurf%20DoS%20Attacks"><img src="http://www.anythingoverip.co.za/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Save/Bookmark"/></a>

<p>Related posts:<ol><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><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/dos-tcp-syn-attack-mitigation/' rel='bookmark' title='Permanent Link: DoS TCP SYN Attack Mitigation'>DoS TCP SYN Attack Mitigation</a></li></ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/Mmv3_kAkrwACmjl7yu5z_Ag1DxA/0/da"><img src="http://feedads.g.doubleclick.net/~a/Mmv3_kAkrwACmjl7yu5z_Ag1DxA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Mmv3_kAkrwACmjl7yu5z_Ag1DxA/1/da"><img src="http://feedads.g.doubleclick.net/~a/Mmv3_kAkrwACmjl7yu5z_Ag1DxA/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/co/CFeq/~4/BgQR65-9SXs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/iscw/mitigating-smurf-dos-attacks/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.anythingoverip.co.za/tutorials/course-content/iscw/mitigating-smurf-dos-attacks/</feedburner:origLink></item>
	</channel>
</rss><!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
