Article Directory :: Computers & Technology Articles

Configure NAT Using Port Address Translation on a Cisco Router

Copyright © 2012 Don R. Crawley

Subscribe to Don R. Crawley's RSS feed using any feed reader!

Republish: EasyPublish
Published: 05Mar2008
Word count: 459
Viewed: 1993 time(s)
Bookmark this article using any bookmark manager!
Get Free Content For Your Site

Network Address Translation, better known simply as NAT, allows an outside address to represent a single or many inside addresses. There are several forms of NAT, but one of the most common is called NAT overloading, Port Address Translation, or simply PAT. PAT provides a many-to-one mapping with many inside private addresses mapped to one outside public address. We often see PAT used in home firewalls and routers to allow several home computers and perhaps a gaming console to use private addresses such as 192.168.1.1-100 and share a single registered public address on the Internet. The process is made possible by appending different port numbers to the source and destination addresses to create a unique connection. Given that there are more than 65,000 port numbers, you'll likely run out of bandwidth or system resources long before running out of translation slots!

Here are the four steps to configuring Port Address Translation (each step starts in configuration mode ("config t"):
1.ᅠ Configure nat on your inside interface:
ᅠᅠᅠᅠ int e0/0
ᅠᅠᅠᅠ ip nat inside
2.ᅠ Configure nat on your outside interface:
ᅠᅠᅠᅠ int e0/1
ᅠᅠᅠᅠ ip nat outside
3.ᅠ Configure an access control list to allow the inside traffic to use NAT:
ᅠᅠᅠ access-list 101 permit ip any any
4.ᅠ Enable NAT overloading (PAT) on the outside interface:
ᅠᅠᅠ ip nat inside source list 101 interface e0/1 overload

In this example, the "ip nat inside" and "ip nat outside" statements are used to tell the router which interface is considered inside and which interface is considered outside for the purpose of NAT. Interface Ethernet 0/0 is inside and Interface Ethernet 0/1 is outside. Your interfaces will probably different, for example you might be configuring "f0/0" or "gigabit 0/1", etc.

The access control list statement tells the router to permit all IP traffic to flow from any source to any destination. The number (101) is simply an ID that must match the number used in the "ip nat" statement. (Note that, in this case, the number must fall between 100 and 199 inclusive.)

The "ip nat insisde source list" statement tells the router which access control list to use to know the traffic to permit (access-list 101), the interface on which NAT will be performed (interface ethernet 0/1) and the form of NAT to perform (overload).

This configuration will allow any host on the inside subnet to share the outside interface for the purpose of going on the Internet. There is no restriction as to the type of traffic, nor are there any restricted hosts. Obviously, this configuration would only be acceptable in a small office or home type of network. Even then, you might want to limit hosts' access to the Internet by creating a more restrictive access control list.

Don R. Crawley, CCNA-certified, is president and chief technologist at soundtraining.net, the Seattle training firm specializing in business skills and technical training for IT professionals. He works with IT pros to enhance their work, lives, and careers. For a free subscription to soundbytes, Don's 60-second e-zine for IT pros with musings, rants, and how-to guides, click here.

Bookmark this article using any bookmark manager! Subscribe to Don R. Crawley's RSS feed using any feed reader!

EasyPublish™ this article - publishers click here

More articles by Don R. Crawley

Free Report!
Ten Essential Secrets Of Article Marketing ... Grab Your Free
Copy
Now:




We respect your privacy.


Need Content?
Regular Top Quality Content for your Blog, Ezine or Website ...
Delivered Direct,
For Free!

Click For Details



Arts & Entertainment
Automotive
Business - General
Computers & Technology
Finance & Investment
Food & Drink
Health & Fitness
Home & Family
Internet Marketing/Online Business
Legal
Pets & Animals
Politics & Government
Reference & Education
Religion & Faith
Self-Improvement/Motivation
Social
Sports & Recreation
Travel & Leisure
Writing & Speaking

More computing articles:

  • Learning More About the Best Place To Register A Domain Name (Hanson Raider)
    Many people have one basic question in mind; where do I register a domain name and how I do it. A lot of people think about which is the best place where they can get their domain registered; they have a lot of questions in mind such as whether they should register their domain with a company or a domain registrar that offers cheap services is a better choice for registering a domain name.

  • Top Cloud Hosting Is The New Choice For Every Business (Hanson Raider)
    Although cloud hosting is a recent phenomenon but all the companies are looking out for best cloud hosting service providers for the amount of benefits it has in store for everybody. The major reason for so many clients being attracted towards cloud hosting of top quality is its cheap cost.

  • Useful Things To Know About Bluehost Hosting (Hanson Raider)
    Before selecting any web hosting provider, there are a number of things you should keep in mind. Firstly, it would be good if you know about the company. Bluehost web hosting is one of the most well celebrated company in the field of web hosting. It is also one of the oldest web hosting companies. In recent times, Bluehost's packages have gone through major changes.

  • Why Shared Hosting Is Perfect For Beginners (Hanson Raider)
    Beginners will find the right hosting when they start looking at different shared hosting reviews of top companies. This allows the beginner to take advantage of lower prices while getting the necesssary hosting for their needs. You can take advantage of discounts from JustHost or another hosting company offering shared hosting if you look in the right places.

  • Where Did I Leave My Web Host (Hanson Raider)
    In this fast paced web surfing world we are left with little to be desired because of all of the many different web sites available to us for research, business, entertainment and even pleasure in some cases. These many varied web sites have become staples in our daily lives and without them most of us would be completely lost.

  • Why Choose Top Green Web Hosting Companies And Not Regular Hosts? (Hanson Raider)
    The concept of green hosting has evolved overtime and an increasing number of people are now opting green web hosts to provide services to their websites. Since there has been an increasing preference of users for green web hosts, there are many top green hosting providers that have emerged overtime.

  • Why HostingMetro.Com Is A Good Choice? (Hanson Raider)
    Hosting services metro is one of the top web hosting services provider for all those individuals and entities trying to enter the online world. The company guarantees 99.9% uptime that very few hosts are offering currently. In order to achieve this milestone the firm has been working very hard along with its team

  • Why Should One Choose Fat Cow Hosting? (Hanson Raider)
    Choosing a web hosting provider becomes a daunting task, considering that there are so many options available in the market today. The competition is tight and with so many companies operating in the market today, one finds it difficult to choose a web hosting company and avail its services for their website. However, the task may become simpler if one only took out the top three companies operating in the web hosting market and chose them.

  • Find Out Why Your Toshiba Laptop Won't Charge The Battery (Lee Matthews)
    Many people have the problem where their Toshiba laptop won't charge the battery. This problem is not exclusive to Toshiba laptops, and most of the common reasons and solutions apply to all laptop brands. This article will help you find the reason ...

  • Andres Del Rio: Discoverer Of Vanadium (Robert Nickel)
    When it comes to the periodic table of the elements, there are some that humans come into contact with more than others in everyday life. Anemic individuals must increase their iron intake, for example and calcium is a vital part of healthy bone growth. ...a great deal of alloys are involved in the construction of your car. ...but there's one metal which drastically increases the strength of steel and titanium: it's called vanadium

We Automatically Distribute Articles
To Thousands Of Publishers And Web Sites:

Submit Article
All content is viewed and used by you at your own risk and we do not warrant the accuracy or reliability of any of the information. The views expressed are those of the individual contributing authors and not necessarily those of this web site, or its owner, Takanomi Limited.
 
Copyright © 2012 Takanomi Ltd. Company no. 5629683. All rights reserved. | Privacy | Legal | Contact Information