Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Static NAT Help

Status
Not open for further replies.

ccnguy

Technical User
Sep 1, 2002
40
US
I have 3 private addresses on 1 side of my nat router and 3 private addresses on the other side. I want to configure static nat on both sides of the router(nat going to inside and then nat going back again through router). Is this possible and what are the commands to achieve this?

Thanks
 
With such little information, I can only assume that you're doing translation from inside to outside based on source addresses:

ip nat inside source static a.b.c.d e.f.g.h

In this case the inside address a.b.c.d will be translated to the outside address e.f.g.h.

Of course you'll have to define which interface is inside and which one is outside:

interface s0
ip nat outside
!
interface f0
ip nat inside
!

In this case int s0 is NAT outside, while int f0 is NAT inside.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top