<?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 Re: Adding public IPs in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/adding-public-ips/m-p/2174601#M360972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you JounioForss for this great explanation, I apprecicate your help on this.We would want to split the /24 to be used for some hosts on the dmz, most of the time we just assign private ip addresses on dmz. Let me ask, where exactly are we assigning the public L3 address on ASA if we do this public-private translation? or do we just need to specify it on network object - host statement ? so that when the ASA sees a packet with a destination of 1.1.1.3 would know that it needs to do something with it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say I need to enable this host to talk to the world on port 80.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Public Network range: 1.1.1.0/24 (public) ISP given to us&lt;/P&gt;&lt;P&gt;Host Public IP: 1.1.1.3&lt;/P&gt;&lt;P&gt;Host Private IP: 10.10.10.3 (dmz)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once again thanks for explaing this&lt;/P&gt;&lt;P&gt;Delmiro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 03 Mar 2013 21:53:42 GMT</pubDate>
    <dc:creator>Delmiro Campelo</dc:creator>
    <dc:date>2013-03-03T21:53:42Z</dc:date>
    <item>
      <title>Adding public IPs</title>
      <link>https://community.cisco.com/t5/network-security/adding-public-ips/m-p/2174599#M360969</link>
      <description>&lt;P&gt;we have a /24 range of public IP addresses assigned to us by our ISP, what would be the process of assigning multiple public addresses on the outside interface on cisco asa running os version is 9.1 ? we have an outside, inside, and dmz interface. what command/s would acommplish this? server hosting services to the world are on the dmz, so traffic would need to be natted also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delmiro&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 01:08:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/adding-public-ips/m-p/2174599#M360969</guid>
      <dc:creator>Delmiro Campelo</dc:creator>
      <dc:date>2019-03-12T01:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Adding public IPs</title>
      <link>https://community.cisco.com/t5/network-security/adding-public-ips/m-p/2174600#M360970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All this depends on how you are planning on using this /24 public network.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Is this whole network going to be used between your ASA and the ISP gateway?&lt;/LI&gt;&lt;LI&gt;Do you want to perhaps split the /24 to smaller segment?&amp;nbsp; &lt;UL&gt;&lt;LI&gt;Keeping part of the segment between the ASA and ISP AND dedicating part of it to the DMZ directly so servers are configured with public IP addresses and have no need for NAT on the ASA. (Especially usefull when LAN hosts need connectivity to the servers also and you want to use the same public IP address that the Internet users get with DNS querys)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To give you some examples of the configurations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NAT Pool + PAT Overload&lt;/STRONG&gt; (Using separate IP)&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Using a NAT Pool and separate IP address as the PAT overload address&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network SOURCE-NETWORKS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; network-object 10.10.10.0 255.255.255.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; network-object 192.168.10.0 255.255.255.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object network PAT-ADDRESS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; host 1.1.1.126&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object network NAT-POOL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; range 1.1.1.2 1.1.1.125&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network NAT-POOL+PAT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; network-object object NAT-POOL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; network-object object PAT-ADDRESS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;nat (any,outside) after-auto source dynamic SOURCE-NETWORKS NAT-POOL+PAT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NAT Pool + PAT Overload&lt;/STRONG&gt; (using "outside" IP)&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Using a NAT Pool and "outside" interface IP address as the PAT overload address&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network SOURCE-NETWORKS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; network-object 10.10.10.0 255.255.255.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; network-object 192.168.10.0 255.255.255.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object network NAT-POOL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; range 1.1.1.2 1.1.1.126&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;nat (any,outside) after-auto source dynamic SOURCE-NETWORKS NAT-POOL interface&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In the above scenarios&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;10.10.10.0/24&lt;/STRONG&gt; = Example LAN network&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;192.168.10.0/24&lt;/STRONG&gt; = Example DMZ network&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;1.1.1.0/24&lt;/STRONG&gt; = Example public network&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;SOURCE-NETWORKS&lt;/STRONG&gt; = An "object-group" that groups the 2 above mentioned networks into one group for easier NAT configuration.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;NAT-POOL&lt;/STRONG&gt; = An "object network" that contains the range of IP addresses used for the NAT Pool configuration. Can be any range you want naturally&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;nat&lt;/STRONG&gt; = Is the actual NAT configuration line&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;(any,outside)&lt;/STRONG&gt; = Makes it possible to use "any" source interface for the NAT (In this case both "inside" and "dmz" can use this configuration line)&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;after-auto&lt;/STRONG&gt; = Moves this NAT configuration to the last section (Section 3) of the NAT rules so it doesnt override some other NAT configurations you might be doing&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;SOURCE-NETWORKS&lt;/STRONG&gt; = Uses our previously configured "object-group" to define the source address for which NAT is done.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;NAT-POOL&lt;/STRONG&gt; = Uses our previously configured "object network" to define the NAT Pool&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;PAT-ADDRESS&lt;/STRONG&gt; = Defines the PAT IP address IF we dont use the configuration using the "interface" parameter&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;NAT-POOL+PAT&lt;/STRONG&gt; = Is an "object-group" that groups the NAT Pool and PAT address to a single "object-group" for the actual NAT configuration&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;interface&lt;/STRONG&gt; = Defines that the "outside" interface IP address is used as a PAT overload IP address when the NAT Pool runs out&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above examples we only use half of the /24 public network for the NAT Pool + PAT address. Rest of the IP addresses could for example be used as Static NAT address for either "inside" and/or "dmz" interface hosts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I mentioned you naturally have the option that you configure a /25 network between your ASA and your ISP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;interface GigabitEthernet0/0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; description WAN&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; nameif outside&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; security-level 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; ip add 1.1.1.1 255.255.255.128&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the ISP will route the 1.1.1.128/25 towards your "outside" interface IP address&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could then for example use part of that network directly at "dmz" interface and the rest as Static NAT addresses on the "outside" of your ASA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;DMZ = 1.1.1.128/26&lt;/LI&gt;&lt;LI&gt;Static NAT = 1.1.1.192/26&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;interface GigabitEthernet0/2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; description DMZ&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; nameif dmz&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; security-level 50&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; ip add 1.1.1.129 255.255.255.192&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Not sure if I wrote the information above clearly enough. If the information was helpfull please rate &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.cisco.com/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; If it answered your question mark the question as answered. Naturally if you have more questions and want to clarify something, please ask more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Jouni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Mar 2013 15:29:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/adding-public-ips/m-p/2174600#M360970</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2013-03-03T15:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Adding public IPs</title>
      <link>https://community.cisco.com/t5/network-security/adding-public-ips/m-p/2174601#M360972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you JounioForss for this great explanation, I apprecicate your help on this.We would want to split the /24 to be used for some hosts on the dmz, most of the time we just assign private ip addresses on dmz. Let me ask, where exactly are we assigning the public L3 address on ASA if we do this public-private translation? or do we just need to specify it on network object - host statement ? so that when the ASA sees a packet with a destination of 1.1.1.3 would know that it needs to do something with it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say I need to enable this host to talk to the world on port 80.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Public Network range: 1.1.1.0/24 (public) ISP given to us&lt;/P&gt;&lt;P&gt;Host Public IP: 1.1.1.3&lt;/P&gt;&lt;P&gt;Host Private IP: 10.10.10.3 (dmz)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once again thanks for explaing this&lt;/P&gt;&lt;P&gt;Delmiro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Mar 2013 21:53:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/adding-public-ips/m-p/2174601#M360972</guid>
      <dc:creator>Delmiro Campelo</dc:creator>
      <dc:date>2013-03-03T21:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Adding public IPs</title>
      <link>https://community.cisco.com/t5/network-security/adding-public-ips/m-p/2174602#M360974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The simple Static NAT configuration for an internal host would be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object network STATIC&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; host 10.10.10.3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; nat (dmz,outside) static 1.1.1.3 dns&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;STATIC&lt;/STRONG&gt; = Is the name of the "object network". Can be anything you like. Try to come up with a good naming policy to serve your needs&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;host 10.10.10.3&lt;/STRONG&gt; = This defines the IP address under the "network object". In this case since we configure Static NAT under the "object network" too it naturally defines the real IP address for the Static NAT&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;(dmz,outside)&lt;/STRONG&gt; = Defines the interfaces between which the Static NAT is done&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;1.1.1.3&lt;/STRONG&gt; = Is the public IP address used for the Static NAT&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above is naturally considering you want to use private IP addresses for the internal hosts and just use the public IP addresses as NAT addresses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other option that I suggested was to configure the DMZ hosts with the public IP addresses straight. But that naturally requires both you and your ISP to configure the setup in a different way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ASA to ISP would be 1.1.1.0/25&lt;/LI&gt;&lt;LI&gt;ASA "dmz" would be 1.1.1.128/26&lt;/LI&gt;&lt;LI&gt;ASA "outside" Static NAT range would be 1.1.1.192/26&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words the ASA to ISP link would use half of the /24 network (/25)&amp;nbsp; for NAT Pool / PAT / purposes. DMZ would hold /26 block and another /26 block would be reserved for Static NAT use (other interfaces than DMZ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From a routing perspective the ISP would naturally configure the 1.1.1.0/25 on the link towards ASA. The ISP would also route the 1.1.1.128/25 towards your ASA (or route 1.1.1.128/26 and 1.1.1.192/26 towards ASA)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can go with any setup that suites you best.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please rate the replys if you have found the information helpfull &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.cisco.com/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Jouni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Mar 2013 22:05:10 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/adding-public-ips/m-p/2174602#M360974</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2013-03-03T22:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Adding public IPs</title>
      <link>https://community.cisco.com/t5/network-security/adding-public-ips/m-p/2174603#M360976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it makes perfect sense now, this is very helpful, thank you JouniForss&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Mar 2013 23:05:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/adding-public-ips/m-p/2174603#M360976</guid>
      <dc:creator>Delmiro Campelo</dc:creator>
      <dc:date>2013-03-03T23:05:21Z</dc:date>
    </item>
  </channel>
</rss>

