Sun 23 Sep 2007
I have had several requests for "router basics". This tutorial will show you how to translate your internal network into a single public ip address. Translating several internal or private addresses is called port address translation or PAT.
"PAT, or overloading, is a feature of Cisco IOS NAT and can be used to translate "internal" (inside local) private addresses to one or more "outside" (inside global, usually registered) IP addresses. Unique source port numbers on each translation are used to distinguish between the conversations. With NAT overload, a translation table entry containing full address and source port information is created." - Cisco.com
Here are the basics of PAT configuration
router#config t
router(config)#int f0/0
router(config-if)#ip nat inside
router(config-if)#int f1/0
router(config-if)#ip nat outside
router(config-if)#exit
router(config)#access-list 10 permit 10.100.100.0 0.0.0.255
router(config)#ip nat inside source list 10 interface f1/0 overload
router(config)#end
router#wr




(9 votes, average: 3.78 out of 5)







October 27th, 2007 at 7:56 pm
[...] How to configure nat overload (pat) [...]
April 24th, 2008 at 1:25 am
how to download the tutorial
April 24th, 2008 at 12:20 pm
I didn’t make this one downloadable. Not for a particular reason … just forgot. I will try to post it soon.
June 30th, 2008 at 4:48 am
it’s naice explain and easy to understand
July 4th, 2008 at 9:38 pm
Straight to the point…thank you sir..
July 11th, 2008 at 2:31 pm
Thank you for a great post. Would you mind posting a tutorial on Cisco Nat on a stick? I have a 2600 router with one ethernet interface and i’m trying to use it to get my home network online using cisco gear, but I can’t find anything as well documented and explained using actual video like you do. I, and surely a lot of us out here will really appreciate it if you do.
Thanks,
George
July 13th, 2008 at 1:39 am
@George,
I have never tried nat on a stick. Can you explain a little more? Is the router connected to a switch and using vlans to separate inside from outside?
Josh
July 13th, 2008 at 10:27 am
Hi Josh,
Thanks for replying. From what i’ve gathered, nat on a stick involves the use of a router with a single physical ethernet interface and utilizes a virtual loopback interface to make up for the lack of another physical ethernet interface. The router is connected to a hub, as is the host PC or switch that connects host PCs. I have also heard of your description using a switch to connect to the single physical interface using VLANs to nat the inside to the outside, but I am even more confused about this process as far as how to configure nat for it to work. Maybe this is another post you can/should provide. I’m sure there are a lot of Cisco newbies like nyself with routers with single ethernet interfaces that would just LOVE TO HAVE access to configs like these to get online using their gear.
Thanks again Josh,
George
August 25th, 2008 at 1:12 pm
Hi Josh,
I return to this page quite regularly to see if you found the time, or even the inclination to post something on the NAT/PAT on a stick we discussed some time ago. Josh, please, post a demo of this type of config?
August 31st, 2008 at 12:59 am
George,
I honestly do not have time to do a tutorial on the nat/pat on a stick.
You might try these links:
http://www.cisco.com/en/US/tech/tk648/tk361/technologies_tech_note09186a0080094430.shtml
http://shzandi.blogspot.com/2008/07/ccie-lab-nat-on-stick.html
http://blog.internetworkexpert.com/2008/07/15/a-curious-nat-scenario/
Josh
September 12th, 2008 at 2:34 pm
Josh,
I completely understand, I can only imagine how busy you must be with request such as mine on this site, it was worth a shot.
Thanks for the links though, that was really considerate of you, those were really very helpful.
Best regards,
george