Dynamic NAT

Dynamic NAT

Dynamic NAT is a technique in which multiple public Internet Protocol (IP) addresses are mapped and used with an internal or private IP address.Dynamic NAT translates a group of real addresses to a pool of mapped addresses that are routable on the destination network.

With dynamic NAT, you specify two sets of addresses on your Cisco router:
1. inside addresses that will be translated
2. a pool of global addresses
Unlike with static NAT, where you had to manually define a static mapping between a private and a public address, with dynamic NAT the mapping of a local address to a global address happens dynamically. This means that the router dynamically picks an address from the global address pool that is not currently assigned. It can be any address from the pool of global addresses. The dynamic entry stays in the NAT translations table as long as the traffic is exchanged. The entry times out after a period of inactivity and the global IP address can be used for new translations.
Lab Configuration Of Dynamic NAT

Router>en

Router#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#int se 0/0/0

Router(config-if)#ip address 110.32.0.1 255.224.0.0

Router(config-if)#no sh

Router(config-if)#exit

Router(config)#int fa 0/0

Router(config-if)#ip add 192.168.1.1 255.255.255.0

Router(config-if)#no sh

Applying DHCP

Router(config-if)#ip dhcp pool sachtech

Router(dhcp-config)#network 192.168.1.0 255.255.255.0

Router(dhcp-config)#default-router 192.168.1.1

Router(dhcp-config)#dns-server 8.8.8.8

Applying EIGRP

 

Router(config-router)#router eigrp 10

Router(config-router)#network 110.32.0.0 0.31.255.255

Router(config-router)#network 192.168.1.0 0.0.0.255

now after doing using protocol lets check our connectivity

 

the message are being passing, now lets how the another network understand the network address

Router#debug ip icmp

ICMP packet debugging is on

by using this command we can check the source ip address from where packets are coming

 

lets implement dynamic NAT now and see the result

Router(config)#ip access-list standard 10

Router(config-std-nacl)#permit any

Router(config-std-nacl)#exit

 

Router(config)#ip nat pool test 110.32.0.10 110.32.0.20 netmask 255.224.0.0

Router(config)#ip nat inside source list 10 pool test

Router(config)#int se 0/0/0

Router(config-if)#ip nat outside

Router(config-if)#int fa 0/0

Router(config-if)#ip nat inside

now lets check the result
all the local area pc ip get converted into public ip

57 thoughts on “Dynamic NAT

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. When I initially commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get four emails with the same comment. Is there any way you can remove people from that service? Many thanks!

  2. Great beat ! I wish to apprentice while you amend your website, how can i subscribe for a blog web site? The account helped me a acceptable deal. I had been a little bit acquainted of this your broadcast offered bright clear concept

  3. Definitely believe that which you stated. Your favorite justification seemed to be on the internet the simplest thing to be aware of. I say to you, I certainly get annoyed while people think about worries that they plainly do not know about. You managed to hit the nail upon the top and also defined out the whole thing without having side effect , people could take a signal. Will likely be back to get more. Thanks

  4. It is the best time to make some plans for the future and it’s time to be happy. I’ve read this post and if I could I want to suggest you some interesting things or advice. Perhaps you can write next articles referring to this article. I wish to read even more things about it!

  5. Whats Going down i am new to this, I stumbled upon this I have found It positively helpful and it has aided me out loads. I hope to contribute & assist other customers like its helped me. Great job.

  6. Hello there! I know this is somewhat off topic but I was wondering if you knew where I could get a captcha plugin for my comment form? I’m using the same blog platform as yours and I’m having trouble finding one? Thanks a lot!

  7. I simply want to say I am just very new to blogging and site-building and absolutely savored this web-site. Probably I’m going to bookmark your blog . You definitely come with superb article content. Thanks for sharing your website page.

  8. I have not checked in here for a while since I thought it was getting boring, but the last several posts are really good quality so I guess I will add you back to my everyday bloglist. You deserve it my friend.

  9. Hello there, just became aware of your blog through Google, and found that it’s truly informative. I’m gonna watch out for brussels. I’ll be grateful if you continue this in future. Numerous people will be benefited from your writing. Cheers!

  10. I am curious to find out what blog platform you have been working with? I’m experiencing some minor security problems with my latest site and I’d like to find something more safeguarded. Do you have any suggestions?

  11. Its like you read my mind! You appear to know so much about this, like you wrote the book in it or something. I think that you can do with some pics to drive the message home a little bit, but other than that, this is excellent blog. A great read. I will certainly be back.

  12. There are some attention-grabbing cut-off dates in this article however I don’t know if I see all of them middle to heart. There may be some validity however I will take maintain opinion till I look into it further. Good article , thanks and we would like more! Added to FeedBurner as effectively

  13. I’m really enjoying the design and layout of your website. It’s a very easy on the eyes which makes it much more pleasant for me to come here and visit more often. Did you hire out a developer to create your theme? Outstanding work!

  14. I am curious to find out what blog system you’re utilizing? I’m having some minor security issues with my latest website and I’d like to find something more secure. Do you have any suggestions?

  15. I loved as much as you will receive carried out right here. The sketch is attractive, your authored subject matter stylish. nonetheless, you command get got an impatience over that you wish be delivering the following. unwell unquestionably come more formerly again since exactly the same nearly a lot often inside case you shield this hike.

  16. I wanted to compose you this tiny word so as to give thanks the moment again for your magnificent knowledge you have featured on this page. It has been really particularly open-handed with you to convey unreservedly all a lot of folks could have marketed for an ebook to end up making some dough for their own end, chiefly considering the fact that you could have tried it if you ever decided. Those smart ideas also worked like the good way to be sure that someone else have the identical passion just as my own to figure out somewhat more with respect to this condition. I am certain there are many more enjoyable situations up front for individuals that looked over your site.

Please wait...

Subscribe to our newsletter

Want to be notified when our article is published? Enter your email address and name below to be the first to know.