cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1061
Views
0
Helpful
7
Replies

NAT/PAT question

startx001
Level 1
Level 1

Hi, 

How to nat all ip's from lan to one public for access to internet?

Is command correct without "pat-pool" ? . i dont want to get exhausted message. 

ASA version 9.10

 

object network obj-public

 host 5.5.5.5

object network obj-lan

  subnet 10.10.10.0 255.255.255.0

 nat (inside,outside) dynamic obj-public

 

OR i need to add command "pat-pool"

object network obj-lan

  subnet 10.10.10.0 255.255.255.0

 nat (inside,outside) dynamic pat-pool obj-public

 

 

 

7 Replies 7

balaji.bandi
Hall of Fame
Hall of Fame

As per my understand you looking to NAT from inside LAN IP pool to go out using 1 Public IP ?

 

if yes then you need NAT.

 

or

 

If you looking from Internet  access you local resource using 1 Public IP, then you need PAT here. (for many different ports to be mapped).

 

if this is not the case more clarify required here.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Loacl lan to access to internet using one public ip.

you already object group :

 

nat (inside,outside) source dynamic obj-lan obj-public

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hi,
Use the syntax below to NAT LAN subnet "obj-lan" behind the "obj-public" IP address:-

 

nat (inside,outside) source dynamic obj-lan obj-public

 

HTH

but its same like nat under object, right?

 

object network obj-lan

  subnet 10.10.10.0 255.255.255.0

 nat (inside,outside) dynamic obj-public

Ok, yes you can of course define the NAT under the object "obj-lan" that would also work.

agreed with @Rob Ingram  

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card