Simple NAT Problem

Hi experts,

This is going to be a simple NAT query but I can't seem to get my heard around the ASA/IOS NAT syntax (I'm a Cisco noob) so apologies in advance.

I have an ASA 5510 with two interfaces configured (outside addresses omitted):

Outside_DSL: <outside address>/29

Basically I want to NAT inside traffic to the outside address. I thought the following command would do this:  

static (inside, outside_dsl) <outside_address> netmask 0 0

I was wrong - I get an error "global address overlaps with mask".

I'm pretty sure this is relating to a gap in my Cisco knowledge so any help would be much appreciated.


Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

csuogAuthor Commented:
Its suddenly dawned on me... do I actually need any NAT rules or do I just need to adjust my routing table to route traffic from the inside interface to the ouside_dsl interface?

I'm so confused! :-(
You do need nat, as i assume the adsl connects to the WWW, and the 10.x.x.x range is not valid on the internet.

Outside_DSL: <outside address>/29

With Cisco it is better to mark all interfaces as either inside or outside.
interface FastEthernet0/0
      ip nat inside

interface DSL0
      ip nat outside

ip nat inside source static

ip nat inside source overload interface DSL0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.