<?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 yes, the syntax a bit in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/autonat-and-manualnat-question/m-p/2692347#M191280</link>
    <description>&lt;P&gt;Yes, the syntax a bit confusing ...&lt;/P&gt;
&lt;P&gt;You configure the nat-rule in object-mode, but use the syntax for manual nat. Because of that, the nat rule is placed into section 1.&lt;/P&gt;
&lt;P&gt;If you want it to be an object-nat rule, you can't use the keyword "source" as object-nat is always source-nat:&lt;/P&gt;

&lt;PRE&gt;
object network 10-10-3-0
  nat (inside,outside) dynamic ...&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can see the difference with the interactive help:&lt;/P&gt;

&lt;PRE&gt;
asa(config-network-object)# nat (inside,outside) ?

network-object mode commands/options:
  dynamic  Specify NAT type as dynamic
  static   Specify NAT type as static

configure mode commands/options:
  &amp;lt;1-2147483647&amp;gt;  Position of NAT rule within before auto section
  after-auto      Insert NAT rule after auto section
  source          Source NAT parameters
asa(config-network-object)# nat (inside,outside)
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Only if you use the "network-object" keywords, you configure object-nat. If you use the "configure mode" keywords, it will be a manual nat-rule.&lt;/P&gt;</description>
    <pubDate>Sat, 23 May 2015 16:53:32 GMT</pubDate>
    <dc:creator>Karsten Iwen</dc:creator>
    <dc:date>2015-05-23T16:53:32Z</dc:date>
    <item>
      <title>AutoNAT and ManualNAT question</title>
      <link>https://community.cisco.com/t5/network-security/autonat-and-manualnat-question/m-p/2692346#M191279</link>
      <description>&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;Hello,&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;Ive been trying to get a better understanding of Auto NAT (objectNAT) and Manual NAT by configuring it on an ASA.&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;I noticed that if I configure AutoNAT (object NAT) as below the NAT rule appears in section 2 Auto NAT.&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;ciscoasa(config-network-object)# sh run object&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;&lt;SPAN style="color:#0000CD;"&gt;object network pat-pool-100-110*******PAT Pool config******&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;&lt;SPAN style="color:#0000CD;"&gt;&amp;nbsp;range 10.10.10.100 10.10.10.110&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87); min-height: 17px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;&lt;SPAN style="color:#008000;"&gt;object network 10-10-3-0*******Source Subnet config******&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;&lt;SPAN style="color:#008000;"&gt;&amp;nbsp;subnet 10.10.3.0 255.255.255.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(17, 5, 59);"&gt;&lt;SPAN style="color:#006400;"&gt;ciscoasa(config)# object network 10-10-3-0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;ciscoasa(config-network-object)#&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;ciscoasa(config-network-object)# nat dynamic &lt;SPAN style="color:#0000CD;"&gt;pat-pool-100-110&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87); min-height: 17px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;ciscoasa(config-network-object)# sh nat&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;&lt;SPAN style="color:#FF0000;"&gt;&lt;STRONG&gt;Auto NAT Policies (Section 2)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;1 (any) to (any) source dynamic 10-10-3-0 pat-pool-100-110 &amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;&amp;nbsp; &amp;nbsp; translate_hits = 0, untranslate_hits = 0&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;ciscoasa(config-network-object)#&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;The above result is what Id expect from the applied configuration.&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;However if I try and configure Auto NAT (objectNAT) as below and specify the interfaces the NAT rule is placed in&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;section 1 (manual NAT). Just wondering if this is expected behavior or if Im not configuring something correctly?&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;I was thinking this should show up in section 2 also.&lt;/P&gt;&lt;/DIV&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87); min-height: 17px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(17, 5, 59);"&gt;ciscoasa(config)# object network 10-10-3-0&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;ciscoasa(config-network-object)#nat (inside,outside) source dynamic 10-10-3-0 pat-pool-100-110&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;ciscoasa(config-network-object)# sh nat&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;&lt;STRONG&gt;&lt;SPAN style="color:#FF0000;"&gt;Manual NAT Policies (Section 1)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;1 (inside) to (outside) source dynamic 10-10-3-0 pat-pool-100-110 &amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;&amp;nbsp; &amp;nbsp; translate_hits = 0, untranslate_hits = 0&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;Any guidance would be appreciated.&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;Thanks&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;Andy&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87); min-height: 17px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87); min-height: 17px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87); min-height: 17px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87);"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87); min-height: 17px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(0, 30, 87); min-height: 17px;"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 05:59:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/autonat-and-manualnat-question/m-p/2692346#M191279</guid>
      <dc:creator>networkwise</dc:creator>
      <dc:date>2019-03-12T05:59:20Z</dc:date>
    </item>
    <item>
      <title>yes, the syntax a bit</title>
      <link>https://community.cisco.com/t5/network-security/autonat-and-manualnat-question/m-p/2692347#M191280</link>
      <description>&lt;P&gt;Yes, the syntax a bit confusing ...&lt;/P&gt;
&lt;P&gt;You configure the nat-rule in object-mode, but use the syntax for manual nat. Because of that, the nat rule is placed into section 1.&lt;/P&gt;
&lt;P&gt;If you want it to be an object-nat rule, you can't use the keyword "source" as object-nat is always source-nat:&lt;/P&gt;

&lt;PRE&gt;
object network 10-10-3-0
  nat (inside,outside) dynamic ...&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can see the difference with the interactive help:&lt;/P&gt;

&lt;PRE&gt;
asa(config-network-object)# nat (inside,outside) ?

network-object mode commands/options:
  dynamic  Specify NAT type as dynamic
  static   Specify NAT type as static

configure mode commands/options:
  &amp;lt;1-2147483647&amp;gt;  Position of NAT rule within before auto section
  after-auto      Insert NAT rule after auto section
  source          Source NAT parameters
asa(config-network-object)# nat (inside,outside)
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Only if you use the "network-object" keywords, you configure object-nat. If you use the "configure mode" keywords, it will be a manual nat-rule.&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2015 16:53:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/autonat-and-manualnat-question/m-p/2692347#M191280</guid>
      <dc:creator>Karsten Iwen</dc:creator>
      <dc:date>2015-05-23T16:53:32Z</dc:date>
    </item>
    <item>
      <title>Thanks Karsten,That was it.</title>
      <link>https://community.cisco.com/t5/network-security/autonat-and-manualnat-question/m-p/2692348#M191281</link>
      <description>&lt;P&gt;Thanks Karsten,&lt;/P&gt;&lt;P&gt;That was it. When I added the word dynamic after the(inside,outside) then the nat rule was added to section 2.&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2015 17:46:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/autonat-and-manualnat-question/m-p/2692348#M191281</guid>
      <dc:creator>networkwise</dc:creator>
      <dc:date>2015-05-23T17:46:04Z</dc:date>
    </item>
  </channel>
</rss>

