<?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>I-BLOG &#187; Cisco</title>
	<atom:link href="http://www.rsivanandan.com/category/cisco-general/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rsivanandan.com</link>
	<description>Never go to bed mad. Stay up and fight!</description>
	<lastBuildDate>Sat, 17 Dec 2011 08:20:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Modular Policy Framework (ASA)</title>
		<link>http://www.rsivanandan.com/2010/07/05/modular-policy-framework-asa/</link>
		<comments>http://www.rsivanandan.com/2010/07/05/modular-policy-framework-asa/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 05:09:26 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Tech in general]]></category>
		<category><![CDATA[block facebook]]></category>
		<category><![CDATA[cisco asa]]></category>
		<category><![CDATA[modular policy framework]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/2010/07/05/modular-policy-framework-asa/</guid>
		<description><![CDATA[Productivity increase by blocking non-project related sites is one of the myth that I’ve seen a lot on various online forums and as well there are always counter research data as to this has nothing to do with ‘increase in productivity’. I guess, I kinda agree too (Well, I know one of the leading IT [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">Productivity increase by blocking non-project related sites is one of the myth that I’ve seen a lot on various online forums and as well there are always counter research data as to this has nothing to do with ‘increase in productivity’. I guess, I kinda agree too (Well, I know one of the leading IT companies who doesn’t give computers with internet access to any employee and only the lead/manager has it, that too restricted).</p>
<p align="justify">So putting aside the arguments, one of the issues with blocking outgoing connections based on IP has always failed (imagine the cloud of servers, if you were to block say yahoo mail). Now the Modular Policy Framework does support regex checking in the URL header to see which site it is going and block it, if you’d like to.</p>
<p align="justify">Here is the Cisco article describing the MPF in details {<a href="http://www.cisco.com/en/US/docs/security/asa/asa70/configuration/guide/mpc.html" target="_blank">Here</a>}</p>
<p align="justify">&#160;</p>
<p align="justify">Now how do you block say access to facebook or myspace, from being utilized by your employees?? <a href="http://petenetlive.com/KB/Article/0000054.htm" target="_blank">Pete</a> has a good write-up on it and hence I’m not going to write it again here.</p>
<p align="justify">In short the configuration you need is; Thanks to Pete for providing such a detailed write-up.</p>
<p>&#160;</p>
<blockquote><p>On the Global Policy     <br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>regex domainlist1 &quot;facebook.com&quot;     <br />class-map type regex match-any DomainBlockList&#160; <br />&#160; match regex domainlist1&#160; <br />class-map type inspect http match-all BlockDomainsClass      <br />&#160; match request header host regex class DomainBlockList      <br />policy-map type inspect http http_inspection_policy&#160; <br />class BlockDomainsClass      <br />&#160; reset log      <br />policy-map global_policy      <br />&#160; class inspection_default      <br />&#160; inspect http http_inspection_policy      <br />service-policy global_policy global      <br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>With its own policy</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;     <br />regex BLOCKED_DOMAIN_1 &quot;<a href="http://www.facebook.com/">www.facebook.com</a>&quot;      <br />access-list TRAFFIC_TO_INSPECT_FOR_BLOCKED_DOMAINS extended permit tcp any any eq http      <br />class-map type regex match-any CLASS_MAP_BLOCKED_DOMAIN_LIST      <br />&#160; match regex BLOCKED_DOMAIN_1      <br />class-map type inspect http match-all CLASS_MAP_DEFINE_TRAFFIC_TO_INSPECT      <br />&#160; match request header host regex class CLASS_MAP_BLOCKED_DOMAIN_LIST      <br />class-map CLASS_MAP_HTTP_TRAFFIC      <br />&#160; match access-list TRAFFIC_TO_INSPECT_FOR_BLOCKED_DOMAINS      <br />policy-map type inspect http POLICY_MAP_HTTP_INSPECTION      <br />&#160; parameters      <br />&#160; class CLASS_MAP_DEFINE_TRAFFIC_TO_INSPECT      <br />&#160; drop-connection log      <br />policy-map POLICY_MAP_OUTSIDE_INTERFACE      <br />class CLASS_MAP_HTTP_TRAFFIC      <br />&#160; inspect http POLICY_MAP_HTTP_INSPECTION      <br />service-policy POLICY_MAP_OUTSIDE_INTERFACE interface outside</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2010/07/05/modular-policy-framework-asa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PIX/ASA &#8211; Static Port Map &amp; ICMP</title>
		<link>http://www.rsivanandan.com/2009/10/13/pixasa-static-port-map-icmp/</link>
		<comments>http://www.rsivanandan.com/2009/10/13/pixasa-static-port-map-icmp/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 08:59:10 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/2009/10/13/pixasa-static-port-map-icmp/</guid>
		<description><![CDATA[It is not quite unusual where you do a static port map using the IP address assigned on the outside interface in either PIX or ASA to map different services inside your network, something like this; 1: static (inside,outside) tcp 1.1.1.2 www 10.10.10.2 www 255.255.255.255 2: static (inside,outside) tcp 1.1.1.2 smtp 10.10.10.3 smtp 255.255.255.255 3: [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">It is not quite unusual where you do a static port map using the IP address assigned on the outside interface in either PIX or ASA to map different services inside your network, something like this;</p>
<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum1">   1:</span> <span style="color: #0000ff">static</span> (inside,outside) tcp 1.1.1.2 www 10.10.10.2 www 255.255.255.255</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum2">   2:</span> <span style="color: #0000ff">static</span> (inside,outside) tcp 1.1.1.2 smtp 10.10.10.3 smtp 255.255.255.255</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum3">   3:</span> <span style="color: #0000ff">static</span> (inside,outside) tcp 1.1.1.2 domain 10.10.10.4 domain 255.255.255.255</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum4">   4:</span> <span style="color: #0000ff">static</span> (inside,outside) udp 1.1.1.2 domain 1010.10.4 domain 255.255.255.255</pre>
<p><!--CRLF--></div>
</div>
<p align="justify">&#160;</p>
<p align="justify">It could be either the IP address on the outside interface or an available public IP address as well. Now the problem here is, how do you allow ping to these servers.</p>
<p align="justify">The first line; maps HTTP traffic coming over to 1.1.1.2 and redirects to 10.10.10.2 on the inside LAN machine. Now, if I want to allow PING to work for the server 10.10.10.2 from anybody in the Internet, how do I do that?</p>
<p align="justify">I’m afraid the answer is ‘<font color="#800000"><strong>You Can’t’</strong> </font><font color="#000000">The reason being, there is no 1-1 mapping</font></p>
<p align="justify">Normal Scenario’s where you can do this is, if you do a Static NAT instead of Static PAT as below;</p>
<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum1">   1:</span> <span style="color: #0000ff">static</span> (inside,outside) 1.1.1.2 10.10.10.4 255.255.255.255</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum2">   2:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum3">   3:</span> access-list Outside-In permit tcp any host 1.1.1.2 eq HTTP</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum4">   4:</span> access-list Outside-In permit icmp any host 1.1.1.2 echo</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum5">   5:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum6">   6:</span> access-group Outside-In <span style="color: #0000ff">in</span> <span style="color: #0000ff">interface</span> outside</pre>
<p><!--CRLF--></div>
</div>
<p>If you guys know that it can be done in any other way, lemme know as well <img src='http://www.rsivanandan.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2009/10/13/pixasa-static-port-map-icmp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Policy NAT with Cisco ASA Firewalls</title>
		<link>http://www.rsivanandan.com/2009/09/25/policy-nat-with-cisco-asa-firewalls/</link>
		<comments>http://www.rsivanandan.com/2009/09/25/policy-nat-with-cisco-asa-firewalls/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 14:17:53 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Policy Nat with Cisco ASA]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/2009/09/25/policy-nat-with-cisco-asa-firewalls/</guid>
		<description><![CDATA[One of the most common things in every ASA/PIX firewalls is the nat configuration for outgoing connections; something like this; hostname(config)# nat(inside) 1 0.0.0.0 0.0.0.0 hostname(config)# global (outside) 1 interface This tells the firewall that all traffic coming from inside (local lan) interface should be PAT’ed and route before it goes out through the outside [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">One of the most common things in every ASA/PIX firewalls is the nat configuration for outgoing connections; something like this; </p>
<blockquote><p align="justify"><font color="#008000">hostname(config)# nat(inside) 1 0.0.0.0 0.0.0.0       <br />hostname(config)# global (outside) 1 interface</font></p>
</blockquote>
<p align="justify">This tells the firewall that all traffic coming from inside (local lan) interface should be PAT’ed and route before it goes out through the outside (like internet). Now you can also define this with an access-list for much filtered Natting. Say; you have 2 networks in your local lan and want only one of them to be Pat’ed like above;   </p>
<p align="justify">We call it, 10.0.0.0/8 and 192.168.1.0/24 and only the second one should be natted; This is achieved through the following statements;   </p>
<blockquote><p align="justify"><font color="#008000">hostname(config)# nat (inside) 1 192.168.1.0 255.255.255.0       <br />hostname(config)# global (outside) 1 interface        <br /></font></p>
</blockquote>
<p align="justify">Similarly, you can use an access-list for much controlled Natting like below;   </p>
<blockquote><p align="justify"><font color="#008000">hostname(config)# nat (inside) 1 access-list 10       <br />hostname(config)# global (outside) 1 interface        <br />access-list 10 permit ip 192.168.1.0 255.255.255.0        <br /></font></p>
</blockquote>
<p align="justify">The beauty is, you can even control this Natting using specific protocols/ports combination. Say, if you want to allow only internet browsing (http &amp; https) to be allowed, then;</p>
<blockquote><p align="justify"><font color="#008000">hostname(config)# nat (inside) 1 access-list 100       <br />hostname(config)# global (outside) 1 interface        <br />access-list 100 permit tcp 192.168.1.0 255.255.255.0 any eq 80        <br />access-list 100 permit tcp 192.168.1.0 255.255.255.0 any eq 443        <br /></font></p>
</blockquote>
<p align="justify">See an advantage here? You can avoid having a separate access-list to be inserted for this purpose on the outside interface. Now, there is another way where you don’t want to nat, achieved through nat(inside)0. Typically this is used for VPN connections. When you have VPN terminated onto ASA/PIX, You won’t be Natting the traffic going through that and you achieve it by adding;   </p>
<blockquote><p align="justify"><font color="#008000">nat(inside)0 access-list 10       <br />access-list 10 permit 10.0.0.0 255.0.0.0        <br /></font></p>
</blockquote>
<p align="justify">OR</p>
<blockquote><p align="justify"><font color="#008000">nat(inside)0 10.0.0.0 255.0.0.0       <br /></font></p>
</blockquote>
<p align="justify">However there is a difference with nat (inside) 0 statements, you cannot control the NAT functionality based on protocols/ports, it is only IP. For example;   </p>
<blockquote><p align="justify"><font color="#ff0000">nat (inside) 0 access-list 100       <br />access-list 100 permit tcp 192.168.1.0 255.255.255.0 any eq 80        <br /></font></p>
</blockquote>
<p align="justify">The above will not work. This is the limitation and you’d have to go for regular access-lists on your interfaces if you want to stop these traffic.   </p>
<p>In Cisco’s own words;</p>
<blockquote><p>On ASA, the policy nat cannot be applied on nat(0) statements and is not supported; </p>
<p>Identifies the local addresses and destination addresses using an extended access list, also known as policy NAT. Create the access list using the access-list command. You can optionally specify the local and destination ports in the access list using the eq operator. If the NAT ID is 0, then the access list specifies addresses that are exempt from NAT. NAT exemption is not the same as policy NAT; you cannot specify the port addresses, for example.      <br />Note&#160;&#160;&#160;&#160;&#160; Access list hit counts, as shown by the show access-list command, do not increment for NAT exemption access lists.      </p>
</blockquote>
<p>Source : { <a href="http://www.cisco.com/en/US/docs/security/asa/asa82/command/reference/no.html#wp1756533" target="_blank">Here</a> }</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2009/09/25/policy-nat-with-cisco-asa-firewalls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco Router DNS lookup Annoyance</title>
		<link>http://www.rsivanandan.com/2009/09/20/cisco-router-dns-lookup-annoyance/</link>
		<comments>http://www.rsivanandan.com/2009/09/20/cisco-router-dns-lookup-annoyance/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 16:34:41 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[ip_domain_lookup]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/2009/09/20/cisco-router-dns-lookup-annoyance/</guid>
		<description><![CDATA[&#160; If you don’t know especially if you’re a newbie with Cisco Routers, one of the annoying thing is the message; Translating&#8230;.. domain server (255.255.255.255) &#160; User Mode R1&#62;xxxx Translating &#34;xxxx&#34;...domain server (255.255.255.255) (255.255.255.255) Translating &#34;xxxx&#34;...domain server (255.255.255.255) % Unknown command or computer name, or unable to find computer address R1&#62; Enable Mode R1#xxxx Translating [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>If you don’t know especially if you’re a newbie with Cisco Routers, one of the annoying thing is the message;</p>
<blockquote><h5><a name="prevent">Translating&#8230;.. domain server (255.255.255.255)</a></h5>
</blockquote>
<p>&#160;</p>
<table border="0" cellspacing="0" cellpadding="2" width="202">
<tbody>
<tr>
<td valign="top" width="200">
<h6><a name="user-mode"><font size="1">User Mode</font></a></h6>
<blockquote><pre><font size="1">R1&gt;<b>xxxx</b>

Translating &quot;xxxx&quot;...domain server (255.255.255.255)

(255.255.255.255)

Translating &quot;xxxx&quot;...domain server (255.255.255.255)

% Unknown command or computer name, or unable to find computer address

R1&gt;</font></pre>
</blockquote>
<h6><a name="enable-mode"><font size="1">Enable Mode</font></a></h6>
<blockquote>
<pre><font size="1">R1#<b>xxxx</b>

Translating &quot;xxxx&quot;...domain server (255.255.255.255)

(255.255.255.255)

Translating &quot;xxxx&quot;...domain server (255.255.255.255)

% Unknown command or computer name, or unable to find computer address

R1#</font></pre>
</blockquote>
</td>
</tr>
</tbody>
</table>
<p>&#160;</p>
<p>Well, it is there for a reason and is doing something that may not be obvious. So here is the deal in Cisco’s own words;</p>
<blockquote>
<p>By default, when a command in user or enable mode is entered into a router and this command is not recognized, the router believes that this is the host name of a device that the user is attempting to reach using telnet. Therefore, the router tries to resolve the unrecognized command into an IP address by doing an IP domain lookup. If no specific domain server has been configured on the router, the router will issue a broadcast for the command to be translated into an IP address. It can take several seconds for the router prompt to return while the router waits for a response to its Domain Name System (DNS) broadcast.</p>
</blockquote>
<p>&#160;</p>
<p>Simple fix?</p>
<p>Just add<strong><font color="#0000ff" size="2"> ‘no ip domain-lookup’</font></strong> and save it. It should be gone!</p>
<p>Source : [ <a href="http://www.cisco.com/en/US/products/hw/routers/ps133/products_tech_note09186a00802015c8.shtml" target="_blank">Cisco Online Doc</a> ]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2009/09/20/cisco-router-dns-lookup-annoyance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Policy Based Routing</title>
		<link>http://www.rsivanandan.com/2008/02/16/policy-based-routing/</link>
		<comments>http://www.rsivanandan.com/2008/02/16/policy-based-routing/#comments</comments>
		<pubDate>Sat, 16 Feb 2008 16:27:05 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=219</guid>
		<description><![CDATA[There was an interesting post in EE recently about policy based routing. So the network goes this way; Lan connected to an Cisco router which has 2 ISP connections. The main one is terminated on serial0/0 and another aDSL link at serial0/1. The internal lan is connected to Fe0/1 There are other complexities of VPN [...]]]></description>
			<content:encoded><![CDATA[<p>There was an interesting post in <a href="http://www.experts-exchange.com/Hardware/Networking_Hardware/Routers/Q_23128168.html" target="_blank">EE</a> recently about policy based routing. So the network goes this way;</p>
<p>Lan connected to an Cisco router which has 2 ISP connections. The main one is terminated on serial0/0 and another aDSL link at serial0/1. The internal lan is connected to Fe0/1</p>
<p>There are other complexities of VPN and stuff, lets leave that aside. So basic requirement as to route all the traffic through serial0/0 =&gt; means the default route on the router would be pointing to serial0/0 and the user wanted all the internet web browsing traffic to go over the aDSL link and save link space on the main link. Something like this is always good to have and actually we can have this done based on policy based routing and include even fault-tolerance by having the aDSL link as backup link in case the main link goes down.</p>
<div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4">
<div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   1:</span> <span style="color: #0000ff">default</span> route &amp; <span style="color: #0000ff">default</span> route with higher metric, so it gets inserted to routing table </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   2:</span> <span style="color: #0000ff">in</span> case the first one goes down.</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   3:</span>&nbsp; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   4:</span> ip route 0.0.0.0 0.0.0.0 serial0/0 </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   5:</span> ip route 0.0.0.0 0.0.0.0 serial0/1 10 </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   6:</span>&nbsp; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   7:</span> The above helps <span style="color: #0000ff">in</span> backup-route. </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   8:</span>&nbsp; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   9:</span> The following route-map decides <span style="color: #0000ff">if</span> the traffic is web browsing and <span style="color: #0000ff">if</span> so then sends</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  10:</span> packet out through aDSL link, otherwise traffic goes through the main link.</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  11:</span>&nbsp; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  12:</span> route-map webtraffic permit 10</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  13:</span>   match ip address 200</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  14:</span>   set ip next-hop &lt;aDSL Interface remote side ip&gt;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  15:</span>&nbsp; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  16:</span> access-list 200 permit tcp &lt;Internal Network&gt; &lt;Wildcard Mask&gt; any eq 80</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  17:</span> access-list 200 permit tcp &lt;Internal Network&gt; &lt;Wildcard Mask&gt; any eq 443</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  18:</span>&nbsp; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  19:</span> It is assigned to the interface, so that it can be evaluated at the entry level <span style="color: #0000ff">in</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  20:</span> <span style="color: #0000ff">local</span> lan which is connected to Fe0/1</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  21:</span> int Fe0/1</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  22:</span> ip policy route-map webtraffic </pre>
</div>
</div>
<div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:2dc1f6ca-8d0a-40c5-b294-c424db30d394" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati Tags: <a href="http://technorati.com/tags/routing" rel="tag">routing</a>,<a href="http://technorati.com/tags/pbr" rel="tag">pbr</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2008/02/16/policy-based-routing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configure Cisco Router in Bridge Mode</title>
		<link>http://www.rsivanandan.com/2007/09/07/configure-cisco-router-in-bridge-mode/</link>
		<comments>http://www.rsivanandan.com/2007/09/07/configure-cisco-router-in-bridge-mode/#comments</comments>
		<pubDate>Fri, 07 Sep 2007 13:39:42 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=208</guid>
		<description><![CDATA[At times when ISP drops an internet connection, it is needed to put the router in bridge mode so that the public ip address can be directly assigned on the inside firewall (any brand). So you can put a cisco router in bridge mode this way; bridge 1 protocol ieee int fa0/0&#160;&#160; &#60;&#8211;connected to ISP [...]]]></description>
			<content:encoded><![CDATA[<p>At times when ISP drops an internet connection, it is needed to put the router in bridge mode so that the public ip address can be directly assigned on the inside firewall (any brand).</p>
<p>So you can put a cisco router in bridge mode this way;</p>
<blockquote><p>bridge 1 protocol ieee </p>
<p>int fa0/0&nbsp;&nbsp; &lt;&#8211;connected to ISP (change interface accordingly)<br />no ip address<br />bridge-group 1
<p>int fa0/1&nbsp; &lt;&#8211;connected to ASA (change interface accordingly)<br />no ip address<br />bridge-group 1</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2007/09/07/configure-cisco-router-in-bridge-mode/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>RDP Connection through PIX &#8211; Different Port</title>
		<link>http://www.rsivanandan.com/2007/08/09/rdp-connection-through-pix-different-port/</link>
		<comments>http://www.rsivanandan.com/2007/08/09/rdp-connection-through-pix-different-port/#comments</comments>
		<pubDate>Thu, 09 Aug 2007 16:55:21 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=203</guid>
		<description><![CDATA[It is nice to use the RDP to be on a different port for security purposes. If a firewall scanner finds out that port 3389 is allowed then it is pretty obvious that it is an RDP hole in the firewall punched in. So how about port 12345 ? 2 options; 1. Change the port [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense-->
<p>It is nice to use the RDP to be on a different port for security purposes. If a firewall scanner finds out that port 3389 is allowed then it is pretty obvious that it is an RDP hole in the firewall punched in.</p>
<p>So how about port 12345 ?</p>
<p>2 options;</p>
<p>1. Change the port on the windows itself to custom port.</p>
<p>&nbsp; Lets assume you want it on port 12345, This case you change it to;<br />
<blockquote>
<p>static (inside,outside) &lt;Public_IP&gt; &lt;Private_IP&gt;netmask 255.255.255.255<br />access-list 102 permit tcp any host &lt;Public_IP&gt;eq 12345<br />access-group 102 in interface outside</p>
</blockquote>
<p><a href="http://support.microsoft.com/kb/306759">http://support.microsoft.com/kb/306759</a>
<p>The link above would show you how to change the port in windows.
<p>2. Change the port on the static nat statement so that you connect to a random port but pix would route it to default &nbsp;rdp port.<br />
<blockquote>
<p>static (inside,outside) tcp &lt;Public_IP&gt; 12345 &lt;Private_IP&gt;3389 netmask 255.255.255.255<br />access-list 102 permit tcp any host &lt;Public_IP&gt;eq 12345<br />access-group 102 in interface outside</p>
</blockquote>
<p>Then launch Remote Desktop Client and then type in address as &lt;Public_IP&gt;:12345&nbsp; Kewl&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2007/08/09/rdp-connection-through-pix-different-port/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free training to JUNOS for Cisco-certified pros</title>
		<link>http://www.rsivanandan.com/2007/08/09/free-training-to-junos-for-cisco-certified-pros/</link>
		<comments>http://www.rsivanandan.com/2007/08/09/free-training-to-junos-for-cisco-certified-pros/#comments</comments>
		<pubDate>Thu, 09 Aug 2007 06:11:17 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Juniper]]></category>
		<category><![CDATA[Tech in general]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=201</guid>
		<description><![CDATA[Juniper has confirmed that its offer of free training to Cisco certified professionals to become Juniper-certified is available to Cisco network pros worldwide. The program was originally reported as only available to qualified folks in Asia Pacific, but inquiries by Cisco Subnet to Juniper corporate HQ in Sunnyvale, Calif., in addition to interest from Cisco [...]]]></description>
			<content:encoded><![CDATA[<p><font face="ver">Juniper has confirmed that its offer of free training to Cisco certified professionals to become Juniper-certified is available to Cisco network pros worldwide. The program was originally reported as only available to qualified folks in Asia Pacific, but inquiries by Cisco Subnet to Juniper corporate HQ in Sunnyvale, Calif., in addition to interest from Cisco Subnet readers, led Juniper&#8217;s media relations team to confirm the offer as a worldwide deal and to post details of the program on its Web site.</font></p>
<p><a href="http://www.networkworld.com/community/node/18199" target="_blank"><font face="ver">Read More &#8230;</font></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2007/08/09/free-training-to-junos-for-cisco-certified-pros/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cisco PIX/ASA or Router &#8211; to be a firewall?</title>
		<link>http://www.rsivanandan.com/2007/05/13/cisco-pixasa-or-router-to-be-a-firewall/</link>
		<comments>http://www.rsivanandan.com/2007/05/13/cisco-pixasa-or-router-to-be-a-firewall/#comments</comments>
		<pubDate>Sun, 13 May 2007 14:20:25 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=152</guid>
		<description><![CDATA[Now that I answered the same question twice @ EE, it would be better that I bookmark it for the sake of others here; So, the question is when it comes to a platform with Cisco to be a Firewall, do we use Cisco Router or Cisco PIX Firewall ?&#160;Both has a lot of similar [...]]]></description>
			<content:encoded><![CDATA[</p>
<p>Now that I answered the same question twice @ <a href="http://experts-exchange.com" target="_blank">EE</a>, it would be better that I bookmark it for the sake of others here;  </p>
<p>So, the question is when it comes to a platform with Cisco to be a Firewall, do we use Cisco Router or Cisco PIX Firewall ?&nbsp;Both has a lot of similar feature set and the argument of using router as firewall instead of shelling more money on PIX/ASA ? </p>
<p>&nbsp; </p>
<p><u>PIX (Packet Internet Exchange)</u>  </p>
<p>These are the firewall series from Cisco Networks (Now moving towards ASA). It is a hybrid firewall with capabilities of stateful firewall, Application proxy etc. The way it works is known as ASA (Adaptive Security Algorithm). This gear is specifically meant for doing firewall functions to much higher level  </p>
<p><a href="http://www.examcram2.com/articles/article.asp?p=101741&amp;seqNum=4&amp;rl=1">http://www.examcram2.com/articles/article.asp?p=101741&amp;seqNum=4&amp;rl=1</a> </p>
<p><u>Cisco Routers</u>  </p>
<p>These are general routing engine which is made with different types of interfaces supporting routing in big scale. For example, pix can support only primitive level of routing but Cisco Routers can run almost all routing protocols that are available now. Now if you ask whether the firewall functionalities can be done by these routers? YES. Special image needs to be used and a Cisco Router can work as a vpn endpoint and a firewall. This is called CBAC (Context Based Access Control)  </p>
<p><a href="http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121cgcr/secur_c/scprt3/scdcbac.htm#wp1000981">http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121cgcr/secur_c/scprt3/scdcbac.htm#wp1000981</a> </p>
<p>So what is the difference. The numbers of throughput, while Routers are meant to have different idea the PIX is made only for the firewall functions. So firewall related outputs (VPN, Encryption speed etc..) are high in the PIX.  </p>
<p>If VPN is only what you&#8217;re looking at then probably a Cisco Router would do, but *encryption speeds* matter, with PIX/ASA it would be much faster.  </p>
<p>As well, application awareness is more in PIX/ASA than a normal Router. You could turn a router into a firewall but it is good only for layer 3 and layer 4 traffic to a major extent, while ASA or PIX would do more that that. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2007/05/13/cisco-pixasa-or-router-to-be-a-firewall/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ICMP Allow on PIX</title>
		<link>http://www.rsivanandan.com/2007/05/08/icmp-allow-on-pix/</link>
		<comments>http://www.rsivanandan.com/2007/05/08/icmp-allow-on-pix/#comments</comments>
		<pubDate>Tue, 08 May 2007 17:41:42 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=128</guid>
		<description><![CDATA[Saw couple of questions on this one in EE; So when you say control ICMP on a pix firewall, it is 2 fold. Control icmp traffic through pix firewall Control icmp traffic that is *destined* for pix firewall, whether internal or extern For the first one, it is easy and control it using access-lists. For the second, you use the command &#8217;icmp&#8217;; icmp permit/deny &#60;source&#62; &#60;icmp-type&#62; &#60;interface&#62; if I say &#8217;icmp permit host 172.16.1.1 echo-reply inside&#8217; =&#62; What it tells the pix is that allow to send [...]]]></description>
			<content:encoded><![CDATA[<p>Saw couple of questions on this one in EE;</p>
<p>So when you say control ICMP on a pix firewall, it is 2 fold.</p>
<ol>
<li>Control icmp traffic through pix firewall</li>
<li>Control icmp traffic that is *destined* for pix firewall, whether internal or extern</li>
</ol>
<p>For the first one, it is easy and control it using access-lists.</p>
<p>For the second, you use the command &#8217;icmp&#8217;;</p>
<p><em><strong>icmp permit/deny &lt;source&gt; &lt;icmp-type&gt; &lt;interface&gt;</strong></em></p>
<p>if I say &#8217;icmp permit host 172.16.1.1 echo-reply inside&#8217; =&gt; What it tells the pix is that allow to send echo-reply msgs to the</p>
<p>host 172.16.1.1 from inside network.</p>
<p>For a detailed explanation of icmp-types, look at Cisco Site.</p>
<p>So to be perfect in saying &#8217;access rules for ICMP traffic that terminates at a security appliance interface use icmp commands.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2007/05/08/icmp-allow-on-pix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configure Static NAT &#8211; Cisco Router</title>
		<link>http://www.rsivanandan.com/2007/03/04/configure-static-nat-cisco-router/</link>
		<comments>http://www.rsivanandan.com/2007/03/04/configure-static-nat-cisco-router/#comments</comments>
		<pubDate>Sat, 03 Mar 2007 19:58:11 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=98</guid>
		<description><![CDATA[One of the basic questions that every administrator have is about configuring static NAT for the services they provide for their customers (mail/web/application/VoIP etc). I have myself answered this question a lot of times in Experts-Exchange. So here is the standard configuration; Cisco Router : ip nat inside source static &#60;protocol&#62; &#60;InternalIP&#62; &#60;Port&#62; &#60;PublicIP&#62; &#60;Port&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>One of the basic questions that every administrator have is about configuring static NAT for the services they provide for their customers (mail/web/application/VoIP etc). I have myself answered this question a lot of times in Experts-Exchange. So here is the standard configuration;</p>
<p><strong>Cisco Router :</strong></p>
<p><span style="color:blue;">ip nat inside source static &lt;protocol&gt; &lt;InternalIP&gt; &lt;Port&gt; &lt;PublicIP&gt; &lt;Port&gt;</span></p>
<p><span style="color:blue;">access-list &lt;Number&gt; permit tcp any host &lt;PublicIP&gt; eq &lt;Port&gt;</span></p>
<p><span style="color:blue;">int &lt;Internal&gt;<br />
ip nat inside</span></p>
<p><span style="color:blue;">int &lt;External&gt;<br />
ip nat outside<br />
ip access-group &lt;Number&gt; in</span></p>
<p><em><span style="color:red;">So using the above if I want to allow web server access, the configuration would be as below; Assuming Public IP = 11.12.13.14 and Private IP = 10.10.10.10, Internal Interface = Ethernet0/0, External Interface = Serial0/0</span></em><span style="color:red;"></span></p>
<p><span style="color:blue;">ip nat inside source static tcp 10.10.10.10 80 11.12.13.14 80</span></p>
<p><span style="color:blue;">access-list 100 permit tcp any host 11.12.13.14 eq 80</span></p>
<p><span style="color:blue;">int e0/0<br />
ip nat inside</span></p>
<p><span style="color:blue;">int s0/0<br />
ip nat outside<br />
ip access-group 100 in</span></p>
<p class="MsoNormal"> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2007/03/04/configure-static-nat-cisco-router/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configure Static NAT &#8211; PIX Firewall</title>
		<link>http://www.rsivanandan.com/2007/03/04/configure-nat/</link>
		<comments>http://www.rsivanandan.com/2007/03/04/configure-nat/#comments</comments>
		<pubDate>Sat, 03 Mar 2007 19:44:09 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=97</guid>
		<description><![CDATA[One of the basic questions that every administrator have is about configuring static NAT for the services they provide for their customers (mail/web/application/VoIP etc). I have myself answered this question a lot of times in Experts-Exchange. So here is the standard configuration; Cisco PIX Firewall : static (inside,outside) &#60;PublicIP&#62; &#60;Private IP&#62; netmask 255.255.255.255 access-list &#60;Name&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>One of the basic questions that every administrator have is about configuring static NAT for the services they provide for their customers (mail/web/application/VoIP etc). I have myself answered this question a lot of times in Experts-Exchange. So here is the standard configuration;</p>
<p><strong>Cisco PIX Firewall :</strong></p>
<p><span style="color:blue;">static (inside,outside) &lt;PublicIP&gt; &lt;Private IP&gt; netmask 255.255.255.255</span></p>
<p><span style="color:blue;">access-list &lt;Name&gt; permit &lt;Protocol&gt; any host &lt;PublicIP&gt; eq &lt;service&gt;</span></p>
<p><span style="color:blue;">access-group &lt;Name&gt; in interface outside</span></p>
<p><em><span style="color:red;">So using the above if I want to allow web server access, the configuration would be as below; Assuming Public IP = 11.12.13.14 and Private IP = 10.10.10.10</span></em><span style="color:red;"></span></p>
<p><span style="color:blue;">static (inside,outside) 11.12.13.14 10.10.10.10 netmask 255.255.255.255</span></p>
<p><span style="color:blue;">access-list Outside_In permit tcp any host 11.12.13.14 eq 80</span></p>
<p><span style="color:blue;">access-group Outside_In in interface outside</span></p>
<p class="MsoNormal"> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2007/03/04/configure-nat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[ Cisco vs Juniper ]</title>
		<link>http://www.rsivanandan.com/2007/01/06/self-defending-networks/</link>
		<comments>http://www.rsivanandan.com/2007/01/06/self-defending-networks/#comments</comments>
		<pubDate>Fri, 05 Jan 2007 19:43:06 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=73</guid>
		<description><![CDATA[[youtube=http://www.youtube.com/watch?v=Rm-jbZS2LQU] No comments]]></description>
			<content:encoded><![CDATA[<p>[youtube=http://www.youtube.com/watch?v=Rm-jbZS2LQU]</p>
<p>No comments <img src='http://www.rsivanandan.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2007/01/06/self-defending-networks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multiple Networks&#8230;Unique PAT</title>
		<link>http://www.rsivanandan.com/2006/10/13/multiple-networksunique-pat/</link>
		<comments>http://www.rsivanandan.com/2006/10/13/multiple-networksunique-pat/#comments</comments>
		<pubDate>Fri, 13 Oct 2006 17:07:10 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=52</guid>
		<description><![CDATA[One of the recent post in EE that came up was a user wanted to have a scenario where-in he has multiple subnets in his network and he wants to do unique patting for all those networks when they exit for internet access. Say for example if my SubnetA has an ip of 10.10.10.0/24, SubnetB [...]]]></description>
			<content:encoded><![CDATA[<p>One of the recent post in <a href="www.experts-exchange.com">EE</a> that came up was a user wanted to have a scenario where-in he has multiple subnets in his network and he wants to do unique patting for all those networks when they exit for internet access.</p>
<p>Say for example if my SubnetA has an ip of 10.10.10.0/24, SubnetB has an ip of 10.10.20.0/24 and I have 2 public ip addresses (PublicIPA, PublicIPB), I could do the  patting for each individual networks. This gives the granularity of auditing based on exit public ip address. So here is what I think can be done.</p>
<p><strong>If this is done on PIX Firewall:</strong></p>
<p>global (outside) 1 PublicIPA<br />
nat (inside) 1 10.10.10.0 255.255.255.0</p>
<p>global (outside) 1 PublicIPB<br />
nat (inside) 1 10.10.20.0 255.255.255.0</p>
<p><strong>If this has to be done on a Cisco Router:</strong></p>
<p>ip nat pool SubnetA PublicIPA PublicIPA netmask 255.255.255.255</p>
<p>ip nat inside source list 1 pool SubnetA overload</p>
<p>access-list 1 permit ip 10.10.10.0 0.0.0.255</p>
<p>ip nat pool SubnetB PublicIPB PublicIPB netmask 255.255.255.255</p>
<p>ip nat inside source list 2 pool SubnetB overload</p>
<p>access-list 2 permit ip 10.10.20.0 0.0.0.255</p>
<p>int &lt;Internal_Int&gt;</p>
<p>ip nat inside</p>
<p>int &lt;External_Int&gt;</p>
<p>ip nat outside</p>
<p>Cool.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2006/10/13/multiple-networksunique-pat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Block P2P using PIX</title>
		<link>http://www.rsivanandan.com/2006/09/10/block-p2p-using-pix/</link>
		<comments>http://www.rsivanandan.com/2006/09/10/block-p2p-using-pix/#comments</comments>
		<pubDate>Sun, 10 Sep 2006 04:04:57 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=48</guid>
		<description><![CDATA[http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_tech_note09186a00801e419a.shtml Above includes the various p2p blocking using PIX firewall, one of the hottest and greediest on your networks  ]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_tech_note09186a00801e419a.shtml">http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_tech_note09186a00801e419a.shtml</a></p>
<p>Above includes the various p2p blocking using PIX firewall, one of the hottest and greediest on your networks <img src='http://www.rsivanandan.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2006/09/10/block-p2p-using-pix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting MTU with Cisco VPN Client</title>
		<link>http://www.rsivanandan.com/2006/08/11/setting-mtu-with-cisco-vpn-client/</link>
		<comments>http://www.rsivanandan.com/2006/08/11/setting-mtu-with-cisco-vpn-client/#comments</comments>
		<pubDate>Fri, 11 Aug 2006 14:28:08 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=43</guid>
		<description><![CDATA[I guess one of the nice utility often forgotten that comes with Cisco VPN Client is SetMTU. It is installed with the client and you can find it at; StartMenu-&#62;Programs-&#62;Cisco VPN Client-&#62;SetMTU So it is a peaceful life and don&#8217;t have go through the GUid in registry finding out which adaptor you want to set [...]]]></description>
			<content:encoded><![CDATA[<p>I guess one of the nice utility often forgotten that comes with Cisco VPN Client is SetMTU. It is installed with the client and you can find it at;</p>
<p>StartMenu-&gt;Programs-&gt;Cisco VPN Client-&gt;SetMTU</p>
<p>So it is a peaceful life and don&#8217;t have go through the GUid in registry finding out which adaptor you want to set it <img src='http://www.rsivanandan.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Oh yEAH! Using CVPN Client on Microsoft XP ? Don&#8217;t forget to get the latest version, 4.8 which is the stable one and you can download it from Cisco Site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2006/08/11/setting-mtu-with-cisco-vpn-client/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PIX site-to-site VPN</title>
		<link>http://www.rsivanandan.com/2006/07/29/pix-site-to-site-vpn/</link>
		<comments>http://www.rsivanandan.com/2006/07/29/pix-site-to-site-vpn/#comments</comments>
		<pubDate>Sat, 29 Jul 2006 06:08:24 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=37</guid>
		<description><![CDATA[Everyday I learn something and one such thing is this; Think of a scenario where you have to build site-to-site VPN between 2 PIXs. Adding interest to this is, the outside interfaces of both the pixes are connected to each other directly like this; Internal&#8212;&#8211;PIX1&#8211;Outside&#8212;&#8212;&#8212;-Outside&#8211;PIX2&#8212;&#8211;Internal With all configuration options as mentioned at cisco site (Click [...]]]></description>
			<content:encoded><![CDATA[<p>Everyday I learn something and one such thing is this; Think of a scenario where you have to build site-to-site VPN between 2 PIXs. Adding interest to this is, the outside interfaces of both the pixes are connected to each other directly like this;</p>
<p>Internal&#8212;&#8211;PIX1&#8211;Outside&#8212;&#8212;&#8212;-Outside&#8211;PIX2&#8212;&#8211;Internal</p>
<p>With all configuration options as mentioned at cisco site (<a target="_blank" href="http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_configuration_example09186a0080093bd3.shtml">Click here to Cisco config sample for this</a>), the tunnel still doesn&#8217;t come up!!! A point where I started scratching my head <img src='http://www.rsivanandan.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Then one of my friend at Experts-Exchange came along and said like &#8216;even though the outside interfaces are connected directly, still you need to have a default route (or route) configured on the PIX to have this get it working&#8217;. It was great and was right above all.</p>
<p>Check out the link to see the whole discussion at the forum;</p>
<p><a href="http://www.experts-exchange.com/Security/Q_21934020.html">http://www.experts-exchange.com/Security/Q_21934020.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2006/07/29/pix-site-to-site-vpn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trace Route through PIX ?</title>
		<link>http://www.rsivanandan.com/2006/07/23/trace-route-through-pix/</link>
		<comments>http://www.rsivanandan.com/2006/07/23/trace-route-through-pix/#comments</comments>
		<pubDate>Sun, 23 Jul 2006 15:23:20 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=32</guid>
		<description><![CDATA[Ever noticed this fact ? When a trace route is done from a network which is protected by PIX firewall, the pix interface doesn&#8217;t appear in the hop list ? Consider this network; 10.1.1.1&#8212;&#8212;&#8211;(10.1.1.2)Router(100.100.100.100)&#8212;-(100.100.100.101)(PIX)(200.200.200.200)&#8212;&#8211;InternetIP Trace route will list; 10.1.1.2 100.100.100.101 InternetIP The PIX interfaces will not be listed in it, either the trace route in [...]]]></description>
			<content:encoded><![CDATA[<p>Ever noticed this fact ? When a trace route is done from a network which is protected by PIX firewall, the pix interface doesn&#8217;t appear in the hop list ?</p>
<p>Consider this network;</p>
<p>10.1.1.1&#8212;&#8212;&#8211;(10.1.1.2)Router(100.100.100.100)&#8212;-(100.100.100.101)(PIX)(200.200.200.200)&#8212;&#8211;InternetIP</p>
<p>Trace route will list;</p>
<p>10.1.1.2</p>
<p>100.100.100.101</p>
<p>InternetIP</p>
<p>The PIX interfaces will not be listed in it, either the trace route in &#8216;inbound&#8217; or &#8216;outbound&#8217;! This is by design until 6.3(5) and in 7.0 version, you have an option of choose to disable natting. Once that is done, PIX acts as a router and the interfaces will be displayed.</p>
<p><a href="http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_tech_note09186a00800e9312.shtml#topic3" target="_blank">[Click to redirect to article @ Cisco] </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2006/07/23/trace-route-through-pix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DNS Doctoring</title>
		<link>http://www.rsivanandan.com/2006/07/17/dns-doctoring/</link>
		<comments>http://www.rsivanandan.com/2006/07/17/dns-doctoring/#comments</comments>
		<pubDate>Mon, 17 Jul 2006 14:04:12 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=20</guid>
		<description><![CDATA[The name is kinda funny, we&#8217;ll see what it is all about. Often times, a network hosting the webserver on the internal network is protected by a Cisco PIX firewall. So anybody accessing the site from the Internet would just access it as http://www.domain.com, and since it is registered with a Public DNS Server, the [...]]]></description>
			<content:encoded><![CDATA[<p>The name is kinda funny, we&#8217;ll see what it is all about. Often times, a network hosting the webserver on the internal network is protected by a Cisco PIX firewall. So anybody accessing the site from the Internet would just access it as <a href="http://www.domain.com/">http://www.domain.com</a>, and since it is registered with a Public DNS Server, the name will be resolved and the site is displayed to the user. However, the same isn&#8217;t possible for someone who is internal to the network where the webserver is hosted because of 2 reasons;</p>
<p>1. The hostname is different</p>
<p>2. The ip address will be private and won&#8217;t resolve to <a href="http://www.domain.com/">http://www.domain.com</a></p>
<p>In such situations, one of the ways you can make it possible would be something called DNS Doctoring&#8230;</p>
<p>Letz take an example;</p>
<p>The internal ip address of the webserver : 10.1.1.1</p>
<p>The Host Name of the webserver : mywebserver</p>
<p>Public Name of the webserver : <a href="http://www.domain.com/">www.domain.com</a></p>
<p>So in the PIX firewall, you make the following configuration;</p>
<p>Let the PIX know that you are trying to reach the internal machine by modifying the following static NAT;</p>
<p>static (Inside,Outside) x.x.x.x 10.1.1.1 netmask 255.255.255.255</p>
<p>(The above statement tells pix that any request coming to the ip address x.x.x.x should be natted to 10.1.1.1)</p>
<p>Change the above to;</p>
<p>static (Inside,Outside) tcp x.x.x.x www 10.1.1.1 www DNS netmask 255.255.255.255</p>
<p>                                                                             ^^^</p>
<p>(Watch the &#8216;DNS&#8217; keyword in the modifed &#8216;static&#8217; statement. This tells the pix that DNS resolution also should be taken care).</p>
<p>From now onwards any internal user can also browse the website using <a href="http://www.domain.com/">http://www.domain.com</a> What makes this possible is that, PIX intelligently resolves it for you! Kinda cool huh ??</p>
<p>How else can this be done ?</p>
<p>Add an &#8216;A&#8217; record in the internal DNS server as www (assuming that your domain name is also domain.com) pointing to 10.1.1.1<br />
                                                                                        </p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2006/07/17/dns-doctoring/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Static IP for Cisco VPN Clients</title>
		<link>http://www.rsivanandan.com/2006/07/16/static-ip-for-cisco-vpn-clients/</link>
		<comments>http://www.rsivanandan.com/2006/07/16/static-ip-for-cisco-vpn-clients/#comments</comments>
		<pubDate>Sun, 16 Jul 2006 15:56:14 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=19</guid>
		<description><![CDATA[Setting up a VPN session between remote user and Cisco PIX firewall is fairly easy because of numerous documents out there at Cisco site. Uniquely enough, there might be a situation where you want a particular VPN client to be given a static ip all the time ? How do ya do this? Only way [...]]]></description>
			<content:encoded><![CDATA[<p>Setting up a VPN session between remote user and Cisco PIX firewall is fairly easy because of numerous documents out there at <a target="_blank" href="www.cisco.com">Cisco</a> site. Uniquely enough, there might be a situation where you want a particular VPN client to be given a static ip all the time ? How do ya do this? Only way as I see it now is;</p>
<p>1. Create 2 groups (Group1 and Group2)</p>
<p>2. Create 2 pools (Pool1 and Pool2)</p>
<p>Put &#8220;THE&#8221; user in Group1 and have Pool1 be assigned to him. Configure in such a way that Pool1 has only one ip address.</p>
<p>Put all the other users into the second group and configure Pool2 be assigned to them with regular pool. Comes very handy for administrators&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2006/07/16/static-ip-for-cisco-vpn-clients/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

