Advertisement

04.17.2008 at 06:43AM PDT, ID: 23330783
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.7

Static NAT and ACL configuration problem

Asked by vturba in Network Routers, Cisco PIX Firewall

Tags: , ,

Hi,
I want to configure static NAT and ACL on the cisco ASA 5505. I work with different public IP's (range *.*.*.160 - *.*.*.166 / 255.255.255.248

I have given the following commands

static (inside,outside) *.*.*..163 192.168.0.4 netmask 255.255.255.255
static (inside,outside) *.*.*..164 192.168.0.4 netmask 255.255.255.255
static (inside,outside) *.*.*..164 192.168.0.1 netmask 255.255.255.255
static (inside,outside) *.*.*..164 192.168.0.12 netmask 255.255.255.255
static (inside,outside) *.*.*..166 192.168.0.2 netmask 255.255.255.255
access-list access_outside_in extended permit tcp any host *.*.*.163 eq smtp
access-list access_outside_in extended permit tcp any host *.*.*.164 eq www
access-list access_outside_in extended permit tcp any host *.*.*.164 eq https
access-list access_outside_in extended permit tcp any host *.*.*.164 eq ftp
access-list access_outside_in extended permit tcp any host *.*.*.164 eq www
access-list access_outside_in extended permit tcp any host *.*.*.164 eq 3389
access-list access_outside_in extended permit tcp any host *.*.*.166 eq www
access-list access_outside_in extended permit tcp any host *.*.*.166 eq 3389
wr m
 

Now the following problems occur  (Two static NAT's are seen as duplicates. What did I do wrong???);

Result of the command: "static (inside,outside) *.*.*.164 192.168.0.4 netmask 255.255.255.255"

ERROR: duplicate of existing static
  inside:192.168.0.4 to outside:*.*.*.163 netmask 255.255.255.255
Usage: [no] static [(real_ifc, mapped_ifc)]
            {<mapped_ip>|interface}
            {<real_ip> [netmask <mask>]} | {access-list <acl_name>}
            [dns]
            [[tcp] <max_conns> [<emb_lim> [<norandomseq> [nailed]]]]
            [udp <max_conns>]
      [no] static [(real_ifc, mapped_ifc)] {tcp|udp}
            {<mapped_ip>|interface} <mapped_port>
            {<real_ip> <real_port> [netmask <mask>]} |
            {access-list <acl_name>}
            [dns]
            [[tcp] <max_conns> [<emb_lim> [<norandomseq> [nailed]]]]
            [udp <max_conns>]
      show running-config [all] static [<mapped_ip>]
      clear configure static


Result of the command: "static (inside,outside) *.*.*.164 192.168.0.1 netmask 255.255.255.255"

The command has been sent to the device


Result of the command: "static (inside,outside) *.*.*.164 192.168.0.12 netmask 255.255.255.255"

ERROR: mapped-address conflict with existing static
  inside:192.168.0.1 to outside:*.*.*..164 netmask 255.255.255.255
Usage: [no] static [(real_ifc, mapped_ifc)]
            {<mapped_ip>|interface}
            {<real_ip> [netmask <mask>]} | {access-list <acl_name>}
            [dns]
            [[tcp] <max_conns> [<emb_lim> [<norandomseq> [nailed]]]]
            [udp <max_conns>]
      [no] static [(real_ifc, mapped_ifc)] {tcp|udp}
            {<mapped_ip>|interface} <mapped_port>
            {<real_ip> <real_port> [netmask <mask>]} |
            {access-list <acl_name>}
            [dns]
            [[tcp] <max_conns> [<emb_lim> [<norandomseq> [nailed]]]]
            [udp <max_conns>]
      show running-config [all] static [<mapped_ip>]
      clear configure static



Start Free Trial
[+][-]04.17.2008 at 06:53AM PDT, ID: 21377028

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.17.2008 at 07:19AM PDT, ID: 21377337

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.17.2008 at 07:33AM PDT, ID: 21377499

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.17.2008 at 07:42AM PDT, ID: 21377593

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.17.2008 at 07:43AM PDT, ID: 21377608

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.17.2008 at 07:53AM PDT, ID: 21377718

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.17.2008 at 07:56AM PDT, ID: 21377754

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.17.2008 at 08:01AM PDT, ID: 21377827

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.17.2008 at 01:25PM PDT, ID: 21381000

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.18.2008 at 03:22AM PDT, ID: 21384514

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Network Routers, Cisco PIX Firewall
Tags: Cisco, ASA 5505, 5505
Sign Up Now!
Solution Provided By: danworman
Participating Experts: 3
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628