Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

NAT on Cisco ASA

Posted on 2014-02-17
4
Medium Priority
?
565 Views
Last Modified: 2014-02-18
HI

I have to nat entries on my asa firewall.

Nat (inside,outside) source static pc_01 interface
Nat (inside,outside) source static pc_02

Object network pc_01
host 192.168.1.1
Object network pc_02
host 192.168.1.2

Only one nat entire works at a time basically the first entry.
How can I make both work?
0
Comment
Question by:ciscosupp
  • 2
  • 2
4 Comments
 
LVL 9

Expert Comment

by:ffleisma
ID: 39866196
basically you are statically NATing pc_01 to outside interface IP, which is one is to one NAT translation. that is why the second one is not working. use dynamic NAT

Try the following:

no nat (inside,outside) source static pc_01 interface
no nat (inside,outside) source static pc_02

nat (inside,outside) source dynamic pc_01 interface
nat (inside,outside) source dynamic pc_02 interface
0
 

Author Comment

by:ciscosupp
ID: 39866496
Thanks it works but does the Nat statement still mean only 192.168.1.1 and 192.168.1.2 is nated to outside. Please advice
0
 
LVL 9

Accepted Solution

by:
ffleisma earned 2000 total points
ID: 39866979
yes it means, only both 192.168.1.1 and 192.168.1.2 are NATed to the ouside interface IP.

If you need the entire subnet 192.168.1.x/24, it would look something like this.

object network obj_192.168.1.0-24
 subnet 192.168.1.0 255.255.255.0

nat (inside,outside) source dynamic obj_192.168.1.0-24 interface

let me know if this helps or if you need something different.
0
 

Author Closing Comment

by:ciscosupp
ID: 39867008
thanks perfect :-)
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let’s face it: one of the reasons your organization chose a SaaS solution (whether Microsoft Dynamics 365, Netsuite or SAP) is that it is subscription-based. The upkeep is done. Or so you think.
As managed cloud service providers, we often get asked to intervene when cloud deployments go awry. Attracted by apparent ease-of-use, flexibility and low computing costs, companies quickly adopt leading public cloud platforms such as Amazon Web Ser…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question