Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

General Configuration

How To enable NAT/PAT on your Cisco IOS router by baddos
Posted: 22 Jul 03

To enable NAT on your IOS powered Cisco router, follow these simple steps.

1.) Identify your outside (public) interface. This interface is usually a serial interface, dialer interface, or another ethernet interface.

2.) Identify your inside (private) interface. This is usually ethernet0/0 or fastethernet0/0.

3.) Specify what IP netblock you want to NAT or NAT all subnets.

4.) Enter the configuration and test.


In this example, we use serial0/0 for the "outside" interface and ethernet0/0 for the "inside" interface. We also NAT every IP subnet from the "inside" interface.

! Goto your "outside" interface and tell it how to NAT
interface serial0/0
   ip nat outside
! Goto your "inside" interface and tell it how to NAT
interface ethernet0/0
   ip nat inside
! Build an Access-List to tell the router what subnets to block.
access-list 101 permit ip any any
! Tell the router to use the new Access-List and to NAT using PAT
ip nat inside source list 101 interface Serial0/0 overload
copy running-config startup-config

Now you are setup to access the Internet with your internal subnets.

Back to Cisco FAQ Index
Back to Cisco Forum

My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close