<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic policy static nat question / Error in Cisco's configuration guide? in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/policy-static-nat-question-error-in-cisco-s-configuration-guide/m-p/1303890#M828200</link>
    <description>&lt;P&gt;I implemented a policy static nat identical to the following example that is listed in page 12-13 of the Firewall Services Module config guide.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hostname(config)# access-list NET1 permit ip 10.1.2.0 255.255.255.224 209.165.201.0 255.255.255.224&lt;/P&gt;&lt;P&gt;hostname(config)# static (inside,outside) 209.165.202.129 access-list NET1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I get the following error message when I enter my similar configuration into my firewall:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;global address overlaps with mask&lt;/P&gt;&lt;P&gt;Usage: [no] static [(real_ifc, mapped_ifc)]&lt;/P&gt;&lt;P&gt;                {&amp;lt;mapped_ip&amp;gt;|interface}&lt;/P&gt;&lt;P&gt;                {&amp;lt;real_ip&amp;gt; [netmask &amp;lt;mask&amp;gt;]} | {access-list &amp;lt;acl_name&amp;gt;}&lt;/P&gt;&lt;P&gt;                [dns]&lt;/P&gt;&lt;P&gt;                [[tcp] &amp;lt;max_conns&amp;gt; [&amp;lt;emb_lim&amp;gt; [&amp;lt;norandomseq&amp;gt; [nailed]]]]&lt;/P&gt;&lt;P&gt;                [udp &amp;lt;max_conns&amp;gt;]&lt;/P&gt;&lt;P&gt;        [no] static [(real_ifc, mapped_ifc)] {tcp|udp}&lt;/P&gt;&lt;P&gt;                {&amp;lt;mapped_ip&amp;gt;|interface} &amp;lt;mapped_port&amp;gt;&lt;/P&gt;&lt;P&gt;                {&amp;lt;real_ip&amp;gt; &amp;lt;real_port&amp;gt; [netmask &amp;lt;mask&amp;gt;]} |&lt;/P&gt;&lt;P&gt;                {access-list &amp;lt;acl_name&amp;gt;}&lt;/P&gt;&lt;P&gt;                [dns]&lt;/P&gt;&lt;P&gt;                [[tcp] &amp;lt;max_conns&amp;gt; [&amp;lt;emb_lim&amp;gt; [&amp;lt;norandomseq&amp;gt; [nailed]]]]&lt;/P&gt;&lt;P&gt;                [udp &amp;lt;max_conns&amp;gt;]&lt;/P&gt;&lt;P&gt;        show running-config [all] static [&amp;lt;mapped_ip&amp;gt;]&lt;/P&gt;&lt;P&gt;        clear configure static&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Mar 2019 16:05:59 GMT</pubDate>
    <dc:creator>yuchenglai</dc:creator>
    <dc:date>2019-03-11T16:05:59Z</dc:date>
    <item>
      <title>policy static nat question / Error in Cisco's configuration guide?</title>
      <link>https://community.cisco.com/t5/network-security/policy-static-nat-question-error-in-cisco-s-configuration-guide/m-p/1303890#M828200</link>
      <description>&lt;P&gt;I implemented a policy static nat identical to the following example that is listed in page 12-13 of the Firewall Services Module config guide.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hostname(config)# access-list NET1 permit ip 10.1.2.0 255.255.255.224 209.165.201.0 255.255.255.224&lt;/P&gt;&lt;P&gt;hostname(config)# static (inside,outside) 209.165.202.129 access-list NET1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I get the following error message when I enter my similar configuration into my firewall:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;global address overlaps with mask&lt;/P&gt;&lt;P&gt;Usage: [no] static [(real_ifc, mapped_ifc)]&lt;/P&gt;&lt;P&gt;                {&amp;lt;mapped_ip&amp;gt;|interface}&lt;/P&gt;&lt;P&gt;                {&amp;lt;real_ip&amp;gt; [netmask &amp;lt;mask&amp;gt;]} | {access-list &amp;lt;acl_name&amp;gt;}&lt;/P&gt;&lt;P&gt;                [dns]&lt;/P&gt;&lt;P&gt;                [[tcp] &amp;lt;max_conns&amp;gt; [&amp;lt;emb_lim&amp;gt; [&amp;lt;norandomseq&amp;gt; [nailed]]]]&lt;/P&gt;&lt;P&gt;                [udp &amp;lt;max_conns&amp;gt;]&lt;/P&gt;&lt;P&gt;        [no] static [(real_ifc, mapped_ifc)] {tcp|udp}&lt;/P&gt;&lt;P&gt;                {&amp;lt;mapped_ip&amp;gt;|interface} &amp;lt;mapped_port&amp;gt;&lt;/P&gt;&lt;P&gt;                {&amp;lt;real_ip&amp;gt; &amp;lt;real_port&amp;gt; [netmask &amp;lt;mask&amp;gt;]} |&lt;/P&gt;&lt;P&gt;                {access-list &amp;lt;acl_name&amp;gt;}&lt;/P&gt;&lt;P&gt;                [dns]&lt;/P&gt;&lt;P&gt;                [[tcp] &amp;lt;max_conns&amp;gt; [&amp;lt;emb_lim&amp;gt; [&amp;lt;norandomseq&amp;gt; [nailed]]]]&lt;/P&gt;&lt;P&gt;                [udp &amp;lt;max_conns&amp;gt;]&lt;/P&gt;&lt;P&gt;        show running-config [all] static [&amp;lt;mapped_ip&amp;gt;]&lt;/P&gt;&lt;P&gt;        clear configure static&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 16:05:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/policy-static-nat-question-error-in-cisco-s-configuration-guide/m-p/1303890#M828200</guid>
      <dc:creator>yuchenglai</dc:creator>
      <dc:date>2019-03-11T16:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: policy static nat question / Error in Cisco's configuration</title>
      <link>https://community.cisco.com/t5/network-security/policy-static-nat-question-error-in-cisco-s-configuration-guide/m-p/1303891#M828224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also receive the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: access-list used in static has different local addresses&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2009 19:55:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/policy-static-nat-question-error-in-cisco-s-configuration-guide/m-p/1303891#M828224</guid>
      <dc:creator>yuchenglai</dc:creator>
      <dc:date>2009-08-13T19:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: policy static nat question / Error in Cisco's configuration</title>
      <link>https://community.cisco.com/t5/network-security/policy-static-nat-question-error-in-cisco-s-configuration-guide/m-p/1303892#M828233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess what i'm trying to accomplish is trying to do PAT overload on Policy Static NAT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2009 19:56:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/policy-static-nat-question-error-in-cisco-s-configuration-guide/m-p/1303892#M828233</guid>
      <dc:creator>yuchenglai</dc:creator>
      <dc:date>2009-08-13T19:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: policy static nat question / Error in Cisco's configuration</title>
      <link>https://community.cisco.com/t5/network-security/policy-static-nat-question-error-in-cisco-s-configuration-guide/m-p/1303893#M828265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hostname(config)# access-list NET1 permit ip 10.1.2.0 255.255.255.224 209.165.201.0 255.255.255.224&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hostname(config)# nat (inside) 2 access-list NET1&lt;/P&gt;&lt;P&gt;hostname(config)# global (outside) 2 209.165.202.129 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above is assuming that &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) 10.1.2.0/24 is on the inside&lt;/P&gt;&lt;P&gt;2) 209.165.201/0/24 is reachable via the outside address&lt;/P&gt;&lt;P&gt;3) You want to PAT all 10.1.2.x addresses to 209.165.202.129 when the destination IP addresses are in the range 209.165.201.0/24&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2009 20:07:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/policy-static-nat-question-error-in-cisco-s-configuration-guide/m-p/1303893#M828265</guid>
      <dc:creator>Jon Marshall</dc:creator>
      <dc:date>2009-08-13T20:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: policy static nat question / Error in Cisco's configuration</title>
      <link>https://community.cisco.com/t5/network-security/policy-static-nat-question-error-in-cisco-s-configuration-guide/m-p/1303894#M828284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To further answer your initial question, the 'global address overlaps with mask' command, these types of error messages imply that you are trying to NAT a high number of hosts to an unequal number of IP addresses.  In this case, the original access-list leverages an access-list containing 30 possible host IP addresses which must map to a single given IP address.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2009 01:04:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/policy-static-nat-question-error-in-cisco-s-configuration-guide/m-p/1303894#M828284</guid>
      <dc:creator>Kevin Redmon</dc:creator>
      <dc:date>2009-08-14T01:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: policy static nat question / Error in Cisco's configuration</title>
      <link>https://community.cisco.com/t5/network-security/policy-static-nat-question-error-in-cisco-s-configuration-guide/m-p/1303895#M828293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is correct.&lt;/P&gt;&lt;P&gt;I have been trying to NAT more than one address to a single address by using static policy NAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list FOR_XLATE extended permit ip host x any&lt;/P&gt;&lt;P&gt;access-list FOR_XLATE extended permit ip host y any&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static (inside,outside) a.a.a.a access-list FOR_XLATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I enter the above configurations into my FWSM, I now get the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: access-list used in static has different local addresses&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not get the above error when the configuration I enter config to NAT one address to one IP address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list FOR_XLATE extended permit ip host x any&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static (inside,outside) a.a.a.a access-list FOR_XLATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is all fine and good, but the above behavior for the two configurations on my FWSM seems to contradict page 12-13 of the FWSM config guide which provided an example that implies it's possible to NAT more than one address to a single address using Policy Static NAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could be going on?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2009 13:44:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/policy-static-nat-question-error-in-cisco-s-configuration-guide/m-p/1303895#M828293</guid>
      <dc:creator>yuchenglai</dc:creator>
      <dc:date>2009-08-14T13:44:58Z</dc:date>
    </item>
    <item>
      <title>For the above scenario what I</title>
      <link>https://community.cisco.com/t5/network-security/policy-static-nat-question-error-in-cisco-s-configuration-guide/m-p/1303896#M828301</link>
      <description>&lt;P&gt;For the above scenario what I think you are trying to do is to configure static NAT for two different IP host&amp;nbsp;(x and y) to a single mapped IP (a.a.a.a) and you are getting below error.&lt;/P&gt;
&lt;P&gt;ERROR: access-list used in static has &lt;SPAN style="font-size: 18pt;"&gt;&lt;STRONG&gt;different local addresses&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Firewall is intelligent enough to tell us that this setup will not work since static NAT is bi-directional.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For ex: if client&amp;nbsp;on external network tries to access our mapped IP (a.a.a.a), firewall cannot UN-NAT to two different internal IP&amp;nbsp;(x and y) hence it does not allow us to configure with two different IP&amp;nbsp;to single IP address in the first place.&lt;/P&gt;
&lt;P&gt;If you try the same configuration with single network in acl to a mapped IP you will not have any error.&lt;/P&gt;
&lt;P&gt;Extract from cisco site&lt;/P&gt;
&lt;P&gt;&amp;nbsp;http://www.cisco.com/c/en/us/td/docs/security/asa/asa82/configuration/guide/config/nat_overview.html&lt;/P&gt;
&lt;P&gt;For policy static NAT (and for NAT exemption, which also uses an access list to identify traffic), you can initiate traffic to and from the real host. However, the destination address in the access list is only used for traffic initiated by the real host. For traffic to the real host from the destination network, the source address is not checked, and the first matching NAT rule for the real host address is used. So if you configure static policy NAT such as the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;hostname(config)# access-list NET1 permit ip 10.1.2.0 255.255.255.224 209.165.201.0 255.255.255.224&lt;/P&gt;
&lt;P&gt;&amp;nbsp;hostname(config)# static (inside,outside) 209.165.202.128 access-list NET1&lt;/P&gt;
&lt;P&gt;Then when hosts on the 10.1.2.0/27 network access 209.165.201.0/24, they are translated to corresponding addresses on the 209.165.202.128/27 network. But any host on the outside can access the mapped addresses 209.165.202.128/27, and not just hosts on the 209.165.201.0/24 network.&lt;/P&gt;
&lt;P&gt;For the same reason (the source address is not checked for traffic to the real host), you cannot use policy static NAT to translate different real addresses to the same mapped address. For example, two inside hosts, 10.1.1.1 and 10.1.1.2, that you want to be translated to 209.165.200.225. When outside host 209.165.201.1 connects to 209.165.200.225, then the connection goes to 10.1.1.1. When outside host 209.165.201.2 connects to the same mapped address, 209.165.200.225, you want the connection to go to 10.1.1.2. However, because the destination address in the access list is not checked for traffic to the real host, then the first ACE that matches the real host is used. Since the first ACE is for 10.1.1.1, then all inbound connections sourced from 209.165.201.1 and 209.165.201.2 and destined to 209.165.200.255 will have their destination address translated to 10.1.1.1.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2016 12:17:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/policy-static-nat-question-error-in-cisco-s-configuration-guide/m-p/1303896#M828301</guid>
      <dc:creator>nandau1082</dc:creator>
      <dc:date>2016-02-09T12:17:52Z</dc:date>
    </item>
  </channel>
</rss>

